#4B236E#4B236E
#4B236E is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.2% C 0.126 H 305.3°. Best body text is #FFFFFF at 11.90:1 contrast (WCAG AA passes).
Color values
| HEX | #4B236E |
|---|---|
| RGB | rgb(75, 35, 110) |
| HSL | hsl(272, 52%, 28%) |
| HSV | hsv(272, 68%, 43%) |
| CMYK | cmyk(31.8%, 68.2%, 0%, 56.9%) |
| CIE-LAB | lab(23.08, 34.08, -36.27) |
| CIE-LCH | lch(23.08, 49.77, 313.22°) |
| OKLab | oklab(35.17% 0.0728 -0.1028) |
| OKLCH | oklch(35.17% 0.126 305.3) |
| XYZ | xyz(6.3165, 3.8238, 15.1541) |
| Luminance | 0.0382 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple (survey)
#4B006E
ΔE00 5.59
Indigo
#4B0082
ΔE00 6.69
Plum Purple
#4E0550
ΔE00 8.05
Indigo (survey)
#380282
ΔE00 8.07
Rebeccapurple
#663399
ΔE00 8.44
Darkslateblue
#483D8B
ΔE00 8.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4B236E #466E23
analogous
#25236E #4B236E #6E236B
triadic
#4B236E #6E4B23 #236E4B
tetradic
#4B236E #6E2523 #466E23 #236B6E
square
#4B236E #6E2523 #466E23 #236B6E
split-complementary
#4B236E #6B6E23 #236E25
monochromatic
#100717 #2B1440 #4B236E #6B329C #8A47C4
Accessibility & contrast
On white
11.90
#4B236E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.76
#4B236E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4B236E
11.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4B236E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4B236E | 1.00 | 11.90 | 1.76 | 11.90 |
| #FFFFFF | 11.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003670
Deuteranopia (green-blind)
#0F376C
Tritanopia (blue-blind)
#453345
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #4b236e; /* rgb */ color: rgb(75, 35, 110); /* oklch */ color: oklch(35.2% 0.126 305.3);
Tailwind
colors: {
custom: {
50: '#806198',
500: '#4b236e',
950: '#000000',
},
}SCSS
$custom: #4b236e; $custom-light: #806198; $custom-dark: #000000;
JSON
{
"hex": "#4b236e",
"rgb": {
"r": 75,
"g": 35,
"b": 110
},
"hsl": {
"h": 272,
"s": 51.724,
"l": 28.431
},
"oklch": {
"l": 0.35173,
"c": 0.12596,
"h": 305.3
},
"luminance": 0.03824
}Semantic roles & 50–950 ramp
primary
#4B236E
secondary
#74A14C
accent
#DB4D8F
background
#F8F5F9
surface
#EFEAF2
border
#CAC6CC
text
#0B050E
muted
#7C797E