#46319F#46319F
#46319F is a dark, vivid violet. Relative luminance 0.060; OKLCH L 40.8% C 0.168 H 284.9°. Best body text is #FFFFFF at 9.54:1 contrast (WCAG AA passes).
Color values
| HEX | #46319F |
|---|---|
| RGB | rgb(70, 49, 159) |
| HSL | hsl(251, 53%, 41%) |
| HSV | hsv(251, 69%, 62%) |
| CMYK | cmyk(56%, 69.2%, 0%, 37.6%) |
| CIE-LAB | lab(29.42, 39.34, -56.62) |
| CIE-LCH | lch(29.42, 68.95, 304.79°) |
| OKLab | oklab(40.85% 0.0433 -0.1628) |
| OKLCH | oklch(40.85% 0.168 284.9) |
| XYZ | xyz(9.8802, 6.0014, 33.4319) |
| Luminance | 0.0600 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blueberry
#464196
ΔE00 5.13
Darkslateblue
#483D8B
ΔE00 5.24
Ocean Blue
#4F42B5
ΔE00 5.44
Sapphire (survey)
#2138AB
ΔE00 5.51
Indigo Blue
#3A18B1
ΔE00 5.53
Rebeccapurple
#663399
ΔE00 6.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#46319F #8A9F31
analogous
#31539F #46319F #7D319F
triadic
#46319F #9F4631 #319F46
tetradic
#46319F #9F3153 #8A9F31 #319F7D
square
#46319F #9F3153 #8A9F31 #319F7D
split-complementary
#46319F #9F7D31 #539F31
monochromatic
#1D1441 #312370 #46319F #5F47C6 #8876D5
Accessibility & contrast
On white
9.54
#46319F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.20
#46319F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #46319F
9.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##46319F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##46319F | 1.00 | 9.54 | 2.20 | 9.54 |
| #FFFFFF | 9.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0048A2
Deuteranopia (green-blind)
#00429D
Tritanopia (blue-blind)
#1D4D64
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #46319f; /* rgb */ color: rgb(70, 49, 159); /* oklch */ color: oklch(40.8% 0.168 284.9);
Tailwind
colors: {
custom: {
50: '#836bbc',
500: '#46319f',
950: '#000000',
},
}SCSS
$custom: #46319f; $custom-light: #836bbc; $custom-dark: #000000;
JSON
{
"hex": "#46319f",
"rgb": {
"r": 70,
"g": 49,
"b": 159
},
"hsl": {
"h": 251.455,
"s": 52.885,
"l": 40.784
},
"oklch": {
"l": 0.40849,
"c": 0.16847,
"h": 284.9
},
"luminance": 0.06002
}Semantic roles & 50–950 ramp
primary
#46319F
secondary
#AEBD6F
accent
#DC4CC1
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0712
muted
#7D7A81