#46168F#46168F
#46168F is a dark, vivid violet. Relative luminance 0.039; OKLCH L 36.0% C 0.178 H 292.9°. Best body text is #FFFFFF at 11.85:1 contrast (WCAG AA passes).
Color values
| HEX | #46168F |
|---|---|
| RGB | rgb(70, 22, 143) |
| HSL | hsl(264, 73%, 32%) |
| HSV | hsv(264, 85%, 56%) |
| CMYK | cmyk(51%, 84.6%, 0%, 43.9%) |
| CIE-LAB | lab(23.20, 48.03, -57.00) |
| CIE-LCH | lch(23.20, 74.54, 310.12°) |
| OKLab | oklab(36.01% 0.0691 -0.1637) |
| OKLCH | oklch(36.01% 0.178 292.9) |
| XYZ | xyz(7.7692, 3.8588, 26.3167) |
| Luminance | 0.0386 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo
#4B0082
ΔE00 3.41
Indigo (survey)
#380282
ΔE00 3.71
Indigo Blue
#3A18B1
ΔE00 5.12
Royal
#0C1793
ΔE00 6.08
Ultramarine
#2000B1
ΔE00 6.22
Royal Purple (survey)
#4B006E
ΔE00 6.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#46168F #5F8F16
analogous
#16228F #46168F #83168F
triadic
#46168F #8F4616 #168F46
tetradic
#46168F #8F1622 #5F8F16 #168F83
square
#46168F #8F1622 #5F8F16 #168F83
split-complementary
#46168F #8F8316 #228F16
monochromatic
#120625 #2C0E5A #46168F #601EC4 #7F3EE1
Accessibility & contrast
On white
11.85
#46168F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.77
#46168F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #46168F
11.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##46168F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##46168F | 1.00 | 11.85 | 1.77 | 11.85 |
| #FFFFFF | 11.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003992
Deuteranopia (green-blind)
#00358D
Tritanopia (blue-blind)
#2E3B54
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #46168f; /* rgb */ color: rgb(70, 22, 143); /* oklch */ color: oklch(36.0% 0.178 292.9);
Tailwind
colors: {
custom: {
50: '#825bb1',
500: '#46168f',
950: '#000000',
},
}SCSS
$custom: #46168f; $custom-light: #825bb1; $custom-dark: #000000;
JSON
{
"hex": "#46168f",
"rgb": {
"r": 70,
"g": 22,
"b": 143
},
"hsl": {
"h": 263.802,
"s": 73.333,
"l": 32.353
},
"oklch": {
"l": 0.36011,
"c": 0.1777,
"h": 292.9
},
"luminance": 0.03859
}Semantic roles & 50–950 ramp
primary
#46168F
secondary
#8EC13F
accent
#F038A7
background
#F8F5FB
surface
#F0E9F6
border
#CBC5D0
text
#0B0411
muted
#7C7980