#46137F#46137F
#46137F is a dark, vivid violet. Relative luminance 0.033; OKLCH L 34.2% C 0.163 H 298.2°. Best body text is #FFFFFF at 12.65:1 contrast (WCAG AA passes).
Color values
| HEX | #46137F |
|---|---|
| RGB | rgb(70, 19, 127) |
| HSL | hsl(268, 74%, 29%) |
| HSV | hsv(268, 85%, 50%) |
| CMYK | cmyk(44.9%, 85%, 0%, 50.2%) |
| CIE-LAB | lab(21.21, 45.02, -50.23) |
| CIE-LCH | lch(21.21, 67.45, 311.87°) |
| OKLab | oklab(34.15% 0.077 -0.1438) |
| OKLCH | oklch(34.15% 0.163 298.2) |
| XYZ | xyz(6.5884, 3.3000, 20.3644) |
| Luminance | 0.0330 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo
#4B0082
ΔE00 2.16
Indigo (survey)
#380282
ΔE00 3.24
Royal Purple (survey)
#4B006E
ΔE00 4.01
Midnight Blue
#191970
ΔE00 7.34
Royal
#0C1793
ΔE00 7.35
Darkblue
#00008B
ΔE00 7.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#46137F #4C7F13
analogous
#13167F #46137F #7C137F
triadic
#46137F #7F4613 #137F46
tetradic
#46137F #7F1316 #4C7F13 #137F7C
square
#46137F #7F1316 #4C7F13 #137F7C
split-complementary
#46137F #7F7C13 #167F13
monochromatic
#0F041B #290B4A #46137F #631BB4 #812DE0
Accessibility & contrast
On white
12.65
#46137F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.66
#46137F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #46137F
12.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##46137F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##46137F | 1.00 | 12.65 | 1.66 | 12.65 |
| #FFFFFF | 12.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003382
Deuteranopia (green-blind)
#00327D
Tritanopia (blue-blind)
#37334A
Achromatopsia (no color)
#333333
Design tokens & code
CSS
--color: #46137f; /* rgb */ color: rgb(70, 19, 127); /* oklch */ color: oklch(34.2% 0.163 298.2);
Tailwind
colors: {
custom: {
50: '#8059a5',
500: '#46137f',
950: '#000000',
},
}SCSS
$custom: #46137f; $custom-light: #8059a5; $custom-dark: #000000;
JSON
{
"hex": "#46137f",
"rgb": {
"r": 70,
"g": 19,
"b": 127
},
"hsl": {
"h": 268.333,
"s": 73.973,
"l": 28.627
},
"oklch": {
"l": 0.34152,
"c": 0.16319,
"h": 298.2
},
"luminance": 0.033
}Semantic roles & 50–950 ramp
primary
#46137F
secondary
#7AB439
accent
#F13799
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0B040F
muted
#7C797F