#412782#412782
#412782 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.3% C 0.144 H 290.5°. Best body text is #FFFFFF at 11.43:1 contrast (WCAG AA passes).
Color values
| HEX | #412782 |
|---|---|
| RGB | rgb(65, 39, 130) |
| HSL | hsl(257, 54%, 33%) |
| HSV | hsv(257, 70%, 51%) |
| CMYK | cmyk(50%, 70%, 0%, 49%) |
| CIE-LAB | lab(24.28, 35.31, -47.12) |
| CIE-LCH | lch(24.28, 58.88, 306.84°) |
| OKLab | oklab(36.26% 0.0505 -0.1351) |
| OKLCH | oklch(36.26% 0.144 290.5) |
| XYZ | xyz(6.9336, 4.1863, 21.5575) |
| Luminance | 0.0419 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkslateblue
#483D8B
ΔE00 6.17
Indigo (survey)
#380282
ΔE00 6.39
Indigo
#4B0082
ΔE00 6.40
Midnight Blue
#191970
ΔE00 6.52
Royal
#0C1793
ΔE00 7.02
Rebeccapurple
#663399
ΔE00 7.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#412782 #688227
analogous
#273A82 #412782 #6E2782
triadic
#412782 #824127 #278241
tetradic
#412782 #82273A #688227 #27826E
square
#412782 #82273A #688227 #27826E
split-complementary
#412782 #826E27 #3A8227
monochromatic
#120B24 #291953 #412782 #5935B1 #7857CD
Accessibility & contrast
On white
11.43
#412782 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.84
#412782 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #412782
11.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##412782 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##412782 | 1.00 | 11.43 | 1.84 | 11.43 |
| #FFFFFF | 11.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003B85
Deuteranopia (green-blind)
#003880
Tritanopia (blue-blind)
#2C3E51
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #412782; /* rgb */ color: rgb(65, 39, 130); /* oklch */ color: oklch(36.3% 0.144 290.5);
Tailwind
colors: {
custom: {
50: '#7c63a7',
500: '#412782',
950: '#000000',
},
}SCSS
$custom: #412782; $custom-light: #7c63a7; $custom-dark: #000000;
JSON
{
"hex": "#412782",
"rgb": {
"r": 65,
"g": 39,
"b": 130
},
"hsl": {
"h": 257.143,
"s": 53.846,
"l": 33.137
},
"oklch": {
"l": 0.3626,
"c": 0.14419,
"h": 290.5
},
"luminance": 0.04187
}Semantic roles & 50–950 ramp
primary
#412782
secondary
#97B153
accent
#DD4BB3
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A050F
muted
#7C7A7F