#4B2E86#4B2E86
#4B2E86 is a dark, vivid violet. Relative luminance 0.052; OKLCH L 38.7% C 0.140 H 294.0°. Best body text is #FFFFFF at 10.32:1 contrast (WCAG AA passes).
Color values
| HEX | #4B2E86 |
|---|---|
| RGB | rgb(75, 46, 134) |
| HSL | hsl(260, 49%, 35%) |
| HSV | hsv(260, 66%, 53%) |
| CMYK | cmyk(44%, 65.7%, 0%, 47.5%) |
| CIE-LAB | lab(27.22, 34.48, -44.80) |
| CIE-LCH | lch(27.22, 56.54, 307.58°) |
| OKLab | oklab(38.74% 0.0571 -0.1279) |
| OKLCH | oklch(38.74% 0.14 294) |
| XYZ | xyz(8.1806, 5.1709, 23.1167) |
| Luminance | 0.0517 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkslateblue
#483D8B
ΔE00 4.69
Rebeccapurple
#663399
ΔE00 5.53
Blueberry
#464196
ΔE00 6.38
Indigo
#4B0082
ΔE00 7.58
Indigo Blue
#3A18B1
ΔE00 8.27
Indigo (survey)
#380282
ΔE00 8.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4B2E86 #69862E
analogous
#2E3D86 #4B2E86 #772E86
triadic
#4B2E86 #864B2E #2E864B
tetradic
#4B2E86 #862E3D #69862E #2E8677
square
#4B2E86 #862E3D #69862E #2E8677
split-complementary
#4B2E86 #86772E #3D862E
monochromatic
#180F2B #311E58 #4B2E86 #653EB4 #8664CA
Accessibility & contrast
On white
10.32
#4B2E86 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.03
#4B2E86 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4B2E86
10.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4B2E86 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4B2E86 | 1.00 | 10.32 | 2.03 | 10.32 |
| #FFFFFF | 10.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004189
Deuteranopia (green-blind)
#003F84
Tritanopia (blue-blind)
#3B4255
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #4b2e86; /* rgb */ color: rgb(75, 46, 134); /* oklch */ color: oklch(38.7% 0.140 294.0);
Tailwind
colors: {
custom: {
50: '#8268aa',
500: '#4b2e86',
950: '#000000',
},
}SCSS
$custom: #4b2e86; $custom-light: #8268aa; $custom-dark: #000000;
JSON
{
"hex": "#4b2e86",
"rgb": {
"r": 75,
"g": 46,
"b": 134
},
"hsl": {
"h": 259.773,
"s": 48.889,
"l": 35.294
},
"oklch": {
"l": 0.3874,
"c": 0.14005,
"h": 294
},
"luminance": 0.05171
}Semantic roles & 50–950 ramp
primary
#4B2E86
secondary
#96B15F
accent
#D84FAB
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0610
muted
#7C7A7F