#62129F#62129F
#62129F is a dark, vivid violet. Relative luminance 0.055; OKLCH L 40.8% C 0.200 H 303.3°. Best body text is #FFFFFF at 9.97:1 contrast (WCAG AA passes).
Color values
| HEX | #62129F |
|---|---|
| RGB | rgb(98, 18, 159) |
| HSL | hsl(274, 80%, 35%) |
| HSV | hsv(274, 89%, 62%) |
| CMYK | cmyk(38.4%, 88.7%, 0%, 37.6%) |
| CIE-LAB | lab(28.20, 56.85, -58.48) |
| CIE-LCH | lch(28.20, 81.56, 314.19°) |
| OKLab | oklab(40.75% 0.1096 -0.1671) |
| OKLCH | oklch(40.75% 0.2 303.3) |
| XYZ | xyz(11.5098, 5.5325, 33.2557) |
| Luminance | 0.0553 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Rebeccapurple
#663399
ΔE00 5.60
Indigo
#4B0082
ΔE00 5.83
Purple (survey)
#7E1E9C
ΔE00 5.95
Violet Blue
#510AC9
ΔE00 6.27
Indigo Blue
#3A18B1
ΔE00 6.45
Purple Blue
#5D21D0
ΔE00 7.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#62129F #4F9F12
analogous
#1C129F #62129F #9F1295
triadic
#62129F #9F6212 #129F62
tetradic
#62129F #9F1C12 #4F9F12 #12959F
square
#62129F #9F1C12 #4F9F12 #12959F
split-complementary
#62129F #959F12 #129F1C
monochromatic
#1E0631 #400C68 #62129F #8418D6 #A142EA
Accessibility & contrast
On white
9.97
#62129F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.11
#62129F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #62129F
9.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##62129F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##62129F | 1.00 | 9.97 | 2.11 | 9.97 |
| #FFFFFF | 9.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0041A3
Deuteranopia (green-blind)
#00429C
Tritanopia (blue-blind)
#553D5D
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #62129f; /* rgb */ color: rgb(98, 18, 159); /* oklch */ color: oklch(40.8% 0.200 303.3);
Tailwind
colors: {
custom: {
50: '#955fbc',
500: '#62129f',
950: '#000000',
},
}SCSS
$custom: #62129f; $custom-light: #955fbc; $custom-dark: #000000;
JSON
{
"hex": "#62129f",
"rgb": {
"r": 98,
"g": 18,
"b": 159
},
"hsl": {
"h": 274.043,
"s": 79.661,
"l": 34.706
},
"oklch": {
"l": 0.40753,
"c": 0.19981,
"h": 303.3
},
"luminance": 0.05532
}Semantic roles & 50–950 ramp
primary
#62129F
secondary
#7DCA43
accent
#F63287
background
#F9F5FB
surface
#F2EAF7
border
#CCC6D0
text
#0E0512
muted
#7E7981