#412593#412593
#412593 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.5% C 0.168 H 286.9°. Best body text is #FFFFFF at 10.99:1 contrast (WCAG AA passes).
Color values
| HEX | #412593 |
|---|---|
| RGB | rgb(65, 37, 147) |
| HSL | hsl(255, 60%, 36%) |
| HSV | hsv(255, 75%, 58%) |
| CMYK | cmyk(55.8%, 74.8%, 0%, 42.4%) |
| CIE-LAB | lab(25.42, 41.55, -55.84) |
| CIE-LCH | lch(25.42, 69.60, 306.65°) |
| OKLab | oklab(37.55% 0.0488 -0.1606) |
| OKLCH | oklch(37.55% 0.168 286.9) |
| XYZ | xyz(8.1064, 4.5531, 28.0498) |
| Luminance | 0.0455 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.75
Royal
#0C1793
ΔE00 5.72
Indigo (survey)
#380282
ΔE00 6.10
Indigo
#4B0082
ΔE00 6.35
Cobalt Blue
#030AA7
ΔE00 6.74
Ultramarine
#2000B1
ΔE00 6.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#412593 #779325
analogous
#254093 #412593 #782593
triadic
#412593 #934125 #259341
tetradic
#412593 #932540 #779325 #259378
square
#412593 #932540 #779325 #259378
split-complementary
#412593 #937825 #409325
monochromatic
#160C31 #2B1962 #412593 #5731C4 #7B5CD6
Accessibility & contrast
On white
10.99
#412593 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.91
#412593 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #412593
10.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##412593 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##412593 | 1.00 | 10.99 | 1.91 | 10.99 |
| #FFFFFF | 10.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003F96
Deuteranopia (green-blind)
#003991
Tritanopia (blue-blind)
#1E435A
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #412593; /* rgb */ color: rgb(65, 37, 147); /* oklch */ color: oklch(37.5% 0.168 286.9);
Tailwind
colors: {
custom: {
50: '#7f63b4',
500: '#412593',
950: '#000000',
},
}SCSS
$custom: #412593; $custom-light: #7f63b4; $custom-dark: #000000;
JSON
{
"hex": "#412593",
"rgb": {
"r": 65,
"g": 37,
"b": 147
},
"hsl": {
"h": 255.273,
"s": 59.783,
"l": 36.078
},
"oklch": {
"l": 0.37549,
"c": 0.16789,
"h": 286.9
},
"luminance": 0.04554
}Semantic roles & 50–950 ramp
primary
#412593
secondary
#A2BB59
accent
#E345BB
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0511
muted
#7C7A80