#46218F#46218F
#46218F is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.2% C 0.167 H 291.4°. Best body text is #FFFFFF at 11.20:1 contrast (WCAG AA passes).
Color values
| HEX | #46218F |
|---|---|
| RGB | rgb(70, 33, 143) |
| HSL | hsl(260, 63%, 35%) |
| HSV | hsv(260, 77%, 56%) |
| CMYK | cmyk(51%, 76.9%, 0%, 43.9%) |
| CIE-LAB | lab(24.87, 43.21, -54.26) |
| CIE-LCH | lch(24.87, 69.36, 308.53°) |
| OKLab | oklab(37.17% 0.061 -0.1558) |
| OKLCH | oklch(37.17% 0.167 291.4) |
| XYZ | xyz(8.0262, 4.3727, 26.4024) |
| Luminance | 0.0437 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo
#4B0082
ΔE00 5.02
Indigo Blue
#3A18B1
ΔE00 5.25
Indigo (survey)
#380282
ΔE00 5.27
Royal
#0C1793
ΔE00 6.30
Rebeccapurple
#663399
ΔE00 6.87
Ultramarine
#2000B1
ΔE00 7.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#46218F #6A8F21
analogous
#21338F #46218F #7D218F
triadic
#46218F #8F4621 #218F46
tetradic
#46218F #8F2133 #6A8F21 #218F7D
square
#46218F #8F2133 #6A8F21 #218F7D
split-complementary
#46218F #8F7D21 #338F21
monochromatic
#150A2C #2E165D #46218F #5E2CC1 #8053D7
Accessibility & contrast
On white
11.20
#46218F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.87
#46218F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #46218F
11.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##46218F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##46218F | 1.00 | 11.20 | 1.87 | 11.20 |
| #FFFFFF | 11.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003D92
Deuteranopia (green-blind)
#00398D
Tritanopia (blue-blind)
#2D3F57
Achromatopsia (no color)
#3B3B3B
Design tokens & code
CSS
--color: #46218f; /* rgb */ color: rgb(70, 33, 143); /* oklch */ color: oklch(37.2% 0.167 291.4);
Tailwind
colors: {
custom: {
50: '#8161b1',
500: '#46218f',
950: '#000000',
},
}SCSS
$custom: #46218f; $custom-light: #8161b1; $custom-dark: #000000;
JSON
{
"hex": "#46218f",
"rgb": {
"r": 70,
"g": 33,
"b": 143
},
"hsl": {
"h": 260.182,
"s": 62.5,
"l": 34.51
},
"oklch": {
"l": 0.37171,
"c": 0.16729,
"h": 291.4
},
"luminance": 0.04373
}Semantic roles & 50–950 ramp
primary
#46218F
secondary
#97BB51
accent
#E642AF
background
#F8F5FB
surface
#EFEAF6
border
#CAC6D0
text
#0B0511
muted
#7C7980