#4B218F#4B218F
#4B218F is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.7% C 0.167 H 294.2°. Best body text is #FFFFFF at 10.98:1 contrast (WCAG AA passes).
Color values
| HEX | #4B218F |
|---|---|
| RGB | rgb(75, 33, 143) |
| HSL | hsl(263, 63%, 35%) |
| HSV | hsv(263, 77%, 56%) |
| CMYK | cmyk(47.6%, 76.9%, 0%, 43.9%) |
| CIE-LAB | lab(25.46, 44.02, -53.26) |
| CIE-LCH | lch(25.46, 69.09, 309.57°) |
| OKLab | oklab(37.72% 0.0688 -0.1527) |
| OKLCH | oklch(37.72% 0.167 294.2) |
| XYZ | xyz(8.4021, 4.5665, 26.4200) |
| Luminance | 0.0457 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo
#4B0082
ΔE00 4.81
Indigo (survey)
#380282
ΔE00 5.58
Indigo Blue
#3A18B1
ΔE00 5.61
Rebeccapurple
#663399
ΔE00 6.19
Royal
#0C1793
ΔE00 7.12
Royal Purple (survey)
#4B006E
ΔE00 7.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4B218F #658F21
analogous
#212E8F #4B218F #82218F
triadic
#4B218F #8F4B21 #218F4B
tetradic
#4B218F #8F212E #658F21 #218F82
square
#4B218F #8F212E #658F21 #218F82
split-complementary
#4B218F #8F8221 #2E8F21
monochromatic
#170A2C #31165D #4B218F #652CC1 #8653D7
Accessibility & contrast
On white
10.98
#4B218F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.91
#4B218F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4B218F
10.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4B218F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4B218F | 1.00 | 10.98 | 1.91 | 10.98 |
| #FFFFFF | 10.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003D92
Deuteranopia (green-blind)
#003A8D
Tritanopia (blue-blind)
#373F57
Achromatopsia (no color)
#3C3C3C
Design tokens & code
CSS
--color: #4b218f; /* rgb */ color: rgb(75, 33, 143); /* oklch */ color: oklch(37.7% 0.167 294.2);
Tailwind
colors: {
custom: {
50: '#8461b1',
500: '#4b218f',
950: '#000000',
},
}SCSS
$custom: #4b218f; $custom-light: #8461b1; $custom-dark: #000000;
JSON
{
"hex": "#4b218f",
"rgb": {
"r": 75,
"g": 33,
"b": 143
},
"hsl": {
"h": 262.909,
"s": 62.5,
"l": 34.51
},
"oklch": {
"l": 0.37725,
"c": 0.16745,
"h": 294.2
},
"luminance": 0.04567
}Semantic roles & 50–950 ramp
primary
#4B218F
secondary
#92BB51
accent
#E642A7
background
#F8F5FB
surface
#F0EAF6
border
#CBC6D0
text
#0C0511
muted
#7D7980