#412CA2#412CA2
#412CA2 is a dark, vivid violet. Relative luminance 0.055; OKLCH L 40.0% C 0.179 H 282.9°. Best body text is #FFFFFF at 9.97:1 contrast (WCAG AA passes).
Color values
| HEX | #412CA2 |
|---|---|
| RGB | rgb(65, 44, 162) |
| HSL | hsl(251, 57%, 40%) |
| HSV | hsv(251, 73%, 64%) |
| CMYK | cmyk(59.9%, 72.8%, 0%, 36.5%) |
| CIE-LAB | lab(28.20, 42.32, -60.45) |
| CIE-LCH | lch(28.20, 73.79, 305.00°) |
| OKLab | oklab(39.95% 0.0398 -0.1742) |
| OKLCH | oklch(39.95% 0.179 282.9) |
| XYZ | xyz(9.6002, 5.5332, 34.7375) |
| Luminance | 0.0553 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.17
Sapphire (survey)
#2138AB
ΔE00 5.48
Ocean Blue
#4F42B5
ΔE00 6.32
Blueberry
#464196
ΔE00 6.39
Darkslateblue
#483D8B
ΔE00 6.51
Violet Blue
#510AC9
ΔE00 6.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#412CA2 #8DA22C
analogous
#2C52A2 #412CA2 #7C2CA2
triadic
#412CA2 #A2412C #2CA241
tetradic
#412CA2 #A22C52 #8DA22C #2CA27C
square
#412CA2 #A22C52 #8DA22C #2CA27C
split-complementary
#412CA2 #A27C2C #52A22C
monochromatic
#1A1242 #2E1F72 #412CA2 #5940CB #8370D8
Accessibility & contrast
On white
9.97
#412CA2 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.11
#412CA2 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #412CA2
9.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##412CA2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##412CA2 | 1.00 | 9.97 | 2.11 | 9.97 |
| #FFFFFF | 9.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0046A5
Deuteranopia (green-blind)
#003EA0
Tritanopia (blue-blind)
#004C64
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #412ca2; /* rgb */ color: rgb(65, 44, 162); /* oklch */ color: oklch(40.0% 0.179 282.9);
Tailwind
colors: {
custom: {
50: '#8167bf',
500: '#412ca2',
950: '#000000',
},
}SCSS
$custom: #412ca2; $custom-light: #8167bf; $custom-dark: #000000;
JSON
{
"hex": "#412ca2",
"rgb": {
"r": 65,
"g": 44,
"b": 162
},
"hsl": {
"h": 250.678,
"s": 57.282,
"l": 40.392
},
"oklch": {
"l": 0.39953,
"c": 0.17865,
"h": 282.9
},
"luminance": 0.05534
}Semantic roles & 50–950 ramp
primary
#412CA2
secondary
#B0BF6A
accent
#E147C5
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0B0612
muted
#7C7A81