#46167E#46167E
#46167E is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.3% C 0.159 H 298.1°. Best body text is #FFFFFF at 12.53:1 contrast (WCAG AA passes).
Color values
| HEX | #46167E |
|---|---|
| RGB | rgb(70, 22, 126) |
| HSL | hsl(268, 70%, 29%) |
| HSV | hsv(268, 83%, 49%) |
| CMYK | cmyk(44.4%, 82.5%, 0%, 50.6%) |
| CIE-LAB | lab(21.51, 43.58, -49.09) |
| CIE-LCH | lch(21.51, 65.64, 311.60°) |
| OKLab | oklab(34.34% 0.0752 -0.1405) |
| OKLCH | oklch(34.34% 0.159 298.1) |
| XYZ | xyz(6.5776, 3.3822, 20.0409) |
| Luminance | 0.0338 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo
#4B0082
ΔE00 2.63
Indigo (survey)
#380282
ΔE00 3.63
Royal Purple (survey)
#4B006E
ΔE00 4.16
Midnight Blue
#191970
ΔE00 7.22
Royal
#0C1793
ΔE00 7.44
Indigo Blue
#3A18B1
ΔE00 7.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#46167E #4E7E16
analogous
#161A7E #46167E #7A167E
triadic
#46167E #7E4616 #167E46
tetradic
#46167E #7E161A #4E7E16 #167E7A
square
#46167E #7E161A #4E7E16 #167E7A
split-complementary
#46167E #7E7A16 #1A7E16
monochromatic
#0E051A #290D4A #46167E #631FB2 #8133DB
Accessibility & contrast
On white
12.53
#46167E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.68
#46167E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #46167E
12.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##46167E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##46167E | 1.00 | 12.53 | 1.68 | 12.53 |
| #FFFFFF | 12.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003481
Deuteranopia (green-blind)
#00327C
Tritanopia (blue-blind)
#38334A
Achromatopsia (no color)
#343434
Design tokens & code
CSS
--color: #46167e; /* rgb */ color: rgb(70, 22, 126); /* oklch */ color: oklch(34.3% 0.159 298.1);
Tailwind
colors: {
custom: {
50: '#805aa4',
500: '#46167e',
950: '#000000',
},
}SCSS
$custom: #46167e; $custom-light: #805aa4; $custom-dark: #000000;
JSON
{
"hex": "#46167e",
"rgb": {
"r": 70,
"g": 22,
"b": 126
},
"hsl": {
"h": 267.692,
"s": 70.27,
"l": 29.02
},
"oklch": {
"l": 0.34335,
"c": 0.15938,
"h": 298.1
},
"luminance": 0.03382
}Semantic roles & 50–950 ramp
primary
#46167E
secondary
#7CB33D
accent
#ED3B9B
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B040F
muted
#7C797F