#421C9D#421C9D
#421C9D is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.6% C 0.188 H 286.6°. Best body text is #FFFFFF at 11.14:1 contrast (WCAG AA passes).
Color values
| HEX | #421C9D |
|---|---|
| RGB | rgb(66, 28, 157) |
| HSL | hsl(258, 70%, 36%) |
| HSV | hsv(258, 82%, 62%) |
| CMYK | cmyk(58%, 82.2%, 0%, 38.4%) |
| CIE-LAB | lab(25.02, 48.91, -62.64) |
| CIE-LCH | lch(25.02, 79.47, 307.99°) |
| OKLab | oklab(37.6% 0.0539 -0.1804) |
| OKLCH | oklch(37.6% 0.188 286.6) |
| XYZ | xyz(8.7460, 4.4226, 32.2845) |
| Luminance | 0.0442 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 2.87
Ultramarine
#2000B1
ΔE00 4.90
Cobalt Blue
#030AA7
ΔE00 5.33
Royal
#0C1793
ΔE00 5.40
Indigo (survey)
#380282
ΔE00 5.48
Royal Blue (survey)
#0504AA
ΔE00 5.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#421C9D #779D1C
analogous
#1C379D #421C9D #831C9D
triadic
#421C9D #9D421C #1C9D42
tetradic
#421C9D #9D1C37 #779D1C #1C9D83
square
#421C9D #9D1C37 #779D1C #1C9D83
split-complementary
#421C9D #9D831C #379D1C
monochromatic
#160935 #2C1369 #421C9D #5825D1 #7D53E0
Accessibility & contrast
On white
11.14
#421C9D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.88
#421C9D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #421C9D
11.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##421C9D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##421C9D | 1.00 | 11.14 | 1.88 | 11.14 |
| #FFFFFF | 11.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003EA0
Deuteranopia (green-blind)
#00389B
Tritanopia (blue-blind)
#14435E
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #421c9d; /* rgb */ color: rgb(66, 28, 157); /* oklch */ color: oklch(37.6% 0.188 286.6);
Tailwind
colors: {
custom: {
50: '#825ebb',
500: '#421c9d',
950: '#000000',
},
}SCSS
$custom: #421c9d; $custom-light: #825ebb; $custom-dark: #000000;
JSON
{
"hex": "#421c9d",
"rgb": {
"r": 66,
"g": 28,
"b": 157
},
"hsl": {
"h": 257.674,
"s": 69.73,
"l": 36.275
},
"oklch": {
"l": 0.37597,
"c": 0.18826,
"h": 286.6
},
"luminance": 0.04423
}Semantic roles & 50–950 ramp
primary
#421C9D
secondary
#A2C351
accent
#ED3BB8
background
#F8F5FB
surface
#F0E9F6
border
#CBC5D0
text
#0C0512
muted
#7D7981