#46319B#46319B
#46319B is a dark, vivid violet. Relative luminance 0.059; OKLCH L 40.5% C 0.163 H 285.6°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).
Color values
| HEX | #46319B |
|---|---|
| RGB | rgb(70, 49, 155) |
| HSL | hsl(252, 52%, 40%) |
| HSV | hsv(252, 68%, 61%) |
| CMYK | cmyk(54.8%, 68.4%, 0%, 39.2%) |
| CIE-LAB | lab(29.07, 38.09, -54.76) |
| CIE-LCH | lch(29.07, 66.70, 304.83°) |
| OKLab | oklab(40.49% 0.0439 -0.1573) |
| OKLCH | oklch(40.49% 0.163 285.6) |
| XYZ | xyz(9.5387, 5.8648, 31.6334) |
| Luminance | 0.0587 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkslateblue
#483D8B
ΔE00 4.82
Blueberry
#464196
ΔE00 4.96
Sapphire (survey)
#2138AB
ΔE00 5.77
Ocean Blue
#4F42B5
ΔE00 5.80
Indigo Blue
#3A18B1
ΔE00 5.87
Rebeccapurple
#663399
ΔE00 6.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#46319B #869B31
analogous
#31519B #46319B #7B319B
triadic
#46319B #9B4631 #319B46
tetradic
#46319B #9B3151 #869B31 #319B7B
square
#46319B #9B3151 #869B31 #319B7B
split-complementary
#46319B #9B7B31 #519B31
monochromatic
#1C143E #31226D #46319B #5E45C4 #8673D3
Accessibility & contrast
On white
9.66
#46319B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.17
#46319B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #46319B
9.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##46319B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##46319B | 1.00 | 9.66 | 2.17 | 9.66 |
| #FFFFFF | 9.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00479E
Deuteranopia (green-blind)
#004199
Tritanopia (blue-blind)
#224C62
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #46319b; /* rgb */ color: rgb(70, 49, 155); /* oklch */ color: oklch(40.5% 0.163 285.6);
Tailwind
colors: {
custom: {
50: '#826bb9',
500: '#46319b',
950: '#000000',
},
}SCSS
$custom: #46319b; $custom-light: #826bb9; $custom-dark: #000000;
JSON
{
"hex": "#46319b",
"rgb": {
"r": 70,
"g": 49,
"b": 155
},
"hsl": {
"h": 251.887,
"s": 51.961,
"l": 40
},
"oklch": {
"l": 0.40492,
"c": 0.16336,
"h": 285.6
},
"luminance": 0.05865
}Semantic roles & 50–950 ramp
primary
#46319B
secondary
#ABBB6D
accent
#DB4CBF
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0B0712
muted
#7C7A81