#412192#412192
#412192 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 36.9% C 0.171 H 287.8°. Best body text is #FFFFFF at 11.31:1 contrast (WCAG AA passes).
Color values
| HEX | #412192 |
|---|---|
| RGB | rgb(65, 33, 146) |
| HSL | hsl(257, 63%, 35%) |
| HSV | hsv(257, 77%, 57%) |
| CMYK | cmyk(55.5%, 77.4%, 0%, 42.7%) |
| CIE-LAB | lab(24.60, 43.32, -56.58) |
| CIE-LCH | lch(24.60, 71.26, 307.44°) |
| OKLab | oklab(36.94% 0.0523 -0.1628) |
| OKLCH | oklch(36.94% 0.171 287.8) |
| XYZ | xyz(7.9106, 4.2864, 27.5991) |
| Luminance | 0.0429 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.57
Indigo (survey)
#380282
ΔE00 5.27
Royal
#0C1793
ΔE00 5.43
Indigo
#4B0082
ΔE00 5.55
Cobalt Blue
#030AA7
ΔE00 6.32
Ultramarine
#2000B1
ΔE00 6.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#412192 #729221
analogous
#213A92 #412192 #792192
triadic
#412192 #924121 #219241
tetradic
#412192 #92213A #729221 #219279
square
#412192 #92213A #729221 #219279
split-complementary
#412192 #927921 #3A9221
monochromatic
#150A2E #2B1660 #412192 #572CC4 #7A55D9
Accessibility & contrast
On white
11.31
#412192 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.86
#412192 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #412192
11.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##412192 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##412192 | 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)
#003D95
Deuteranopia (green-blind)
#003790
Tritanopia (blue-blind)
#1F4158
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #412192; /* rgb */ color: rgb(65, 33, 146); /* oklch */ color: oklch(36.9% 0.171 287.8);
Tailwind
colors: {
custom: {
50: '#7f60b3',
500: '#412192',
950: '#000000',
},
}SCSS
$custom: #412192; $custom-light: #7f60b3; $custom-dark: #000000;
JSON
{
"hex": "#412192",
"rgb": {
"r": 65,
"g": 33,
"b": 146
},
"hsl": {
"h": 256.991,
"s": 63.128,
"l": 35.098
},
"oklch": {
"l": 0.36939,
"c": 0.17096,
"h": 287.8
},
"luminance": 0.04287
}Semantic roles & 50–950 ramp
primary
#412192
secondary
#9EBC53
accent
#E642B8
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980