#421B9F#421B9F
#421B9F is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.7% C 0.191 H 286.3°. Best body text is #FFFFFF at 11.12:1 contrast (WCAG AA passes).
Color values
| HEX | #421B9F |
|---|---|
| RGB | rgb(66, 27, 159) |
| HSL | hsl(258, 71%, 36%) |
| HSV | hsv(258, 83%, 62%) |
| CMYK | cmyk(58.5%, 83%, 0%, 37.6%) |
| CIE-LAB | lab(25.09, 49.89, -63.75) |
| CIE-LCH | lch(25.09, 80.95, 308.05°) |
| OKLab | oklab(37.71% 0.0537 -0.1836) |
| OKLCH | oklch(37.71% 0.191 286.3) |
| XYZ | xyz(8.8948, 4.4448, 33.1834) |
| Luminance | 0.0445 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 2.59
Ultramarine
#2000B1
ΔE00 4.67
Cobalt Blue
#030AA7
ΔE00 5.19
Royal Blue (survey)
#0504AA
ΔE00 5.33
Royal
#0C1793
ΔE00 5.45
Indigo (survey)
#380282
ΔE00 5.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#421B9F #789F1B
analogous
#1B369F #421B9F #841B9F
triadic
#421B9F #9F421B #1B9F42
tetradic
#421B9F #9F1B36 #789F1B #1B9F84
square
#421B9F #9F1B36 #789F1B #1B9F84
split-complementary
#421B9F #9F841B #369F1B
monochromatic
#170936 #2C126B #421B9F #5824D3 #7D53E2
Accessibility & contrast
On white
11.12
#421B9F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.89
#421B9F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #421B9F
11.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##421B9F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##421B9F | 1.00 | 11.12 | 1.89 | 11.12 |
| #FFFFFF | 11.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003FA3
Deuteranopia (green-blind)
#00389D
Tritanopia (blue-blind)
#11445F
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #421b9f; /* rgb */ color: rgb(66, 27, 159); /* oklch */ color: oklch(37.7% 0.191 286.3);
Tailwind
colors: {
custom: {
50: '#825ebd',
500: '#421b9f',
950: '#000000',
},
}SCSS
$custom: #421b9f; $custom-light: #825ebd; $custom-dark: #000000;
JSON
{
"hex": "#421b9f",
"rgb": {
"r": 66,
"g": 27,
"b": 159
},
"hsl": {
"h": 257.727,
"s": 70.968,
"l": 36.471
},
"oklch": {
"l": 0.37708,
"c": 0.19131,
"h": 286.3
},
"luminance": 0.04445
}Semantic roles & 50–950 ramp
primary
#421B9F
secondary
#A2C551
accent
#EE3AB9
background
#F8F5FB
surface
#F0E9F7
border
#CBC5D0
text
#0C0512
muted
#7D7981