#412197#412197
#412197 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.4% C 0.177 H 286.7°. Best body text is #FFFFFF at 11.12:1 contrast (WCAG AA passes).
Color values
| HEX | #412197 |
|---|---|
| RGB | rgb(65, 33, 151) |
| HSL | hsl(256, 64%, 36%) |
| HSV | hsv(256, 78%, 59%) |
| CMYK | cmyk(57%, 78.1%, 0%, 40.8%) |
| CIE-LAB | lab(25.09, 44.78, -58.85) |
| CIE-LCH | lch(25.09, 73.95, 307.27°) |
| OKLab | oklab(37.44% 0.0509 -0.1694) |
| OKLCH | oklch(37.44% 0.177 286.7) |
| XYZ | xyz(8.3081, 4.4454, 29.6924) |
| Luminance | 0.0445 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.86
Royal
#0C1793
ΔE00 5.37
Indigo (survey)
#380282
ΔE00 5.62
Ultramarine
#2000B1
ΔE00 5.88
Indigo
#4B0082
ΔE00 5.92
Cobalt Blue
#030AA7
ΔE00 5.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#412197 #779721
analogous
#213C97 #412197 #7C2197
triadic
#412197 #974121 #219741
tetradic
#412197 #97213C #779721 #21977C
square
#412197 #97213C #779721 #21977C
split-complementary
#412197 #977C21 #3C9721
monochromatic
#160B33 #2B1665 #412197 #572CC9 #7B58DA
Accessibility & contrast
On white
11.12
#412197 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.89
#412197 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #412197
11.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##412197 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##412197 | 1.00 | 11.12 | 1.89 | 11.12 |
| #FFFFFF | 11.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003E9A
Deuteranopia (green-blind)
#003895
Tritanopia (blue-blind)
#19435B
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #412197; /* rgb */ color: rgb(65, 33, 151); /* oklch */ color: oklch(37.4% 0.177 286.7);
Tailwind
colors: {
custom: {
50: '#8061b7',
500: '#412197',
950: '#000000',
},
}SCSS
$custom: #412197; $custom-light: #8061b7; $custom-dark: #000000;
JSON
{
"hex": "#412197",
"rgb": {
"r": 65,
"g": 33,
"b": 151
},
"hsl": {
"h": 256.271,
"s": 64.13,
"l": 36.078
},
"oklch": {
"l": 0.37436,
"c": 0.17687,
"h": 286.7
},
"luminance": 0.04446
}Semantic roles & 50–950 ramp
primary
#412197
secondary
#A2BE55
accent
#E741BA
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980