#412193#412193
#412193 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 37.0% C 0.172 H 287.6°. Best body text is #FFFFFF at 11.27:1 contrast (WCAG AA passes).
Color values
| HEX | #412193 |
|---|---|
| RGB | rgb(65, 33, 147) |
| HSL | hsl(257, 63%, 35%) |
| HSV | hsv(257, 78%, 58%) |
| CMYK | cmyk(55.8%, 77.6%, 0%, 42.4%) |
| CIE-LAB | lab(24.70, 43.61, -57.04) |
| CIE-LCH | lch(24.70, 71.80, 307.40°) |
| OKLab | oklab(37.04% 0.052 -0.1641) |
| OKLCH | oklch(37.04% 0.172 287.6) |
| XYZ | xyz(7.9887, 4.3177, 28.0106) |
| Luminance | 0.0432 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.43
Indigo (survey)
#380282
ΔE00 5.33
Royal
#0C1793
ΔE00 5.41
Indigo
#4B0082
ΔE00 5.62
Cobalt Blue
#030AA7
ΔE00 6.24
Ultramarine
#2000B1
ΔE00 6.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#412193 #739321
analogous
#213A93 #412193 #7A2193
triadic
#412193 #934121 #219341
tetradic
#412193 #93213A #739321 #21937A
square
#412193 #93213A #739321 #21937A
split-complementary
#412193 #937A21 #3A9321
monochromatic
#150B2F #2B1661 #412193 #572CC5 #7A55D9
Accessibility & contrast
On white
11.27
#412193 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.86
#412193 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #412193
11.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##412193 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##412193 | 1.00 | 11.27 | 1.86 | 11.27 |
| #FFFFFF | 11.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003D96
Deuteranopia (green-blind)
#003791
Tritanopia (blue-blind)
#1E4159
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #412193; /* rgb */ color: rgb(65, 33, 147); /* oklch */ color: oklch(37.0% 0.172 287.6);
Tailwind
colors: {
custom: {
50: '#7f60b4',
500: '#412193',
950: '#000000',
},
}SCSS
$custom: #412193; $custom-light: #7f60b4; $custom-dark: #000000;
JSON
{
"hex": "#412193",
"rgb": {
"r": 65,
"g": 33,
"b": 147
},
"hsl": {
"h": 256.842,
"s": 63.333,
"l": 35.294
},
"oklch": {
"l": 0.37038,
"c": 0.17214,
"h": 287.6
},
"luminance": 0.04318
}Semantic roles & 50–950 ramp
primary
#412193
secondary
#9FBD53
accent
#E641B8
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980