#412695#412695
#412695 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 37.9% C 0.169 H 286.3°. Best body text is #FFFFFF at 10.85:1 contrast (WCAG AA passes).
Color values
| HEX | #412695 |
|---|---|
| RGB | rgb(65, 38, 149) |
| HSL | hsl(255, 59%, 37%) |
| HSV | hsv(255, 74%, 58%) |
| CMYK | cmyk(56.4%, 74.5%, 0%, 41.6%) |
| CIE-LAB | lab(25.80, 41.62, -56.45) |
| CIE-LCH | lch(25.80, 70.13, 306.40°) |
| OKLab | oklab(37.88% 0.0475 -0.1624) |
| OKLCH | oklch(37.88% 0.169 286.3) |
| XYZ | xyz(8.2963, 4.6795, 28.8940) |
| Luminance | 0.0468 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.58
Royal
#0C1793
ΔE00 5.79
Indigo (survey)
#380282
ΔE00 6.41
Indigo
#4B0082
ΔE00 6.66
Cobalt Blue
#030AA7
ΔE00 6.74
Ultramarine
#2000B1
ΔE00 6.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#412695 #7A9526
analogous
#264295 #412695 #792695
triadic
#412695 #954126 #269541
tetradic
#412695 #952642 #7A9526 #269579
square
#412695 #952642 #7A9526 #269579
split-complementary
#412695 #957926 #429526
monochromatic
#160D33 #2C1A64 #412695 #5632C6 #7C5FD6
Accessibility & contrast
On white
10.85
#412695 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.94
#412695 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #412695
10.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##412695 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##412695 | 1.00 | 10.85 | 1.94 | 10.85 |
| #FFFFFF | 10.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.94 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004098
Deuteranopia (green-blind)
#003A93
Tritanopia (blue-blind)
#1B445B
Achromatopsia (no color)
#3D3D3D
Design tokens & code
CSS
--color: #412695; /* rgb */ color: rgb(65, 38, 149); /* oklch */ color: oklch(37.9% 0.169 286.3);
Tailwind
colors: {
custom: {
50: '#7f63b5',
500: '#412695',
950: '#000000',
},
}SCSS
$custom: #412695; $custom-light: #7f63b5; $custom-dark: #000000;
JSON
{
"hex": "#412695",
"rgb": {
"r": 65,
"g": 38,
"b": 149
},
"hsl": {
"h": 254.595,
"s": 59.358,
"l": 36.667
},
"oklch": {
"l": 0.37875,
"c": 0.16924,
"h": 286.3
},
"luminance": 0.0468
}Semantic roles & 50–950 ramp
primary
#412695
secondary
#A4BB5B
accent
#E345BC
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0511
muted
#7C7A80