#4C236F#4C236F
#4C236F is a dark, vivid violet. Relative luminance 0.039; OKLCH L 35.4% C 0.127 H 305.6°. Best body text is #FFFFFF at 11.82:1 contrast (WCAG AA passes).
Color values
| HEX | #4C236F |
|---|---|
| RGB | rgb(76, 35, 111) |
| HSL | hsl(272, 52%, 29%) |
| HSV | hsv(272, 68%, 44%) |
| CMYK | cmyk(31.5%, 68.5%, 0%, 56.5%) |
| CIE-LAB | lab(23.29, 34.58, -36.56) |
| CIE-LCH | lch(23.29, 50.33, 313.41°) |
| OKLab | oklab(35.38% 0.0742 -0.1036) |
| OKLCH | oklch(35.38% 0.127 305.6) |
| XYZ | xyz(6.4501, 3.8863, 15.4462) |
| Luminance | 0.0389 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple (survey)
#4B006E
ΔE00 5.52
Indigo
#4B0082
ΔE00 6.58
Indigo (survey)
#380282
ΔE00 8.02
Plum Purple
#4E0550
ΔE00 8.09
Rebeccapurple
#663399
ΔE00 8.24
Darkslateblue
#483D8B
ΔE00 8.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4C236F #466F23
analogous
#26236F #4C236F #6F236C
triadic
#4C236F #6F4C23 #236F4C
tetradic
#4C236F #6F2623 #466F23 #236C6F
square
#4C236F #6F2623 #466F23 #236C6F
split-complementary
#4C236F #6C6F23 #236F26
monochromatic
#100717 #2C1440 #4C236F #6C329E #8B47C5
Accessibility & contrast
On white
11.82
#4C236F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.78
#4C236F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4C236F
11.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4C236F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4C236F | 1.00 | 11.82 | 1.78 | 11.82 |
| #FFFFFF | 11.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 11.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003671
Deuteranopia (green-blind)
#0F386D
Tritanopia (blue-blind)
#463345
Achromatopsia (no color)
#373737
Design tokens & code
CSS
--color: #4c236f; /* rgb */ color: rgb(76, 35, 111); /* oklch */ color: oklch(35.4% 0.127 305.6);
Tailwind
colors: {
custom: {
50: '#816199',
500: '#4c236f',
950: '#000000',
},
}SCSS
$custom: #4c236f; $custom-light: #816199; $custom-dark: #000000;
JSON
{
"hex": "#4c236f",
"rgb": {
"r": 76,
"g": 35,
"b": 111
},
"hsl": {
"h": 272.368,
"s": 52.055,
"l": 28.627
},
"oklch": {
"l": 0.35379,
"c": 0.12744,
"h": 305.6
},
"luminance": 0.03886
}Semantic roles & 50–950 ramp
primary
#4C236F
secondary
#73A24C
accent
#DB4C8E
background
#F8F5F9
surface
#EFEAF2
border
#CAC6CC
text
#0B050E
muted
#7C797E