#412694#412694
#412694 is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.8% C 0.168 H 286.5°. Best body text is #FFFFFF at 10.88:1 contrast (WCAG AA passes).
Color values
| HEX | #412694 |
|---|---|
| RGB | rgb(65, 38, 148) |
| HSL | hsl(255, 59%, 36%) |
| HSV | hsv(255, 74%, 58%) |
| CMYK | cmyk(56.1%, 74.3%, 0%, 42%) |
| CIE-LAB | lab(25.71, 41.31, -55.99) |
| CIE-LCH | lch(25.71, 69.58, 306.42°) |
| OKLab | oklab(37.78% 0.0478 -0.1611) |
| OKLCH | oklch(37.78% 0.168 286.5) |
| XYZ | xyz(8.2168, 4.6477, 28.4754) |
| Luminance | 0.0465 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.72
Royal
#0C1793
ΔE00 5.80
Indigo (survey)
#380282
ΔE00 6.36
Indigo
#4B0082
ΔE00 6.60
Darkslateblue
#483D8B
ΔE00 6.78
Cobalt Blue
#030AA7
ΔE00 6.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#412694 #799426
analogous
#264294 #412694 #782694
triadic
#412694 #944126 #269441
tetradic
#412694 #942642 #799426 #269478
square
#412694 #942642 #799426 #269478
split-complementary
#412694 #947826 #429426
monochromatic
#160D33 #2C1963 #412694 #5633C5 #7C5FD6
Accessibility & contrast
On white
10.88
#412694 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.93
#412694 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #412694
10.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##412694 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##412694 | 1.00 | 10.88 | 1.93 | 10.88 |
| #FFFFFF | 10.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.93 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004097
Deuteranopia (green-blind)
#003A92
Tritanopia (blue-blind)
#1C445B
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #412694; /* rgb */ color: rgb(65, 38, 148); /* oklch */ color: oklch(37.8% 0.168 286.5);
Tailwind
colors: {
custom: {
50: '#7f63b4',
500: '#412694',
950: '#000000',
},
}SCSS
$custom: #412694; $custom-light: #7f63b4; $custom-dark: #000000;
JSON
{
"hex": "#412694",
"rgb": {
"r": 65,
"g": 38,
"b": 148
},
"hsl": {
"h": 254.727,
"s": 59.14,
"l": 36.471
},
"oklch": {
"l": 0.37779,
"c": 0.16801,
"h": 286.5
},
"luminance": 0.04648
}Semantic roles & 50–950 ramp
primary
#412694
secondary
#A3BB5B
accent
#E245BC
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0511
muted
#7C7A80