#4C239E#4C239E
#4C239E is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.5% C 0.183 H 290.7°. Best body text is #FFFFFF at 10.29:1 contrast (WCAG AA passes).
Color values
| HEX | #4C239E |
|---|---|
| RGB | rgb(76, 35, 158) |
| HSL | hsl(260, 64%, 38%) |
| HSV | hsv(260, 78%, 62%) |
| CMYK | cmyk(51.9%, 77.8%, 0%, 38%) |
| CIE-LAB | lab(27.32, 47.36, -59.43) |
| CIE-LCH | lch(27.32, 76.00, 308.55°) |
| OKLab | oklab(39.48% 0.0644 -0.1708) |
| OKLCH | oklch(39.48% 0.183 290.7) |
| XYZ | xyz(9.7513, 5.2068, 32.8323) |
| Luminance | 0.0521 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.87
Violet Blue
#510AC9
ΔE00 5.93
Rebeccapurple
#663399
ΔE00 6.04
Indigo
#4B0082
ΔE00 6.39
Ultramarine
#2000B1
ΔE00 6.59
Indigo (survey)
#380282
ΔE00 6.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4C239E #759E23
analogous
#23379E #4C239E #89239E
triadic
#4C239E #9E4C23 #239E4C
tetradic
#4C239E #9E2337 #759E23 #239E89
square
#4C239E #9E2337 #759E23 #239E89
split-complementary
#4C239E #9E8923 #379E23
monochromatic
#1C0D3A #34186C #4C239E #642ED0 #8960DC
Accessibility & contrast
On white
10.29
#4C239E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.04
#4C239E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4C239E
10.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4C239E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4C239E | 1.00 | 10.29 | 2.04 | 10.29 |
| #FFFFFF | 10.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0043A1
Deuteranopia (green-blind)
#003E9C
Tritanopia (blue-blind)
#2F4660
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #4c239e; /* rgb */ color: rgb(76, 35, 158); /* oklch */ color: oklch(39.5% 0.183 290.7);
Tailwind
colors: {
custom: {
50: '#8763bc',
500: '#4c239e',
950: '#000000',
},
}SCSS
$custom: #4c239e; $custom-light: #8763bc; $custom-dark: #000000;
JSON
{
"hex": "#4c239e",
"rgb": {
"r": 76,
"g": 35,
"b": 158
},
"hsl": {
"h": 260,
"s": 63.731,
"l": 37.843
},
"oklch": {
"l": 0.3948,
"c": 0.18252,
"h": 290.7
},
"luminance": 0.05207
}Semantic roles & 50–950 ramp
primary
#4C239E
secondary
#9FC15C
accent
#E741B0
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0512
muted
#7D7A81