#62249E#62249E
#62249E is a dark, vivid violet. Relative luminance 0.063; OKLCH L 42.1% C 0.184 H 301.9°. Best body text is #FFFFFF at 9.27:1 contrast (WCAG AA passes).
Color values
| HEX | #62249E |
|---|---|
| RGB | rgb(98, 36, 158) |
| HSL | hsl(270, 63%, 38%) |
| HSV | hsv(270, 77%, 62%) |
| CMYK | cmyk(38%, 77.2%, 0%, 38%) |
| CIE-LAB | lab(30.22, 50.46, -54.56) |
| CIE-LCH | lch(30.22, 74.32, 312.76°) |
| OKLab | oklab(42.13% 0.0971 -0.1557) |
| OKLCH | oklch(42.13% 0.184 301.9) |
| XYZ | xyz(11.8379, 6.3270, 32.9387) |
| Luminance | 0.0633 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 3.32
Purple (survey)
#7E1E9C
ΔE00 5.45
Violet Blue
#510AC9
ΔE00 6.88
Indigo Blue
#3A18B1
ΔE00 6.96
Purple Blue
#5D21D0
ΔE00 7.04
Indigo
#4B0082
ΔE00 7.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#62249E #609E24
analogous
#25249E #62249E #9E249D
triadic
#62249E #9E6224 #249E62
tetradic
#62249E #9E2524 #609E24 #249D9E
square
#62249E #9E2524 #609E24 #249D9E
split-complementary
#62249E #9D9E24 #249E25
monochromatic
#240D3A #43196C #62249E #812FD0 #9F61DB
Accessibility & contrast
On white
9.27
#62249E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.27
#62249E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #62249E
9.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##62249E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##62249E | 1.00 | 9.27 | 2.27 | 9.27 |
| #FFFFFF | 9.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0046A1
Deuteranopia (green-blind)
#00479C
Tritanopia (blue-blind)
#554460
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #62249e; /* rgb */ color: rgb(98, 36, 158); /* oklch */ color: oklch(42.1% 0.184 301.9);
Tailwind
colors: {
custom: {
50: '#9466bc',
500: '#62249e',
950: '#000000',
},
}SCSS
$custom: #62249e; $custom-light: #9466bc; $custom-dark: #000000;
JSON
{
"hex": "#62249e",
"rgb": {
"r": 98,
"g": 36,
"b": 158
},
"hsl": {
"h": 270.492,
"s": 62.887,
"l": 38.039
},
"oklch": {
"l": 0.42129,
"c": 0.18351,
"h": 301.9
},
"luminance": 0.06327
}Semantic roles & 50–950 ramp
primary
#62249E
secondary
#8EC05E
accent
#E64293
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0612
muted
#7E7A81