#412F6E#412F6E
#412F6E is a dark, moderate violet. Relative luminance 0.043; OKLCH L 36.0% C 0.105 H 293.6°. Best body text is #FFFFFF at 11.31:1 contrast (WCAG AA passes).
Color values
| HEX | #412F6E |
|---|---|
| RGB | rgb(65, 47, 110) |
| HSL | hsl(257, 40%, 31%) |
| HSV | hsv(257, 57%, 43%) |
| CMYK | cmyk(40.9%, 57.3%, 0%, 56.9%) |
| CIE-LAB | lab(24.58, 24.27, -33.91) |
| CIE-LCH | lch(24.58, 41.70, 305.59°) |
| OKLab | oklab(35.99% 0.0421 -0.0962) |
| OKLCH | oklch(35.99% 0.105 293.6) |
| XYZ | xyz(6.0102, 4.2825, 15.2588) |
| Luminance | 0.0428 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkslateblue
#483D8B
ΔE00 6.06
Blueberry
#464196
ΔE00 8.29
Midnight Blue
#191970
ΔE00 8.53
Rebeccapurple
#663399
ΔE00 9.49
Royal Purple (survey)
#4B006E
ΔE00 9.84
Indigo
#4B0082
ΔE00 10.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#412F6E #5C6E2F
analogous
#2F3C6E #412F6E #602F6E
triadic
#412F6E #6E412F #2F6E41
tetradic
#412F6E #6E2F3C #5C6E2F #2F6E60
square
#412F6E #6E2F3C #5C6E2F #2F6E60
split-complementary
#412F6E #6E602F #3C6E2F
monochromatic
#0E0A18 #281D43 #412F6E #5A4199 #785DBA
Accessibility & contrast
On white
11.31
#412F6E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.86
#412F6E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #412F6E
11.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##412F6E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##412F6E | 1.00 | 11.31 | 1.86 | 11.31 |
| #FFFFFF | 11.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#123B70
Deuteranopia (green-blind)
#17396D
Tritanopia (blue-blind)
#363C49
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #412f6e; /* rgb */ color: rgb(65, 47, 110); /* oklch */ color: oklch(36.0% 0.105 293.6);
Tailwind
colors: {
custom: {
50: '#796898',
500: '#412f6e',
950: '#000000',
},
}SCSS
$custom: #412f6e; $custom-light: #796898; $custom-dark: #000000;
JSON
{
"hex": "#412f6e",
"rgb": {
"r": 65,
"g": 47,
"b": 110
},
"hsl": {
"h": 257.143,
"s": 40.127,
"l": 30.784
},
"oklch": {
"l": 0.35994,
"c": 0.10502,
"h": 293.6
},
"luminance": 0.04283
}Semantic roles & 50–950 ramp
primary
#412F6E
secondary
#8B9F59
accent
#D058AE
background
#F7F6F9
surface
#EEEBF2
border
#C9C6CC
text
#09060E
muted
#7B7A7E