#62159E#62159E
#62159E is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.9% C 0.197 H 303.4°. Best body text is #FFFFFF at 9.90:1 contrast (WCAG AA passes).
Color values
| HEX | #62159E |
|---|---|
| RGB | rgb(98, 21, 158) |
| HSL | hsl(274, 77%, 35%) |
| HSV | hsv(274, 87%, 62%) |
| CMYK | cmyk(38%, 86.7%, 0%, 38%) |
| CIE-LAB | lab(28.38, 55.81, -57.57) |
| CIE-LCH | lch(28.38, 80.18, 314.11°) |
| OKLab | oklab(40.85% 0.1083 -0.1644) |
| OKLCH | oklch(40.85% 0.197 303.4) |
| XYZ | xyz(11.4753, 5.6016, 32.8178) |
| Luminance | 0.0560 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 5.29
Purple (survey)
#7E1E9C
ΔE00 5.80
Indigo
#4B0082
ΔE00 5.90
Violet Blue
#510AC9
ΔE00 6.43
Indigo Blue
#3A18B1
ΔE00 6.55
Purple Blue
#5D21D0
ΔE00 7.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#62159E #519E15
analogous
#1E159E #62159E #9E1595
triadic
#62159E #9E6215 #159E62
tetradic
#62159E #9E1E15 #519E15 #15959E
square
#62159E #9E1E15 #519E15 #15959E
split-complementary
#62159E #959E15 #159E1E
monochromatic
#1F0732 #400E68 #62159E #841CD4 #A147E7
Accessibility & contrast
On white
9.90
#62159E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.12
#62159E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #62159E
9.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##62159E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##62159E | 1.00 | 9.90 | 2.12 | 9.90 |
| #FFFFFF | 9.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0042A2
Deuteranopia (green-blind)
#00439C
Tritanopia (blue-blind)
#553E5D
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #62159e; /* rgb */ color: rgb(98, 21, 158); /* oklch */ color: oklch(40.9% 0.197 303.4);
Tailwind
colors: {
custom: {
50: '#9560bc',
500: '#62159e',
950: '#000000',
},
}SCSS
$custom: #62159e; $custom-light: #9560bc; $custom-dark: #000000;
JSON
{
"hex": "#62159e",
"rgb": {
"r": 98,
"g": 21,
"b": 158
},
"hsl": {
"h": 273.723,
"s": 76.536,
"l": 35.098
},
"oklch": {
"l": 0.40851,
"c": 0.19688,
"h": 303.4
},
"luminance": 0.05602
}Semantic roles & 50–950 ramp
primary
#62159E
secondary
#7FC747
accent
#F33588
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0512
muted
#7E7A81