#412C7E#412C7E
#412C7E is a dark, vivid violet. Relative luminance 0.044; OKLCH L 36.7% C 0.132 H 290.1°. Best body text is #FFFFFF at 11.13:1 contrast (WCAG AA passes).
Color values
| HEX | #412C7E |
|---|---|
| RGB | rgb(65, 44, 126) |
| HSL | hsl(255, 48%, 33%) |
| HSV | hsv(255, 65%, 49%) |
| CMYK | cmyk(48.4%, 65.1%, 0%, 50.6%) |
| CIE-LAB | lab(25.05, 31.09, -43.35) |
| CIE-LCH | lch(25.05, 53.35, 305.65°) |
| OKLab | oklab(36.71% 0.0455 -0.124) |
| OKLCH | oklch(36.71% 0.132 290.1) |
| XYZ | xyz(6.8455, 4.4313, 20.2293) |
| Luminance | 0.0443 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.00
Blueberry
#464196
ΔE00 6.80
Midnight Blue
#191970
ΔE00 7.01
Rebeccapurple
#663399
ΔE00 7.64
Indigo
#4B0082
ΔE00 7.88
Indigo (survey)
#380282
ΔE00 7.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#412C7E #697E2C
analogous
#2C407E #412C7E #6A2C7E
triadic
#412C7E #7E412C #2C7E41
tetradic
#412C7E #7E2C40 #697E2C #2C7E6A
square
#412C7E #7E2C40 #697E2C #2C7E6A
split-complementary
#412C7E #7E6A2C #407E2C
monochromatic
#120C23 #2A1C51 #412C7E #583CAB #795EC7
Accessibility & contrast
On white
11.13
#412C7E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.89
#412C7E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #412C7E
11.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##412C7E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##412C7E | 1.00 | 11.13 | 1.89 | 11.13 |
| #FFFFFF | 11.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003D81
Deuteranopia (green-blind)
#003A7C
Tritanopia (blue-blind)
#2E3F50
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #412c7e; /* rgb */ color: rgb(65, 44, 126); /* oklch */ color: oklch(36.7% 0.132 290.1);
Tailwind
colors: {
custom: {
50: '#7b66a4',
500: '#412c7e',
950: '#000000',
},
}SCSS
$custom: #412c7e; $custom-light: #7b66a4; $custom-dark: #000000;
JSON
{
"hex": "#412c7e",
"rgb": {
"r": 65,
"g": 44,
"b": 126
},
"hsl": {
"h": 255.366,
"s": 48.235,
"l": 33.333
},
"oklch": {
"l": 0.36713,
"c": 0.13205,
"h": 290.1
},
"luminance": 0.04432
}Semantic roles & 50–950 ramp
primary
#412C7E
secondary
#97AD59
accent
#D850B5
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A060F
muted
#7C7A7F