#412395#412395
#412395 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.5% C 0.172 H 286.8°. Best body text is #FFFFFF at 11.06:1 contrast (WCAG AA passes).
Color values
| HEX | #412395 |
|---|---|
| RGB | rgb(65, 35, 149) |
| HSL | hsl(256, 62%, 36%) |
| HSV | hsv(256, 77%, 58%) |
| CMYK | cmyk(56.4%, 76.5%, 0%, 41.6%) |
| CIE-LAB | lab(25.25, 43.19, -57.36) |
| CIE-LCH | lch(25.25, 71.80, 306.98°) |
| OKLab | oklab(37.48% 0.0499 -0.1651) |
| OKLCH | oklch(37.48% 0.172 286.8) |
| XYZ | xyz(8.2042, 4.4954, 28.8633) |
| Luminance | 0.0450 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.29
Royal
#0C1793
ΔE00 5.52
Indigo (survey)
#380282
ΔE00 5.83
Indigo
#4B0082
ΔE00 6.10
Ultramarine
#2000B1
ΔE00 6.33
Cobalt Blue
#030AA7
ΔE00 6.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#412395 #779523
analogous
#233E95 #412395 #7A2395
triadic
#412395 #954123 #239541
tetradic
#412395 #95233E #779523 #23957A
square
#412395 #95233E #779523 #23957A
split-complementary
#412395 #957A23 #3E9523
monochromatic
#160C32 #2B1763 #412395 #572FC7 #7B5AD8
Accessibility & contrast
On white
11.06
#412395 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.90
#412395 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #412395
11.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##412395 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##412395 | 1.00 | 11.06 | 1.90 | 11.06 |
| #FFFFFF | 11.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003F98
Deuteranopia (green-blind)
#003993
Tritanopia (blue-blind)
#1C435A
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #412395; /* rgb */ color: rgb(65, 35, 149); /* oklch */ color: oklch(37.5% 0.172 286.8);
Tailwind
colors: {
custom: {
50: '#7f62b5',
500: '#412395',
950: '#000000',
},
}SCSS
$custom: #412395; $custom-light: #7f62b5; $custom-dark: #000000;
JSON
{
"hex": "#412395",
"rgb": {
"r": 65,
"g": 35,
"b": 149
},
"hsl": {
"h": 255.789,
"s": 61.957,
"l": 36.078
},
"oklch": {
"l": 0.37484,
"c": 0.17246,
"h": 286.8
},
"luminance": 0.04496
}Semantic roles & 50–950 ramp
primary
#412395
secondary
#A2BD57
accent
#E543BA
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980