#421F94#421F94
#421F94 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.0% C 0.175 H 288.2°. Best body text is #FFFFFF at 11.32:1 contrast (WCAG AA passes).
Color values
| HEX | #421F94 |
|---|---|
| RGB | rgb(66, 31, 148) |
| HSL | hsl(258, 65%, 35%) |
| HSV | hsv(258, 79%, 58%) |
| CMYK | cmyk(55.4%, 79.1%, 0%, 42%) |
| CIE-LAB | lab(24.56, 45.01, -57.87) |
| CIE-LCH | lch(24.56, 73.31, 307.88°) |
| OKLab | oklab(37% 0.0548 -0.1665) |
| OKLCH | oklch(37% 0.175 288.2) |
| XYZ | xyz(8.0805, 4.2759, 28.4108) |
| Luminance | 0.0428 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.22
Indigo (survey)
#380282
ΔE00 5.08
Indigo
#4B0082
ΔE00 5.30
Royal
#0C1793
ΔE00 5.44
Ultramarine
#2000B1
ΔE00 5.99
Cobalt Blue
#030AA7
ΔE00 6.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#421F94 #71941F
analogous
#1F3694 #421F94 #7D1F94
triadic
#421F94 #94421F #1F9442
tetradic
#421F94 #941F36 #71941F #1F947D
square
#421F94 #941F36 #71941F #1F947D
split-complementary
#421F94 #947D1F #36941F
monochromatic
#150A2F #2B1461 #421F94 #592AC7 #7B53DB
Accessibility & contrast
On white
11.32
#421F94 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.86
#421F94 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #421F94
11.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##421F94 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##421F94 | 1.00 | 11.32 | 1.86 | 11.32 |
| #FFFFFF | 11.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003D97
Deuteranopia (green-blind)
#003792
Tritanopia (blue-blind)
#204159
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #421f94; /* rgb */ color: rgb(66, 31, 148); /* oklch */ color: oklch(37.0% 0.175 288.2);
Tailwind
colors: {
custom: {
50: '#805fb5',
500: '#421f94',
950: '#000000',
},
}SCSS
$custom: #421f94; $custom-light: #805fb5; $custom-dark: #000000;
JSON
{
"hex": "#421f94",
"rgb": {
"r": 66,
"g": 31,
"b": 148
},
"hsl": {
"h": 257.949,
"s": 65.363,
"l": 35.098
},
"oklch": {
"l": 0.37001,
"c": 0.17526,
"h": 288.2
},
"luminance": 0.04276
}Semantic roles & 50–950 ramp
primary
#421F94
secondary
#9DBE51
accent
#E83FB6
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980