#421F9C#421F9C
#421F9C is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.8% C 0.184 H 286.5°. Best body text is #FFFFFF at 11.01:1 contrast (WCAG AA passes).
Color values
| HEX | #421F9C |
|---|---|
| RGB | rgb(66, 31, 156) |
| HSL | hsl(257, 67%, 37%) |
| HSV | hsv(257, 80%, 61%) |
| CMYK | cmyk(57.7%, 80.1%, 0%, 38.8%) |
| CIE-LAB | lab(25.38, 47.30, -61.44) |
| CIE-LCH | lch(25.38, 77.54, 307.59°) |
| OKLab | oklab(37.81% 0.0523 -0.1769) |
| OKLCH | oklch(37.81% 0.185 286.5) |
| XYZ | xyz(8.7357, 4.5380, 31.8617) |
| Luminance | 0.0454 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.10
Ultramarine
#2000B1
ΔE00 5.30
Royal
#0C1793
ΔE00 5.48
Cobalt Blue
#030AA7
ΔE00 5.62
Indigo (survey)
#380282
ΔE00 5.77
Royal Blue (survey)
#0504AA
ΔE00 5.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#421F9C #799C1F
analogous
#1F3B9C #421F9C #811F9C
triadic
#421F9C #9C421F #1F9C42
tetradic
#421F9C #9C1F3B #799C1F #1F9C81
square
#421F9C #9C1F3B #799C1F #1F9C81
split-complementary
#421F9C #9C811F #3B9C1F
monochromatic
#170B36 #2C1569 #421F9C #5829CF #7D58DE
Accessibility & contrast
On white
11.01
#421F9C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.91
#421F9C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #421F9C
11.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##421F9C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##421F9C | 1.00 | 11.01 | 1.91 | 11.01 |
| #FFFFFF | 11.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003F9F
Deuteranopia (green-blind)
#00399A
Tritanopia (blue-blind)
#16445E
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #421f9c; /* rgb */ color: rgb(66, 31, 156); /* oklch */ color: oklch(37.8% 0.184 286.5);
Tailwind
colors: {
custom: {
50: '#8260ba',
500: '#421f9c',
950: '#000000',
},
}SCSS
$custom: #421f9c; $custom-light: #8260ba; $custom-dark: #000000;
JSON
{
"hex": "#421f9c",
"rgb": {
"r": 66,
"g": 31,
"b": 156
},
"hsl": {
"h": 256.8,
"s": 66.845,
"l": 36.667
},
"oklch": {
"l": 0.37811,
"c": 0.1845,
"h": 286.5
},
"luminance": 0.04539
}Semantic roles & 50–950 ramp
primary
#421F9C
secondary
#A3C155
accent
#EA3EBA
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0512
muted
#7D7981