#46186F#46186F
#46186F is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.2% C 0.141 H 303.5°. Best body text is #FFFFFF at 12.96:1 contrast (WCAG AA passes).
Color values
| HEX | #46186F |
|---|---|
| RGB | rgb(70, 24, 111) |
| HSL | hsl(272, 64%, 26%) |
| HSV | hsv(272, 78%, 44%) |
| CMYK | cmyk(36.9%, 78.4%, 0%, 56.5%) |
| CIE-LAB | lab(20.45, 38.83, -41.20) |
| CIE-LCH | lch(20.45, 56.62, 313.30°) |
| OKLab | oklab(33.17% 0.0777 -0.1174) |
| OKLCH | oklch(33.17% 0.141 303.5) |
| XYZ | xyz(5.7210, 3.1031, 15.3334) |
| Luminance | 0.0310 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple (survey)
#4B006E
ΔE00 3.33
Indigo
#4B0082
ΔE00 4.45
Indigo (survey)
#380282
ΔE00 5.63
Dark Indigo
#1F0954
ΔE00 7.63
Midnight Blue
#191970
ΔE00 7.73
Plum Purple
#4E0550
ΔE00 7.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#46186F #416F18
analogous
#1B186F #46186F #6F186D
triadic
#46186F #6F4618 #186F46
tetradic
#46186F #6F1B18 #416F18 #186D6F
square
#46186F #6F1B18 #416F18 #186D6F
split-complementary
#46186F #6D6F18 #186F1B
monochromatic
#100519 #260D3D #46186F #6623A1 #852FD2
Accessibility & contrast
On white
12.96
#46186F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.62
#46186F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #46186F
12.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##46186F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##46186F | 1.00 | 12.96 | 1.62 | 12.96 |
| #FFFFFF | 12.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003071
Deuteranopia (green-blind)
#00316D
Tritanopia (blue-blind)
#3E2E42
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #46186f; /* rgb */ color: rgb(70, 24, 111); /* oklch */ color: oklch(33.2% 0.141 303.5);
Tailwind
colors: {
custom: {
50: '#7e5a99',
500: '#46186f',
950: '#000000',
},
}SCSS
$custom: #46186f; $custom-light: #7e5a99; $custom-dark: #000000;
JSON
{
"hex": "#46186f",
"rgb": {
"r": 70,
"g": 24,
"b": 111
},
"hsl": {
"h": 271.724,
"s": 64.444,
"l": 26.471
},
"oklch": {
"l": 0.33171,
"c": 0.14078,
"h": 303.5
},
"luminance": 0.03103
}Semantic roles & 50–950 ramp
primary
#46186F
secondary
#6EA53E
accent
#E7408F
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040E
muted
#7C797E