#46219F#46219F
#46219F is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.7% C 0.186 H 287.6°. Best body text is #FFFFFF at 10.61:1 contrast (WCAG AA passes).
Color values
| HEX | #46219F |
|---|---|
| RGB | rgb(70, 33, 159) |
| HSL | hsl(258, 66%, 38%) |
| HSV | hsv(258, 79%, 62%) |
| CMYK | cmyk(56%, 79.2%, 0%, 37.6%) |
| CIE-LAB | lab(26.43, 47.74, -61.53) |
| CIE-LCH | lch(26.43, 77.88, 307.81°) |
| OKLab | oklab(38.73% 0.0563 -0.1771) |
| OKLCH | oklch(38.73% 0.186 287.6) |
| XYZ | xyz(9.3258, 4.8925, 33.2471) |
| Luminance | 0.0489 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.09
Ultramarine
#2000B1
ΔE00 5.69
Violet Blue
#510AC9
ΔE00 5.82
Cobalt Blue
#030AA7
ΔE00 6.19
Royal
#0C1793
ΔE00 6.19
Royal Blue (survey)
#0504AA
ΔE00 6.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#46219F #7A9F21
analogous
#213B9F #46219F #85219F
triadic
#46219F #9F4621 #219F46
tetradic
#46219F #9F213B #7A9F21 #219F85
square
#46219F #9F213B #7A9F21 #219F85
split-complementary
#46219F #9F8521 #3B9F21
monochromatic
#190C3A #30166C #46219F #5C2CD2 #835DDD
Accessibility & contrast
On white
10.61
#46219F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.98
#46219F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #46219F
10.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##46219F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##46219F | 1.00 | 10.61 | 1.98 | 10.61 |
| #FFFFFF | 10.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0041A2
Deuteranopia (green-blind)
#003B9D
Tritanopia (blue-blind)
#1F4660
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #46219f; /* rgb */ color: rgb(70, 33, 159); /* oklch */ color: oklch(38.7% 0.186 287.6);
Tailwind
colors: {
custom: {
50: '#8461bd',
500: '#46219f',
950: '#000000',
},
}SCSS
$custom: #46219f; $custom-light: #8461bd; $custom-dark: #000000;
JSON
{
"hex": "#46219f",
"rgb": {
"r": 70,
"g": 33,
"b": 159
},
"hsl": {
"h": 257.619,
"s": 65.625,
"l": 37.647
},
"oklch": {
"l": 0.38734,
"c": 0.1858,
"h": 287.6
},
"luminance": 0.04893
}Semantic roles & 50–950 ramp
primary
#46219F
secondary
#A3C25A
accent
#E93FB7
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0512
muted
#7D7A81