#4B2C8B#4B2C8B
#4B2C8B is a dark, vivid violet. Relative luminance 0.052; OKLCH L 38.8% C 0.149 H 293.2°. Best body text is #FFFFFF at 10.33:1 contrast (WCAG AA passes).
Color values
| HEX | #4B2C8B |
|---|---|
| RGB | rgb(75, 44, 139) |
| HSL | hsl(260, 52%, 36%) |
| HSV | hsv(260, 68%, 55%) |
| CMYK | cmyk(46%, 68.3%, 0%, 45.5%) |
| CIE-LAB | lab(27.19, 37.10, -47.96) |
| CIE-LCH | lch(27.19, 60.63, 307.72°) |
| OKLab | oklab(38.85% 0.0587 -0.1372) |
| OKLCH | oklch(38.85% 0.149 293.2) |
| XYZ | xyz(8.4613, 5.1610, 24.9715) |
| Luminance | 0.0516 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkslateblue
#483D8B
ΔE00 5.20
Rebeccapurple
#663399
ΔE00 5.34
Blueberry
#464196
ΔE00 6.57
Indigo
#4B0082
ΔE00 7.05
Indigo Blue
#3A18B1
ΔE00 7.21
Indigo (survey)
#380282
ΔE00 7.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4B2C8B #6C8B2C
analogous
#2C3C8B #4B2C8B #7A2C8B
triadic
#4B2C8B #8B4B2C #2C8B4B
tetradic
#4B2C8B #8B2C3C #6C8B2C #2C8B7A
square
#4B2C8B #8B2C3C #6C8B2C #2C8B7A
split-complementary
#4B2C8B #8B7A2C #3C8B2C
monochromatic
#190F2E #321D5D #4B2C8B #643BB9 #8664CE
Accessibility & contrast
On white
10.33
#4B2C8B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.03
#4B2C8B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4B2C8B
10.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4B2C8B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4B2C8B | 1.00 | 10.33 | 2.03 | 10.33 |
| #FFFFFF | 10.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00418E
Deuteranopia (green-blind)
#003E89
Tritanopia (blue-blind)
#394357
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #4b2c8b; /* rgb */ color: rgb(75, 44, 139); /* oklch */ color: oklch(38.8% 0.149 293.2);
Tailwind
colors: {
custom: {
50: '#8367ae',
500: '#4b2c8b',
950: '#000000',
},
}SCSS
$custom: #4b2c8b; $custom-light: #8367ae; $custom-dark: #000000;
JSON
{
"hex": "#4b2c8b",
"rgb": {
"r": 75,
"g": 44,
"b": 139
},
"hsl": {
"h": 259.579,
"s": 51.913,
"l": 35.882
},
"oklch": {
"l": 0.38845,
"c": 0.14922,
"h": 293.2
},
"luminance": 0.05161
}Semantic roles & 50–950 ramp
primary
#4B2C8B
secondary
#98B45F
accent
#DB4CAD
background
#F8F6FA
surface
#EFEBF4
border
#CAC6CE
text
#0B0610
muted
#7C7A7F