#62219E#62219E
#62219E is a dark, vivid violet. Relative luminance 0.062; OKLCH L 41.8% C 0.187 H 302.3°. Best body text is #FFFFFF at 9.41:1 contrast (WCAG AA passes).
Color values
| HEX | #62219E |
|---|---|
| RGB | rgb(98, 33, 158) |
| HSL | hsl(271, 65%, 37%) |
| HSV | hsv(271, 79%, 62%) |
| CMYK | cmyk(38%, 79.1%, 0%, 38%) |
| CIE-LAB | lab(29.80, 51.69, -55.26) |
| CIE-LCH | lch(29.80, 75.67, 313.09°) |
| OKLab | oklab(41.83% 0.0997 -0.1577) |
| OKLCH | oklch(41.83% 0.187 302.3) |
| XYZ | xyz(11.7509, 6.1530, 32.9097) |
| Luminance | 0.0615 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 3.77
Purple (survey)
#7E1E9C
ΔE00 5.46
Violet Blue
#510AC9
ΔE00 6.72
Indigo Blue
#3A18B1
ΔE00 6.81
Indigo
#4B0082
ΔE00 6.87
Purple Blue
#5D21D0
ΔE00 7.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#62219E #5D9E21
analogous
#24219E #62219E #9E219C
triadic
#62219E #9E6221 #219E62
tetradic
#62219E #9E2421 #5D9E21 #219C9E
square
#62219E #9E2421 #5D9E21 #219C9E
split-complementary
#62219E #9C9E21 #219E24
monochromatic
#230C39 #43166B #62219E #812CD1 #9F5CDD
Accessibility & contrast
On white
9.41
#62219E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.23
#62219E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #62219E
9.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##62219E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##62219E | 1.00 | 9.41 | 2.23 | 9.41 |
| #FFFFFF | 9.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0045A1
Deuteranopia (green-blind)
#00469C
Tritanopia (blue-blind)
#55425F
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #62219e; /* rgb */ color: rgb(98, 33, 158); /* oklch */ color: oklch(41.8% 0.187 302.3);
Tailwind
colors: {
custom: {
50: '#9564bc',
500: '#62219e',
950: '#000000',
},
}SCSS
$custom: #62219e; $custom-light: #9564bc; $custom-dark: #000000;
JSON
{
"hex": "#62219e",
"rgb": {
"r": 98,
"g": 33,
"b": 158
},
"hsl": {
"h": 271.2,
"s": 65.445,
"l": 37.451
},
"oklch": {
"l": 0.4183,
"c": 0.1866,
"h": 302.3
},
"luminance": 0.06153
}Semantic roles & 50–950 ramp
primary
#62219E
secondary
#8BC159
accent
#E83F91
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0612
muted
#7E7A81