#46167C#46167C
#46167C is a dark, vivid violet. Relative luminance 0.033; OKLCH L 34.1% C 0.157 H 298.8°. Best body text is #FFFFFF at 12.60:1 contrast (WCAG AA passes).
Color values
| HEX | #46167C |
|---|---|
| RGB | rgb(70, 22, 124) |
| HSL | hsl(268, 70%, 29%) |
| HSV | hsv(268, 82%, 49%) |
| CMYK | cmyk(43.5%, 82.3%, 0%, 51.4%) |
| CIE-LAB | lab(21.32, 43.06, -48.13) |
| CIE-LCH | lch(21.32, 64.58, 311.82°) |
| OKLab | oklab(34.14% 0.0758 -0.1377) |
| OKLCH | oklch(34.14% 0.157 298.8) |
| XYZ | xyz(6.4499, 3.3311, 19.3680) |
| Luminance | 0.0333 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo
#4B0082
ΔE00 2.73
Indigo (survey)
#380282
ΔE00 3.78
Royal Purple (survey)
#4B006E
ΔE00 3.92
Midnight Blue
#191970
ΔE00 7.22
Royal
#0C1793
ΔE00 7.68
Darkblue
#00008B
ΔE00 8.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#46167C #4C7C16
analogous
#16197C #46167C #79167C
triadic
#46167C #7C4616 #167C46
tetradic
#46167C #7C1619 #4C7C16 #167C79
square
#46167C #7C1619 #4C7C16 #167C79
split-complementary
#46167C #7C7916 #197C16
monochromatic
#0F051A #290D48 #46167C #631FB0 #8132DB
Accessibility & contrast
On white
12.60
#46167C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.67
#46167C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #46167C
12.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##46167C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##46167C | 1.00 | 12.60 | 1.67 | 12.60 |
| #FFFFFF | 12.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00337F
Deuteranopia (green-blind)
#00327A
Tritanopia (blue-blind)
#393249
Achromatopsia (no color)
#333333
Design tokens & code
CSS
--color: #46167c; /* rgb */ color: rgb(70, 22, 124); /* oklch */ color: oklch(34.1% 0.157 298.8);
Tailwind
colors: {
custom: {
50: '#805aa3',
500: '#46167c',
950: '#000000',
},
}SCSS
$custom: #46167c; $custom-light: #805aa3; $custom-dark: #000000;
JSON
{
"hex": "#46167c",
"rgb": {
"r": 70,
"g": 22,
"b": 124
},
"hsl": {
"h": 268.235,
"s": 69.863,
"l": 28.627
},
"oklch": {
"l": 0.34145,
"c": 0.15721,
"h": 298.8
},
"luminance": 0.03331
}Semantic roles & 50–950 ramp
primary
#46167C
secondary
#7AB13D
accent
#ED3B99
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B040F
muted
#7C797F