#412497#412497
#412497 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.8% C 0.174 H 286.2°. Best body text is #FFFFFF at 10.91:1 contrast (WCAG AA passes).
Color values
| HEX | #412497 |
|---|---|
| RGB | rgb(65, 36, 151) |
| HSL | hsl(255, 61%, 37%) |
| HSV | hsv(255, 76%, 59%) |
| CMYK | cmyk(57%, 76.2%, 0%, 40.8%) |
| CIE-LAB | lab(25.62, 43.27, -57.98) |
| CIE-LCH | lch(25.62, 72.34, 306.73°) |
| OKLab | oklab(37.81% 0.0486 -0.1669) |
| OKLCH | oklch(37.81% 0.174 286.2) |
| XYZ | xyz(8.3951, 4.6195, 29.7214) |
| Luminance | 0.0462 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.10
Royal
#0C1793
ΔE00 5.59
Indigo (survey)
#380282
ΔE00 6.15
Ultramarine
#2000B1
ΔE00 6.30
Cobalt Blue
#030AA7
ΔE00 6.33
Indigo
#4B0082
ΔE00 6.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#412497 #7A9724
analogous
#244197 #412497 #7B2497
triadic
#412497 #974124 #249741
tetradic
#412497 #972441 #7A9724 #24977B
square
#412497 #972441 #7A9724 #24977B
split-complementary
#412497 #977B24 #419724
monochromatic
#160C34 #2C1866 #412497 #5630C8 #7C5DD8
Accessibility & contrast
On white
10.91
#412497 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.92
#412497 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #412497
10.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##412497 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##412497 | 1.00 | 10.91 | 1.92 | 10.91 |
| #FFFFFF | 10.91 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.91 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00409A
Deuteranopia (green-blind)
#003995
Tritanopia (blue-blind)
#19445C
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #412497; /* rgb */ color: rgb(65, 36, 151); /* oklch */ color: oklch(37.8% 0.174 286.2);
Tailwind
colors: {
custom: {
50: '#8062b7',
500: '#412497',
950: '#000000',
},
}SCSS
$custom: #412497; $custom-light: #8062b7; $custom-dark: #000000;
JSON
{
"hex": "#412497",
"rgb": {
"r": 65,
"g": 36,
"b": 151
},
"hsl": {
"h": 255.13,
"s": 61.497,
"l": 36.667
},
"oklch": {
"l": 0.37807,
"c": 0.17382,
"h": 286.2
},
"luminance": 0.0462
}Semantic roles & 50–950 ramp
primary
#412497
secondary
#A4BD5A
accent
#E543BC
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0511
muted
#7C7A80