#42208F#42208F
#42208F is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.6% C 0.168 H 289.2°. Best body text is #FFFFFF at 11.45:1 contrast (WCAG AA passes).
Color values
| HEX | #42208F |
|---|---|
| RGB | rgb(66, 32, 143) |
| HSL | hsl(258, 63%, 34%) |
| HSV | hsv(258, 78%, 56%) |
| CMYK | cmyk(53.8%, 77.6%, 0%, 43.9%) |
| CIE-LAB | lab(24.24, 43.09, -55.30) |
| CIE-LCH | lch(24.24, 70.11, 307.92°) |
| OKLab | oklab(36.63% 0.0555 -0.159) |
| OKLCH | oklch(36.63% 0.168 289.2) |
| XYZ | xyz(7.7198, 4.1741, 26.3802) |
| Luminance | 0.0417 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 4.95
Indigo Blue
#3A18B1
ΔE00 5.01
Indigo
#4B0082
ΔE00 5.10
Royal
#0C1793
ΔE00 5.62
Cobalt Blue
#030AA7
ΔE00 6.59
Ultramarine
#2000B1
ΔE00 6.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#42208F #6D8F20
analogous
#20368F #42208F #7A208F
triadic
#42208F #8F4220 #208F42
tetradic
#42208F #8F2036 #6D8F20 #208F7A
square
#42208F #8F2036 #6D8F20 #208F7A
split-complementary
#42208F #8F7A20 #368F20
monochromatic
#140A2B #2B155D #42208F #592BC1 #7B51D8
Accessibility & contrast
On white
11.45
#42208F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.83
#42208F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #42208F
11.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##42208F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##42208F | 1.00 | 11.45 | 1.83 | 11.45 |
| #FFFFFF | 11.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003C92
Deuteranopia (green-blind)
#00378D
Tritanopia (blue-blind)
#253F56
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #42208f; /* rgb */ color: rgb(66, 32, 143); /* oklch */ color: oklch(36.6% 0.168 289.2);
Tailwind
colors: {
custom: {
50: '#7f60b1',
500: '#42208f',
950: '#000000',
},
}SCSS
$custom: #42208f; $custom-light: #7f60b1; $custom-dark: #000000;
JSON
{
"hex": "#42208f",
"rgb": {
"r": 66,
"g": 32,
"b": 143
},
"hsl": {
"h": 258.378,
"s": 63.429,
"l": 34.314
},
"oklch": {
"l": 0.36625,
"c": 0.1684,
"h": 289.2
},
"luminance": 0.04174
}Semantic roles & 50–950 ramp
primary
#42208F
secondary
#9ABB4F
accent
#E641B4
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980