#412095#412095
#412095 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.1% C 0.176 H 287.3°. Best body text is #FFFFFF at 11.26:1 contrast (WCAG AA passes).
Color values
| HEX | #412095 |
|---|---|
| RGB | rgb(65, 32, 149) |
| HSL | hsl(257, 65%, 35%) |
| HSV | hsv(257, 79%, 58%) |
| CMYK | cmyk(56.4%, 78.5%, 0%, 41.6%) |
| CIE-LAB | lab(24.72, 44.68, -58.22) |
| CIE-LCH | lch(24.72, 73.39, 307.50°) |
| OKLab | oklab(37.12% 0.0522 -0.1676) |
| OKLCH | oklch(37.12% 0.176 287.3) |
| XYZ | xyz(8.1197, 4.3263, 28.8352) |
| Luminance | 0.0433 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.08
Indigo (survey)
#380282
ΔE00 5.30
Royal
#0C1793
ΔE00 5.33
Indigo
#4B0082
ΔE00 5.60
Ultramarine
#2000B1
ΔE00 5.94
Cobalt Blue
#030AA7
ΔE00 5.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#412095 #749520
analogous
#203995 #412095 #7B2095
triadic
#412095 #954120 #209541
tetradic
#412095 #952039 #749520 #20957B
square
#412095 #952039 #749520 #20957B
split-complementary
#412095 #957B20 #399520
monochromatic
#150A30 #2B1563 #412095 #572BC7 #7B55DA
Accessibility & contrast
On white
11.26
#412095 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.87
#412095 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #412095
11.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##412095 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##412095 | 1.00 | 11.26 | 1.87 | 11.26 |
| #FFFFFF | 11.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003D98
Deuteranopia (green-blind)
#003793
Tritanopia (blue-blind)
#1C415A
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #412095; /* rgb */ color: rgb(65, 32, 149); /* oklch */ color: oklch(37.1% 0.176 287.3);
Tailwind
colors: {
custom: {
50: '#8060b5',
500: '#412095',
950: '#000000',
},
}SCSS
$custom: #412095; $custom-light: #8060b5; $custom-dark: #000000;
JSON
{
"hex": "#412095",
"rgb": {
"r": 65,
"g": 32,
"b": 149
},
"hsl": {
"h": 256.923,
"s": 64.641,
"l": 35.49
},
"oklch": {
"l": 0.37117,
"c": 0.17551,
"h": 287.3
},
"luminance": 0.04327
}Semantic roles & 50–950 ramp
primary
#412095
secondary
#A0BE53
accent
#E840B8
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980