#46218C#46218C
#46218C is a dark, vivid violet. Relative luminance 0.043; OKLCH L 36.9% C 0.164 H 292.2°. Best body text is #FFFFFF at 11.31:1 contrast (WCAG AA passes).
Color values
| HEX | #46218C |
|---|---|
| RGB | rgb(70, 33, 140) |
| HSL | hsl(261, 62%, 34%) |
| HSV | hsv(261, 76%, 55%) |
| CMYK | cmyk(50%, 76.4%, 0%, 45.1%) |
| CIE-LAB | lab(24.59, 42.36, -52.85) |
| CIE-LCH | lch(24.59, 67.73, 308.71°) |
| OKLab | oklab(36.89% 0.0618 -0.1517) |
| OKLCH | oklch(36.89% 0.164 292.2) |
| XYZ | xyz(7.8019, 4.2830, 25.2215) |
| Luminance | 0.0428 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo
#4B0082
ΔE00 4.85
Indigo (survey)
#380282
ΔE00 5.17
Indigo Blue
#3A18B1
ΔE00 5.71
Royal
#0C1793
ΔE00 6.45
Rebeccapurple
#663399
ΔE00 6.91
Royal Purple (survey)
#4B006E
ΔE00 7.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#46218C #678C21
analogous
#21318C #46218C #7C218C
triadic
#46218C #8C4621 #218C46
tetradic
#46218C #8C2131 #678C21 #218C7C
square
#46218C #8C2131 #678C21 #218C7C
split-complementary
#46218C #8C7C21 #318C21
monochromatic
#140A29 #2D155A #46218C #5F2DBE #7F51D6
Accessibility & contrast
On white
11.31
#46218C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.86
#46218C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #46218C
11.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##46218C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##46218C | 1.00 | 11.31 | 1.86 | 11.31 |
| #FFFFFF | 11.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003C8F
Deuteranopia (green-blind)
#00388A
Tritanopia (blue-blind)
#2F3E55
Achromatopsia (no color)
#3A3A3A
Design tokens & code
CSS
--color: #46218c; /* rgb */ color: rgb(70, 33, 140); /* oklch */ color: oklch(36.9% 0.164 292.2);
Tailwind
colors: {
custom: {
50: '#8160af',
500: '#46218c',
950: '#000000',
},
}SCSS
$custom: #46218c; $custom-light: #8160af; $custom-dark: #000000;
JSON
{
"hex": "#46218c",
"rgb": {
"r": 70,
"g": 33,
"b": 140
},
"hsl": {
"h": 260.748,
"s": 61.85,
"l": 33.922
},
"oklch": {
"l": 0.36887,
"c": 0.16377,
"h": 292.2
},
"luminance": 0.04283
}Semantic roles & 50–950 ramp
primary
#46218C
secondary
#95B94F
accent
#E543AD
background
#F8F5FA
surface
#EFEAF5
border
#CAC6CF
text
#0B0510
muted
#7C797F