#46166F#46166F
#46166F is a dark, vivid violet. Relative luminance 0.030; OKLCH L 33.0% C 0.143 H 303.8°. Best body text is #FFFFFF at 13.09:1 contrast (WCAG AA passes).
Color values
| HEX | #46166F |
|---|---|
| RGB | rgb(70, 22, 111) |
| HSL | hsl(272, 67%, 26%) |
| HSV | hsv(272, 80%, 44%) |
| CMYK | cmyk(36.9%, 80.2%, 0%, 56.5%) |
| CIE-LAB | lab(20.14, 39.73, -41.72) |
| CIE-LCH | lch(20.14, 57.61, 313.60°) |
| OKLab | oklab(32.95% 0.0796 -0.1189) |
| OKLCH | oklch(32.95% 0.143 303.8) |
| XYZ | xyz(5.6813, 3.0236, 15.3202) |
| Luminance | 0.0302 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple (survey)
#4B006E
ΔE00 2.97
Indigo
#4B0082
ΔE00 4.19
Indigo (survey)
#380282
ΔE00 5.41
Dark Indigo
#1F0954
ΔE00 7.56
Midnight Blue
#191970
ΔE00 7.78
Plum Purple
#4E0550
ΔE00 7.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#46166F #3F6F16
analogous
#1A166F #46166F #6F166B
triadic
#46166F #6F4616 #166F46
tetradic
#46166F #6F1A16 #3F6F16 #166B6F
square
#46166F #6F1A16 #3F6F16 #166B6F
split-complementary
#46166F #6B6F16 #166F1A
monochromatic
#10051A #260C3C #46166F #6620A2 #862BD5
Accessibility & contrast
On white
13.09
#46166F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.60
#46166F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #46166F
13.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##46166F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##46166F | 1.00 | 13.09 | 1.60 | 13.09 |
| #FFFFFF | 13.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.60 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003071
Deuteranopia (green-blind)
#00306D
Tritanopia (blue-blind)
#3E2D42
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #46166f; /* rgb */ color: rgb(70, 22, 111); /* oklch */ color: oklch(33.0% 0.143 303.8);
Tailwind
colors: {
custom: {
50: '#7e5999',
500: '#46166f',
950: '#000000',
},
}SCSS
$custom: #46166f; $custom-light: #7e5999; $custom-dark: #000000;
JSON
{
"hex": "#46166f",
"rgb": {
"r": 70,
"g": 22,
"b": 111
},
"hsl": {
"h": 272.36,
"s": 66.917,
"l": 26.078
},
"oklch": {
"l": 0.3295,
"c": 0.14309,
"h": 303.8
},
"luminance": 0.03024
}Semantic roles & 50–950 ramp
primary
#46166F
secondary
#6CA53C
accent
#EA3E8D
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0A040E
muted
#7C797E