#46319E#46319E
#46319E is a dark, vivid violet. Relative luminance 0.060; OKLCH L 40.8% C 0.167 H 285.1°. Best body text is #FFFFFF at 9.57:1 contrast (WCAG AA passes).
Color values
| HEX | #46319E |
|---|---|
| RGB | rgb(70, 49, 158) |
| HSL | hsl(252, 53%, 41%) |
| HSV | hsv(252, 69%, 62%) |
| CMYK | cmyk(55.7%, 69%, 0%, 38%) |
| CIE-LAB | lab(29.33, 39.03, -56.16) |
| CIE-LCH | lch(29.33, 68.39, 304.80°) |
| OKLab | oklab(40.76% 0.0435 -0.1614) |
| OKLCH | oklch(40.76% 0.167 285.1) |
| XYZ | xyz(9.7938, 5.9668, 32.9768) |
| Luminance | 0.0597 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blueberry
#464196
ΔE00 5.08
Darkslateblue
#483D8B
ΔE00 5.13
Ocean Blue
#4F42B5
ΔE00 5.53
Sapphire (survey)
#2138AB
ΔE00 5.57
Indigo Blue
#3A18B1
ΔE00 5.61
Rebeccapurple
#663399
ΔE00 6.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#46319E #899E31
analogous
#31529E #46319E #7C319E
triadic
#46319E #9E4631 #319E46
tetradic
#46319E #9E3152 #899E31 #319E7C
square
#46319E #9E3152 #899E31 #319E7C
split-complementary
#46319E #9E7C31 #529E31
monochromatic
#1D1441 #31236F #46319E #5F46C6 #8775D4
Accessibility & contrast
On white
9.57
#46319E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.19
#46319E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #46319E
9.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##46319E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##46319E | 1.00 | 9.57 | 2.19 | 9.57 |
| #FFFFFF | 9.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0048A1
Deuteranopia (green-blind)
#00429C
Tritanopia (blue-blind)
#1F4D63
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #46319e; /* rgb */ color: rgb(70, 49, 158); /* oklch */ color: oklch(40.8% 0.167 285.1);
Tailwind
colors: {
custom: {
50: '#836bbc',
500: '#46319e',
950: '#000000',
},
}SCSS
$custom: #46319e; $custom-light: #836bbc; $custom-dark: #000000;
JSON
{
"hex": "#46319e",
"rgb": {
"r": 70,
"g": 49,
"b": 158
},
"hsl": {
"h": 251.56,
"s": 52.657,
"l": 40.588
},
"oklch": {
"l": 0.40759,
"c": 0.1672,
"h": 285.1
},
"luminance": 0.05967
}Semantic roles & 50–950 ramp
primary
#46319E
secondary
#ADBC6E
accent
#DC4CC0
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0B0712
muted
#7C7A81