#421CE2#421CE2
#421CE2 is a mid, highly saturated violet. Relative luminance 0.075; OKLCH L 45.2% C 0.263 H 276.5°. Best body text is #FFFFFF at 8.41:1 contrast (WCAG AA passes).
Color values
| HEX | #421CE2 |
|---|---|
| RGB | rgb(66, 28, 226) |
| HSL | hsl(252, 78%, 50%) |
| HSV | hsv(252, 88%, 89%) |
| CMYK | cmyk(70.8%, 87.6%, 0%, 11.4%) |
| CIE-LAB | lab(32.87, 67.62, -90.40) |
| CIE-LCH | lch(32.87, 112.89, 306.80°) |
| OKLab | oklab(45.24% 0.0297 -0.2611) |
| OKLCH | oklch(45.24% 0.263 276.5) |
| XYZ | xyz(16.3850, 7.4782, 72.5167) |
| Luminance | 0.0748 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Strong Blue
#0C06F7
ΔE00 2.94
Rich Blue
#021BF9
ΔE00 2.95
Blue Violet
#5D06E9
ΔE00 2.98
Blue Purple
#5A06EF
ΔE00 2.99
Primary Blue
#0804F9
ΔE00 3.05
Purple Blue
#5D21D0
ΔE00 3.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#421CE2 #BCE21C
analogous
#1C59E2 #421CE2 #A51CE2
triadic
#421CE2 #E2421C #1CE242
tetradic
#421CE2 #E21C59 #BCE21C #1CE2A5
square
#421CE2 #E21C59 #BCE21C #1CE2A5
split-complementary
#421CE2 #E2A51C #59E21C
monochromatic
#220F75 #3215AC #421CE2 #6F52EA #9C88F0
Accessibility & contrast
On white
8.41
#421CE2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.50
#421CE2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #421CE2
8.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##421CE2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##421CE2 | 1.00 | 8.41 | 2.50 | 8.41 |
| #FFFFFF | 8.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0055E7
Deuteranopia (green-blind)
#0045DF
Tritanopia (blue-blind)
#006186
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #421ce2; /* rgb */ color: rgb(66, 28, 226); /* oklch */ color: oklch(45.2% 0.263 276.5);
Tailwind
colors: {
custom: {
50: '#8f64ed',
500: '#421ce2',
950: '#000000',
},
}SCSS
$custom: #421ce2; $custom-light: #8f64ed; $custom-dark: #000000;
JSON
{
"hex": "#421ce2",
"rgb": {
"r": 66,
"g": 28,
"b": 226
},
"hsl": {
"h": 251.515,
"s": 77.953,
"l": 49.804
},
"oklch": {
"l": 0.45236,
"c": 0.26275,
"h": 276.5
},
"luminance": 0.0748
}Semantic roles & 50–950 ramp
primary
#421CE2
secondary
#C9DA80
accent
#F433CF
background
#F9F6FE
surface
#F2EBFD
border
#CCC6D5
text
#0F0617
muted
#7E7A85