#46198F#46198F
#46198F is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.3% C 0.175 H 292.5°. Best body text is #FFFFFF at 11.69:1 contrast (WCAG AA passes).
Color values
| HEX | #46198F |
|---|---|
| RGB | rgb(70, 25, 143) |
| HSL | hsl(263, 70%, 33%) |
| HSV | hsv(263, 83%, 56%) |
| CMYK | cmyk(51%, 82.5%, 0%, 43.9%) |
| CIE-LAB | lab(23.61, 46.84, -56.33) |
| CIE-LCH | lch(23.61, 73.26, 309.75°) |
| OKLab | oklab(36.29% 0.0671 -0.1618) |
| OKLCH | oklch(36.29% 0.175 292.5) |
| XYZ | xyz(7.8299, 3.9802, 26.3370) |
| Luminance | 0.0398 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo
#4B0082
ΔE00 3.77
Indigo (survey)
#380282
ΔE00 4.06
Indigo Blue
#3A18B1
ΔE00 5.08
Royal
#0C1793
ΔE00 6.08
Ultramarine
#2000B1
ΔE00 6.39
Cobalt Blue
#030AA7
ΔE00 6.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#46198F #628F19
analogous
#19278F #46198F #81198F
triadic
#46198F #8F4619 #198F46
tetradic
#46198F #8F1927 #628F19 #198F81
square
#46198F #8F1927 #628F19 #198F81
split-complementary
#46198F #8F8119 #278F19
monochromatic
#130727 #2C105B #46198F #5F22C3 #7F44DE
Accessibility & contrast
On white
11.69
#46198F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.80
#46198F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #46198F
11.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##46198F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##46198F | 1.00 | 11.69 | 1.80 | 11.69 |
| #FFFFFF | 11.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.80 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003A92
Deuteranopia (green-blind)
#00368D
Tritanopia (blue-blind)
#2E3C55
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #46198f; /* rgb */ color: rgb(70, 25, 143); /* oklch */ color: oklch(36.3% 0.175 292.5);
Tailwind
colors: {
custom: {
50: '#825cb1',
500: '#46198f',
950: '#000000',
},
}SCSS
$custom: #46198f; $custom-light: #825cb1; $custom-dark: #000000;
JSON
{
"hex": "#46198f",
"rgb": {
"r": 70,
"g": 25,
"b": 143
},
"hsl": {
"h": 262.881,
"s": 70.238,
"l": 32.941
},
"oklch": {
"l": 0.36292,
"c": 0.17516,
"h": 292.5
},
"luminance": 0.03981
}Semantic roles & 50–950 ramp
primary
#46198F
secondary
#90BF44
accent
#ED3BA9
background
#F8F5FB
surface
#F0E9F6
border
#CBC5D0
text
#0B0411
muted
#7C7980