#412595#412595
#412595 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.7% C 0.170 H 286.5°. Best body text is #FFFFFF at 10.92:1 contrast (WCAG AA passes).
Color values
| HEX | #412595 |
|---|---|
| RGB | rgb(65, 37, 149) |
| HSL | hsl(255, 60%, 36%) |
| HSV | hsv(255, 75%, 58%) |
| CMYK | cmyk(56.4%, 75.2%, 0%, 41.6%) |
| CIE-LAB | lab(25.61, 42.15, -56.76) |
| CIE-LCH | lch(25.61, 70.70, 306.60°) |
| OKLab | oklab(37.74% 0.0483 -0.1633) |
| OKLCH | oklch(37.74% 0.17 286.5) |
| XYZ | xyz(8.2647, 4.6164, 28.8835) |
| Luminance | 0.0462 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.47
Royal
#0C1793
ΔE00 5.69
Indigo (survey)
#380282
ΔE00 6.21
Indigo
#4B0082
ΔE00 6.47
Cobalt Blue
#030AA7
ΔE00 6.60
Ultramarine
#2000B1
ΔE00 6.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#412595 #799525
analogous
#254195 #412595 #792595
triadic
#412595 #954125 #259541
tetradic
#412595 #952541 #799525 #259579
square
#412595 #952541 #799525 #259579
split-complementary
#412595 #957925 #419525
monochromatic
#160D33 #2C1964 #412595 #5631C6 #7C5ED7
Accessibility & contrast
On white
10.92
#412595 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.92
#412595 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #412595
10.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##412595 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##412595 | 1.00 | 10.92 | 1.92 | 10.92 |
| #FFFFFF | 10.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003F98
Deuteranopia (green-blind)
#003993
Tritanopia (blue-blind)
#1B445B
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #412595; /* rgb */ color: rgb(65, 37, 149); /* oklch */ color: oklch(37.7% 0.170 286.5);
Tailwind
colors: {
custom: {
50: '#7f63b5',
500: '#412595',
950: '#000000',
},
}SCSS
$custom: #412595; $custom-light: #7f63b5; $custom-dark: #000000;
JSON
{
"hex": "#412595",
"rgb": {
"r": 65,
"g": 37,
"b": 149
},
"hsl": {
"h": 255,
"s": 60.215,
"l": 36.471
},
"oklch": {
"l": 0.37742,
"c": 0.17033,
"h": 286.5
},
"luminance": 0.04617
}Semantic roles & 50–950 ramp
primary
#412595
secondary
#A3BC5A
accent
#E344BC
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0511
muted
#7C7A80