#412D9C#412D9C
#412D9C is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.5% C 0.170 H 283.7°. Best body text is #FFFFFF at 10.10:1 contrast (WCAG AA passes).
Color values
| HEX | #412D9C |
|---|---|
| RGB | rgb(65, 45, 156) |
| HSL | hsl(251, 55%, 39%) |
| HSV | hsv(251, 71%, 61%) |
| CMYK | cmyk(58.3%, 71.2%, 0%, 38.8%) |
| CIE-LAB | lab(27.85, 39.89, -57.39) |
| CIE-LCH | lch(27.85, 69.89, 304.80°) |
| OKLab | oklab(39.53% 0.0402 -0.1652) |
| OKLCH | oklch(39.53% 0.17 283.7) |
| XYZ | xyz(9.1173, 5.4003, 32.0080) |
| Luminance | 0.0540 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.88
Sapphire (survey)
#2138AB
ΔE00 5.61
Darkslateblue
#483D8B
ΔE00 5.80
Blueberry
#464196
ΔE00 5.92
Ocean Blue
#4F42B5
ΔE00 6.55
Royal
#0C1793
ΔE00 6.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#412D9C #889C2D
analogous
#2D519C #412D9C #792D9C
triadic
#412D9C #9C412D #2D9C41
tetradic
#412D9C #9C2D51 #889C2D #2D9C79
square
#412D9C #9C2D51 #889C2D #2D9C79
split-complementary
#412D9C #9C792D #519C2D
monochromatic
#19123D #2D1F6D #412D9C #573FC8 #816ED5
Accessibility & contrast
On white
10.10
#412D9C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.08
#412D9C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #412D9C
10.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##412D9C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##412D9C | 1.00 | 10.10 | 2.08 | 10.10 |
| #FFFFFF | 10.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00459F
Deuteranopia (green-blind)
#003E9A
Tritanopia (blue-blind)
#0F4A61
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #412d9c; /* rgb */ color: rgb(65, 45, 156); /* oklch */ color: oklch(39.5% 0.170 283.7);
Tailwind
colors: {
custom: {
50: '#8068ba',
500: '#412d9c',
950: '#000000',
},
}SCSS
$custom: #412d9c; $custom-light: #8068ba; $custom-dark: #000000;
JSON
{
"hex": "#412d9c",
"rgb": {
"r": 65,
"g": 45,
"b": 156
},
"hsl": {
"h": 250.811,
"s": 55.224,
"l": 39.412
},
"oklch": {
"l": 0.39528,
"c": 0.17001,
"h": 283.7
},
"luminance": 0.05401
}Semantic roles & 50–950 ramp
primary
#412D9C
secondary
#ADBC68
accent
#DF49C4
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0612
muted
#7C7A81