#412093#412093
#412093 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 36.9% C 0.173 H 287.7°. Best body text is #FFFFFF at 11.34:1 contrast (WCAG AA passes).
Color values
| HEX | #412093 |
|---|---|
| RGB | rgb(65, 32, 147) |
| HSL | hsl(257, 64%, 35%) |
| HSV | hsv(257, 78%, 58%) |
| CMYK | cmyk(55.8%, 78.2%, 0%, 42.4%) |
| CIE-LAB | lab(24.52, 44.10, -57.32) |
| CIE-LCH | lch(24.52, 72.32, 307.58°) |
| OKLab | oklab(36.92% 0.0528 -0.1649) |
| OKLCH | oklch(36.92% 0.173 287.7) |
| XYZ | xyz(7.9614, 4.2630, 28.0014) |
| Luminance | 0.0426 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.37
Indigo (survey)
#380282
ΔE00 5.16
Royal
#0C1793
ΔE00 5.35
Indigo
#4B0082
ΔE00 5.45
Ultramarine
#2000B1
ΔE00 6.13
Cobalt Blue
#030AA7
ΔE00 6.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#412093 #729320
analogous
#203993 #412093 #7A2093
triadic
#412093 #934120 #209341
tetradic
#412093 #932039 #729320 #20937A
square
#412093 #932039 #729320 #20937A
split-complementary
#412093 #937A20 #399320
monochromatic
#150A2E #2B1561 #412093 #572BC5 #7A54DA
Accessibility & contrast
On white
11.34
#412093 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.85
#412093 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #412093
11.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##412093 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##412093 | 1.00 | 11.34 | 1.85 | 11.34 |
| #FFFFFF | 11.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003D96
Deuteranopia (green-blind)
#003791
Tritanopia (blue-blind)
#1E4159
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #412093; /* rgb */ color: rgb(65, 32, 147); /* oklch */ color: oklch(36.9% 0.173 287.7);
Tailwind
colors: {
custom: {
50: '#7f60b4',
500: '#412093',
950: '#000000',
},
}SCSS
$custom: #412093; $custom-light: #7f60b4; $custom-dark: #000000;
JSON
{
"hex": "#412093",
"rgb": {
"r": 65,
"g": 32,
"b": 147
},
"hsl": {
"h": 257.217,
"s": 64.246,
"l": 35.098
},
"oklch": {
"l": 0.36917,
"c": 0.17316,
"h": 287.7
},
"luminance": 0.04263
}Semantic roles & 50–950 ramp
primary
#412093
secondary
#9EBD52
accent
#E741B7
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980