#421B8F#421B8F
#421B8F is a dark, vivid violet. Relative luminance 0.039; OKLCH L 36.1% C 0.173 H 290.0°. Best body text is #FFFFFF at 11.76:1 contrast (WCAG AA passes).
Color values
| HEX | #421B8F |
|---|---|
| RGB | rgb(66, 27, 143) |
| HSL | hsl(260, 68%, 33%) |
| HSV | hsv(260, 81%, 56%) |
| CMYK | cmyk(53.8%, 81.1%, 0%, 43.9%) |
| CIE-LAB | lab(23.42, 45.44, -56.65) |
| CIE-LCH | lch(23.42, 72.62, 308.74°) |
| OKLab | oklab(36.06% 0.0593 -0.1629) |
| OKLCH | oklch(36.06% 0.173 290) |
| XYZ | xyz(7.5952, 3.9249, 26.3387) |
| Luminance | 0.0393 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 4.11
Indigo
#4B0082
ΔE00 4.31
Indigo Blue
#3A18B1
ΔE00 4.88
Royal
#0C1793
ΔE00 5.46
Ultramarine
#2000B1
ΔE00 6.16
Cobalt Blue
#030AA7
ΔE00 6.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#421B8F #688F1B
analogous
#1B2E8F #421B8F #7C1B8F
triadic
#421B8F #8F421B #1B8F42
tetradic
#421B8F #8F1B2E #688F1B #1B8F7C
square
#421B8F #8F1B2E #688F1B #1B8F7C
split-complementary
#421B8F #8F7C1B #2E8F1B
monochromatic
#120828 #2A115C #421B8F #5A25C2 #7A48DC
Accessibility & contrast
On white
11.76
#421B8F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.79
#421B8F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #421B8F
11.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##421B8F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##421B8F | 1.00 | 11.76 | 1.79 | 11.76 |
| #FFFFFF | 11.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003A92
Deuteranopia (green-blind)
#00358D
Tritanopia (blue-blind)
#253D55
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #421b8f; /* rgb */ color: rgb(66, 27, 143); /* oklch */ color: oklch(36.1% 0.173 290.0);
Tailwind
colors: {
custom: {
50: '#805db1',
500: '#421b8f',
950: '#000000',
},
}SCSS
$custom: #421b8f; $custom-light: #805db1; $custom-dark: #000000;
JSON
{
"hex": "#421b8f",
"rgb": {
"r": 66,
"g": 27,
"b": 143
},
"hsl": {
"h": 260.172,
"s": 68.235,
"l": 33.333
},
"oklch": {
"l": 0.36055,
"c": 0.17333,
"h": 290
},
"luminance": 0.03925
}Semantic roles & 50–950 ramp
primary
#421B8F
secondary
#96BE48
accent
#EB3DB0
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0411
muted
#7C7980