#4B2E95#4B2E95
#4B2E95 is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.0% C 0.159 H 290.2°. Best body text is #FFFFFF at 9.89:1 contrast (WCAG AA passes).
Color values
| HEX | #4B2E95 |
|---|---|
| RGB | rgb(75, 46, 149) |
| HSL | hsl(257, 53%, 38%) |
| HSV | hsv(257, 69%, 58%) |
| CMYK | cmyk(49.7%, 69.1%, 0%, 41.6%) |
| CIE-LAB | lab(28.43, 38.90, -52.11) |
| CIE-LCH | lch(28.43, 65.03, 306.75°) |
| OKLab | oklab(40% 0.0551 -0.1494) |
| OKLCH | oklch(40% 0.159 290.2) |
| XYZ | xyz(9.3019, 5.6194, 29.0225) |
| Luminance | 0.0562 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.09
Rebeccapurple
#663399
ΔE00 5.17
Blueberry
#464196
ΔE00 5.85
Indigo Blue
#3A18B1
ΔE00 6.15
Ocean Blue
#4F42B5
ΔE00 6.96
Sapphire (survey)
#2138AB
ΔE00 7.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4B2E95 #78952E
analogous
#2E4495 #4B2E95 #7E2E95
triadic
#4B2E95 #954B2E #2E954B
tetradic
#4B2E95 #952E44 #78952E #2E957E
square
#4B2E95 #952E44 #78952E #2E957E
split-complementary
#4B2E95 #957E2E #44952E
monochromatic
#1C1137 #332066 #4B2E95 #633DC3 #886CD2
Accessibility & contrast
On white
9.89
#4B2E95 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.12
#4B2E95 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4B2E95
9.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4B2E95 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4B2E95 | 1.00 | 9.89 | 2.12 | 9.89 |
| #FFFFFF | 9.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004598
Deuteranopia (green-blind)
#004193
Tritanopia (blue-blind)
#33485D
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #4b2e95; /* rgb */ color: rgb(75, 46, 149); /* oklch */ color: oklch(40.0% 0.159 290.2);
Tailwind
colors: {
custom: {
50: '#8469b5',
500: '#4b2e95',
950: '#000000',
},
}SCSS
$custom: #4b2e95; $custom-light: #8469b5; $custom-dark: #000000;
JSON
{
"hex": "#4b2e95",
"rgb": {
"r": 75,
"g": 46,
"b": 149
},
"hsl": {
"h": 256.893,
"s": 52.821,
"l": 38.235
},
"oklch": {
"l": 0.39996,
"c": 0.15921,
"h": 290.2
},
"luminance": 0.0562
}Semantic roles & 50–950 ramp
primary
#4B2E95
secondary
#A1B966
accent
#DC4CB4
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0611
muted
#7D7A80