#421A8D#421A8D
#421A8D is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.7% C 0.172 H 290.6°. Best body text is #FFFFFF at 11.90:1 contrast (WCAG AA passes).
Color values
| HEX | #421A8D |
|---|---|
| RGB | rgb(66, 26, 141) |
| HSL | hsl(261, 69%, 33%) |
| HSV | hsv(261, 82%, 55%) |
| CMYK | cmyk(53.2%, 81.6%, 0%, 44.7%) |
| CIE-LAB | lab(23.07, 45.33, -55.99) |
| CIE-LCH | lch(23.07, 72.04, 308.99°) |
| OKLab | oklab(35.75% 0.0606 -0.1609) |
| OKLCH | oklch(35.75% 0.172 290.6) |
| XYZ | xyz(7.4225, 3.8198, 25.5403) |
| Luminance | 0.0382 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo (survey)
#380282
ΔE00 3.84
Indigo
#4B0082
ΔE00 4.02
Indigo Blue
#3A18B1
ΔE00 5.18
Royal
#0C1793
ΔE00 5.53
Cobalt Blue
#030AA7
ΔE00 6.31
Ultramarine
#2000B1
ΔE00 6.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#421A8D #658D1A
analogous
#1A2B8D #421A8D #7C1A8D
triadic
#421A8D #8D421A #1A8D42
tetradic
#421A8D #8D1A2B #658D1A #1A8D7C
square
#421A8D #8D1A2B #658D1A #1A8D7C
split-complementary
#421A8D #8D7C1A #2B8D1A
monochromatic
#120726 #2A1059 #421A8D #5A24C1 #7A45DD
Accessibility & contrast
On white
11.90
#421A8D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.76
#421A8D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #421A8D
11.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##421A8D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##421A8D | 1.00 | 11.90 | 1.76 | 11.90 |
| #FFFFFF | 11.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003990
Deuteranopia (green-blind)
#00348B
Tritanopia (blue-blind)
#273C54
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #421a8d; /* rgb */ color: rgb(66, 26, 141); /* oklch */ color: oklch(35.7% 0.172 290.6);
Tailwind
colors: {
custom: {
50: '#7f5caf',
500: '#421a8d',
950: '#000000',
},
}SCSS
$custom: #421a8d; $custom-light: #7f5caf; $custom-dark: #000000;
JSON
{
"hex": "#421a8d",
"rgb": {
"r": 66,
"g": 26,
"b": 141
},
"hsl": {
"h": 260.87,
"s": 68.862,
"l": 32.745
},
"oklch": {
"l": 0.35747,
"c": 0.17199,
"h": 290.6
},
"luminance": 0.0382
}Semantic roles & 50–950 ramp
primary
#421A8D
secondary
#94BE45
accent
#EC3CAF
background
#F8F5FA
surface
#EFE9F5
border
#CAC5CF
text
#0B0411
muted
#7C7980