#412195#412195
#412195 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.2% C 0.175 H 287.1°. Best body text is #FFFFFF at 11.19:1 contrast (WCAG AA passes).
Color values
| HEX | #412195 |
|---|---|
| RGB | rgb(65, 33, 149) |
| HSL | hsl(257, 64%, 36%) |
| HSV | hsv(257, 78%, 58%) |
| CMYK | cmyk(56.4%, 77.9%, 0%, 41.6%) |
| CIE-LAB | lab(24.89, 44.19, -57.94) |
| CIE-LCH | lch(24.89, 72.87, 307.33°) |
| OKLab | oklab(37.24% 0.0514 -0.1668) |
| OKLCH | oklch(37.24% 0.175 287.1) |
| XYZ | xyz(8.1470, 4.3810, 28.8443) |
| Luminance | 0.0438 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.14
Royal
#0C1793
ΔE00 5.38
Indigo (survey)
#380282
ΔE00 5.47
Indigo
#4B0082
ΔE00 5.76
Ultramarine
#2000B1
ΔE00 6.06
Cobalt Blue
#030AA7
ΔE00 6.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#412195 #759521
analogous
#213B95 #412195 #7B2195
triadic
#412195 #954121 #219541
tetradic
#412195 #95213B #759521 #21957B
square
#412195 #95213B #759521 #21957B
split-complementary
#412195 #957B21 #3B9521
monochromatic
#150B31 #2B1663 #412195 #572CC7 #7B57DA
Accessibility & contrast
On white
11.19
#412195 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.88
#412195 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #412195
11.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##412195 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##412195 | 1.00 | 11.19 | 1.88 | 11.19 |
| #FFFFFF | 11.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003E98
Deuteranopia (green-blind)
#003893
Tritanopia (blue-blind)
#1C425A
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #412195; /* rgb */ color: rgb(65, 33, 149); /* oklch */ color: oklch(37.2% 0.175 287.1);
Tailwind
colors: {
custom: {
50: '#8060b5',
500: '#412195',
950: '#000000',
},
}SCSS
$custom: #412195; $custom-light: #8060b5; $custom-dark: #000000;
JSON
{
"hex": "#412195",
"rgb": {
"r": 65,
"g": 33,
"b": 149
},
"hsl": {
"h": 256.552,
"s": 63.736,
"l": 35.686
},
"oklch": {
"l": 0.37236,
"c": 0.17451,
"h": 287.1
},
"luminance": 0.04381
}Semantic roles & 50–950 ramp
primary
#412195
secondary
#A1BE54
accent
#E741B9
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980