#4C239A#4C239A
#4C239A is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.1% C 0.178 H 291.6°. Best body text is #FFFFFF at 10.42:1 contrast (WCAG AA passes).
Color values
| HEX | #4C239A |
|---|---|
| RGB | rgb(76, 35, 154) |
| HSL | hsl(261, 63%, 37%) |
| HSV | hsv(261, 77%, 60%) |
| CMYK | cmyk(50.6%, 77.3%, 0%, 39.6%) |
| CIE-LAB | lab(26.94, 46.25, -57.61) |
| CIE-LCH | lch(26.94, 73.88, 308.76°) |
| OKLab | oklab(39.1% 0.0656 -0.1654) |
| OKLCH | oklch(39.1% 0.178 291.6) |
| XYZ | xyz(9.4126, 5.0713, 31.0485) |
| Luminance | 0.0507 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.32
Rebeccapurple
#663399
ΔE00 5.92
Indigo
#4B0082
ΔE00 6.01
Violet Blue
#510AC9
ΔE00 6.48
Indigo (survey)
#380282
ΔE00 6.56
Ultramarine
#2000B1
ΔE00 6.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4C239A #719A23
analogous
#23369A #4C239A #88239A
triadic
#4C239A #9A4C23 #239A4C
tetradic
#4C239A #9A2336 #719A23 #239A88
square
#4C239A #9A2336 #719A23 #239A88
split-complementary
#4C239A #9A8823 #369A23
monochromatic
#1B0C36 #331868 #4C239A #652ECC #885DDA
Accessibility & contrast
On white
10.42
#4C239A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.01
#4C239A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4C239A
10.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4C239A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4C239A | 1.00 | 10.42 | 2.01 | 10.42 |
| #FFFFFF | 10.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00419D
Deuteranopia (green-blind)
#003D98
Tritanopia (blue-blind)
#32445D
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #4c239a; /* rgb */ color: rgb(76, 35, 154); /* oklch */ color: oklch(39.1% 0.178 291.6);
Tailwind
colors: {
custom: {
50: '#8663b9',
500: '#4c239a',
950: '#000000',
},
}SCSS
$custom: #4c239a; $custom-light: #8663b9; $custom-dark: #000000;
JSON
{
"hex": "#4c239a",
"rgb": {
"r": 76,
"g": 35,
"b": 154
},
"hsl": {
"h": 260.672,
"s": 62.963,
"l": 37.059
},
"oklch": {
"l": 0.391,
"c": 0.17796,
"h": 291.6
},
"luminance": 0.05072
}Semantic roles & 50–950 ramp
primary
#4C239A
secondary
#9CBF5A
accent
#E642AD
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0512
muted
#7D7A81