#46176F#46176F
#46176F is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.1% C 0.142 H 303.6°. Best body text is #FFFFFF at 13.02:1 contrast (WCAG AA passes).
Color values
| HEX | #46176F |
|---|---|
| RGB | rgb(70, 23, 111) |
| HSL | hsl(272, 66%, 26%) |
| HSV | hsv(272, 79%, 44%) |
| CMYK | cmyk(36.9%, 79.3%, 0%, 56.5%) |
| CIE-LAB | lab(20.29, 39.29, -41.46) |
| CIE-LCH | lch(20.29, 57.12, 313.45°) |
| OKLab | oklab(33.06% 0.0786 -0.1182) |
| OKLCH | oklch(33.06% 0.142 303.6) |
| XYZ | xyz(5.7008, 3.0626, 15.3267) |
| Luminance | 0.0306 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple (survey)
#4B006E
ΔE00 3.14
Indigo
#4B0082
ΔE00 4.31
Indigo (survey)
#380282
ΔE00 5.52
Dark Indigo
#1F0954
ΔE00 7.59
Midnight Blue
#191970
ΔE00 7.76
Plum Purple
#4E0550
ΔE00 7.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#46176F #406F17
analogous
#1A176F #46176F #6F176C
triadic
#46176F #6F4617 #176F46
tetradic
#46176F #6F1A17 #406F17 #176C6F
square
#46176F #6F1A17 #406F17 #176C6F
split-complementary
#46176F #6C6F17 #176F1A
monochromatic
#100519 #260C3C #46176F #6622A2 #862DD3
Accessibility & contrast
On white
13.02
#46176F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.61
#46176F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #46176F
13.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##46176F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##46176F | 1.00 | 13.02 | 1.61 | 13.02 |
| #FFFFFF | 13.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 13.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003071
Deuteranopia (green-blind)
#00316D
Tritanopia (blue-blind)
#3E2D42
Achromatopsia (no color)
#313131
Design tokens & code
CSS
--color: #46176f; /* rgb */ color: rgb(70, 23, 111); /* oklch */ color: oklch(33.1% 0.142 303.6);
Tailwind
colors: {
custom: {
50: '#7e5a99',
500: '#46176f',
950: '#000000',
},
}SCSS
$custom: #46176f; $custom-light: #7e5a99; $custom-dark: #000000;
JSON
{
"hex": "#46176f",
"rgb": {
"r": 70,
"g": 23,
"b": 111
},
"hsl": {
"h": 272.045,
"s": 65.672,
"l": 26.275
},
"oklch": {
"l": 0.33059,
"c": 0.14195,
"h": 303.6
},
"luminance": 0.03063
}Semantic roles & 50–950 ramp
primary
#46176F
secondary
#6DA53D
accent
#E93F8E
background
#F8F5F9
surface
#EFE9F2
border
#CAC5CC
text
#0A040E
muted
#7C797E