#46188F#46188F
#46188F is a dark, vivid violet. Relative luminance 0.039; OKLCH L 36.2% C 0.176 H 292.7°. Best body text is #FFFFFF at 11.75:1 contrast (WCAG AA passes).
Color values
| HEX | #46188F |
|---|---|
| RGB | rgb(70, 24, 143) |
| HSL | hsl(263, 71%, 33%) |
| HSV | hsv(263, 83%, 56%) |
| CMYK | cmyk(51%, 83.2%, 0%, 43.9%) |
| CIE-LAB | lab(23.47, 47.25, -56.56) |
| CIE-LCH | lch(23.47, 73.70, 309.88°) |
| OKLab | oklab(36.2% 0.0678 -0.1624) |
| OKLCH | oklch(36.2% 0.176 292.7) |
| XYZ | xyz(7.8090, 3.9382, 26.3300) |
| Luminance | 0.0394 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo
#4B0082
ΔE00 3.64
Indigo (survey)
#380282
ΔE00 3.94
Indigo Blue
#3A18B1
ΔE00 5.09
Royal
#0C1793
ΔE00 6.07
Ultramarine
#2000B1
ΔE00 6.33
Cobalt Blue
#030AA7
ΔE00 6.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#46188F #618F18
analogous
#18268F #46188F #81188F
triadic
#46188F #8F4618 #188F46
tetradic
#46188F #8F1826 #618F18 #188F81
square
#46188F #8F1826 #618F18 #188F81
split-complementary
#46188F #8F8118 #268F18
monochromatic
#130626 #2C0F5B #46188F #6021C3 #7F42DF
Accessibility & contrast
On white
11.75
#46188F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.79
#46188F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #46188F
11.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##46188F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##46188F | 1.00 | 11.75 | 1.79 | 11.75 |
| #FFFFFF | 11.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003992
Deuteranopia (green-blind)
#00368D
Tritanopia (blue-blind)
#2E3B55
Achromatopsia (no color)
#383838
Design tokens & code
CSS
--color: #46188f; /* rgb */ color: rgb(70, 24, 143); /* oklch */ color: oklch(36.2% 0.176 292.7);
Tailwind
colors: {
custom: {
50: '#825cb1',
500: '#46188f',
950: '#000000',
},
}SCSS
$custom: #46188f; $custom-light: #825cb1; $custom-dark: #000000;
JSON
{
"hex": "#46188f",
"rgb": {
"r": 70,
"g": 24,
"b": 143
},
"hsl": {
"h": 263.193,
"s": 71.257,
"l": 32.745
},
"oklch": {
"l": 0.36196,
"c": 0.17603,
"h": 292.7
},
"luminance": 0.03939
}Semantic roles & 50–950 ramp
primary
#46188F
secondary
#90C043
accent
#EE3AA8
background
#F8F5FB
surface
#F0E9F6
border
#CBC5D0
text
#0B0411
muted
#7C7980