#412C9C#412C9C
#412C9C is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.4% C 0.171 H 283.9°. Best body text is #FFFFFF at 10.17:1 contrast (WCAG AA passes).
Color values
| HEX | #412C9C |
|---|---|
| RGB | rgb(65, 44, 156) |
| HSL | hsl(251, 56%, 39%) |
| HSV | hsv(251, 72%, 61%) |
| CMYK | cmyk(58.3%, 71.8%, 0%, 38.8%) |
| CIE-LAB | lab(27.64, 40.46, -57.72) |
| CIE-LCH | lch(27.64, 70.49, 305.03°) |
| OKLab | oklab(39.38% 0.041 -0.1662) |
| OKLCH | oklch(39.38% 0.171 283.9) |
| XYZ | xyz(9.0796, 5.3249, 31.9954) |
| Luminance | 0.0532 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.68
Sapphire (survey)
#2138AB
ΔE00 5.77
Darkslateblue
#483D8B
ΔE00 6.01
Blueberry
#464196
ΔE00 6.16
Royal
#0C1793
ΔE00 6.58
Ocean Blue
#4F42B5
ΔE00 6.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#412C9C #879C2C
analogous
#2C4F9C #412C9C #792C9C
triadic
#412C9C #9C412C #2C9C41
tetradic
#412C9C #9C2C4F #879C2C #2C9C79
square
#412C9C #9C2C4F #879C2C #2C9C79
split-complementary
#412C9C #9C792C #4F9C2C
monochromatic
#19113D #2D1F6C #412C9C #573DC8 #806DD6
Accessibility & contrast
On white
10.17
#412C9C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.07
#412C9C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #412C9C
10.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##412C9C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##412C9C | 1.00 | 10.17 | 2.07 | 10.17 |
| #FFFFFF | 10.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00459F
Deuteranopia (green-blind)
#003E9A
Tritanopia (blue-blind)
#104A61
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #412c9c; /* rgb */ color: rgb(65, 44, 156); /* oklch */ color: oklch(39.4% 0.171 283.9);
Tailwind
colors: {
custom: {
50: '#8067ba',
500: '#412c9c',
950: '#000000',
},
}SCSS
$custom: #412c9c; $custom-light: #8067ba; $custom-dark: #000000;
JSON
{
"hex": "#412c9c",
"rgb": {
"r": 65,
"g": 44,
"b": 156
},
"hsl": {
"h": 251.25,
"s": 56,
"l": 39.216
},
"oklch": {
"l": 0.39382,
"c": 0.17117,
"h": 283.9
},
"luminance": 0.05325
}Semantic roles & 50–950 ramp
primary
#412C9C
secondary
#ADBD67
accent
#DF49C3
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0612
muted
#7C7A81