#46186C#46186C
#46186C is a dark, vivid violet. Relative luminance 0.030; OKLCH L 32.9% C 0.137 H 304.8°. Best body text is #FFFFFF at 13.06:1 contrast (WCAG AA passes).
Color values
| HEX | #46186C |
|---|---|
| RGB | rgb(70, 24, 108) |
| HSL | hsl(273, 64%, 26%) |
| HSV | hsv(273, 78%, 42%) |
| CMYK | cmyk(35.2%, 77.8%, 0%, 57.6%) |
| CIE-LAB | lab(20.20, 38.06, -39.67) |
| CIE-LCH | lch(20.20, 54.98, 313.81°) |
| OKLab | oklab(32.91% 0.0784 -0.1129) |
| OKLCH | oklch(32.91% 0.137 304.8) |
| XYZ | xyz(5.5586, 3.0381, 14.4780) |
| Luminance | 0.0304 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple (survey)
#4B006E
ΔE00 3.37
Indigo
#4B0082
ΔE00 4.92
Indigo (survey)
#380282
ΔE00 6.12
Plum Purple
#4E0550
ΔE00 7.41
Dark Indigo
#1F0954
ΔE00 7.53
Midnight Blue
#191970
ΔE00 8.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#46186C #3E6C18
analogous
#1C186C #46186C #6C1868
triadic
#46186C #6C4618 #186C46
tetradic
#46186C #6C1C18 #3E6C18 #18686C
square
#46186C #6C1C18 #3E6C18 #18686C
split-complementary
#46186C #686C18 #186C1C
monochromatic
#100619 #260D3A #46186C #66239E #872ED0
Accessibility & contrast
On white
13.06
#46186C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.61
#46186C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #46186C
13.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##46186C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##46186C | 1.00 | 13.06 | 1.61 | 13.06 |
| #FFFFFF | 13.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00306E
Deuteranopia (green-blind)
#00316A
Tritanopia (blue-blind)
#3F2D41
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #46186c; /* rgb */ color: rgb(70, 24, 108); /* oklch */ color: oklch(32.9% 0.137 304.8);
Tailwind
colors: {
custom: {
50: '#7e5a97',
500: '#46186c',
950: '#000000',
},
}SCSS
$custom: #46186c; $custom-light: #7e5a97; $custom-dark: #000000;
JSON
{
"hex": "#46186c",
"rgb": {
"r": 70,
"g": 24,
"b": 108
},
"hsl": {
"h": 272.857,
"s": 63.636,
"l": 25.882
},
"oklch": {
"l": 0.3291,
"c": 0.13744,
"h": 304.8
},
"luminance": 0.03038
}Semantic roles & 50–950 ramp
primary
#46186C
secondary
#6BA23E
accent
#E7418C
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040D
muted
#7C797E