Nearest named color · #5A4D89
#5A4D89
Nearest named color: Freshly Purpleized
#5A4D89 (rgb(90 77 137), hsl(253 28% 42%), oklch(0.461 0.096 292.2)) is closest to the named color Freshly Purpleized. See tints, shades, harmonies, WCAG & APCA contrast, and CSS, Tailwind v4 & SCSS code.
#5A4D89
oklch(0.461 0.096 292.2)
Color conversions
- HEX
- #5a4d89
- RGB
- rgb(90 77 137)
- HSL
- hsl(253 28% 42%)
- HWB
- hwb(253 30% 46%)
- OKLCH
- oklch(0.461 0.096 292.2)
- OKLab
- oklab(0.461 0.036 -0.089)
- CIE Lab
- lab(36.2 16.73 -32)
- LCH
- lch(36.2 36.11 297.6)
- CMYK
- cmyk(34% 44% 0% 46%)
Tints · Shades · Tones
Tints
- 695E95
- 786FA1
- 8780AD
- 9891B8
- A8A3C4
- B9B5D0
- CAC7DC
- DBD9E7
- EDECF3
Shades
- 4D4276
- 413764
- 352C53
- 292242
- 1E1831
- 130F22
- 090714
- 030207
- 000001
Tones
- 5D5289
- 615888
- 655D87
- 686287
- 6C6786
- 706C85
- 747184
- 787683
- 7C7B81
Color harmonies
Complementary +180°
- 5A4D89
Freshly Purpleized
- 5A5D0E
≈ Greensboro
Analogous -30° +30°
- 5A4D89
Freshly Purpleized
- 3A578E
≈ Dark Cobalt Blue
- 714578
≈ Hyssop
Triadic +120° +240°
- 5A4D89
Freshly Purpleized
- 81471F
≈ Russet
- 006853
≈ Piney Lake
Split-complementary +150° +210°
- 5A4D89
Freshly Purpleized
- 725200
≈ Pickled Grape Leaves
- 366532
≈ Vegas Green
Tetradic +90° +180° +270°
- 5A4D89
Freshly Purpleized
- 86403F
≈ Aged Brandy
- 5A5D0E
≈ Greensboro
- 00656B
≈ Trouser Blue
Contrast & accessibility
Ag
AAAOn white
WCAG 7.34:1 · APCA Lc 85
Ag
FailOn black
WCAG 2.85:1 · APCA Lc 17
Best text color: #FFFFFF
WCAG 7.34:1 (AAA) · APCA Lc 85
Contrast pairs
Code snippets
CSS
:root {
--freshly-purpleized: #5a4d89;
--freshly-purpleized-rgb: 90 77 137;
--freshly-purpleized-oklch: oklch(0.461 0.096 292.2);
}
.element {
color: var(--freshly-purpleized);
background-color: hsl(253 28% 42%);
border-color: oklch(0.461 0.096 292.2);
}Tailwind CSS v4
@theme {
--color-freshly-purpleized: #5a4d89;
--color-freshly-purpleized-50: #f6f0ff;
--color-freshly-purpleized-100: #e9e2ff;
--color-freshly-purpleized-200: #d6cdfa;
--color-freshly-purpleized-300: #baaee4;
--color-freshly-purpleized-400: #9f94d3;
--color-freshly-purpleized-500: #887ac0;
--color-freshly-purpleized-600: #7367a2;
--color-freshly-purpleized-700: #5c5282;
--color-freshly-purpleized-800: #423c61;
--color-freshly-purpleized-900: #2e2944;
--color-freshly-purpleized-950: #1a172c;
}SCSS
$freshly-purpleized: #5a4d89;
$freshly-purpleized-rgb: 90, 77, 137;
$freshly-purpleized-light: mix(#fff, $freshly-purpleized, 20%);
$freshly-purpleized-dark: mix(#000, $freshly-purpleized, 20%);
.element {
color: $freshly-purpleized;
box-shadow: 0 0 0 2px rgba($freshly-purpleized, 0.35);
}