#4B236F#4B236F
#4B236F is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.3% C 0.127 H 304.9°. Best body text is #FFFFFF at 11.87:1 contrast (WCAG AA passes).
Color values
| HEX | #4B236F |
|---|---|
| RGB | rgb(75, 35, 111) |
| HSL | hsl(272, 52%, 29%) |
| HSV | hsv(272, 68%, 44%) |
| CMYK | cmyk(32.4%, 68.5%, 0%, 56.5%) |
| CIE-LAB | lab(23.15, 34.34, -36.79) |
| CIE-LCH | lch(23.15, 50.33, 313.03°) |
| OKLab | oklab(35.25% 0.0727 -0.1043) |
| OKLCH | oklch(35.25% 0.127 304.9) |
| XYZ | xyz(6.3713, 3.8457, 15.4425) |
| Luminance | 0.0385 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple (survey)
#4B006E
ΔE00 5.54
Indigo
#4B0082
ΔE00 6.54
Indigo (survey)
#380282
ΔE00 7.91
Plum Purple
#4E0550
ΔE00 8.21
Rebeccapurple
#663399
ΔE00 8.30
Darkslateblue
#483D8B
ΔE00 8.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4B236F #476F23
analogous
#25236F #4B236F #6F236D
triadic
#4B236F #6F4B23 #236F4B
tetradic
#4B236F #6F2523 #476F23 #236D6F
square
#4B236F #6F2523 #476F23 #236D6F
split-complementary
#4B236F #6D6F23 #236F25
monochromatic
#100717 #2C1440 #4B236F #6A329E #8A47C5
Accessibility & contrast
On white
11.87
#4B236F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.77
#4B236F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4B236F
11.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4B236F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4B236F | 1.00 | 11.87 | 1.77 | 11.87 |
| #FFFFFF | 11.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003671
Deuteranopia (green-blind)
#0D376D
Tritanopia (blue-blind)
#443345
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #4b236f; /* rgb */ color: rgb(75, 35, 111); /* oklch */ color: oklch(35.3% 0.127 304.9);
Tailwind
colors: {
custom: {
50: '#816199',
500: '#4b236f',
950: '#000000',
},
}SCSS
$custom: #4b236f; $custom-light: #816199; $custom-dark: #000000;
JSON
{
"hex": "#4b236f",
"rgb": {
"r": 75,
"g": 35,
"b": 111
},
"hsl": {
"h": 271.579,
"s": 52.055,
"l": 28.627
},
"oklch": {
"l": 0.3525,
"c": 0.12717,
"h": 304.9
},
"luminance": 0.03846
}Semantic roles & 50–950 ramp
primary
#4B236F
secondary
#75A24C
accent
#DB4C90
background
#F8F5F9
surface
#EFEAF2
border
#CAC6CC
text
#0B050E
muted
#7C797E