#4C239C#4C239C
#4C239C is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.3% C 0.180 H 291.1°. Best body text is #FFFFFF at 10.36:1 contrast (WCAG AA passes).
Color values
| HEX | #4C239C |
|---|---|
| RGB | rgb(76, 35, 156) |
| HSL | hsl(260, 63%, 37%) |
| HSV | hsv(260, 78%, 61%) |
| CMYK | cmyk(51.3%, 77.6%, 0%, 38.8%) |
| CIE-LAB | lab(27.13, 46.81, -58.52) |
| CIE-LCH | lch(27.13, 74.94, 308.65°) |
| OKLab | oklab(39.29% 0.065 -0.1681) |
| OKLCH | oklch(39.29% 0.18 291.1) |
| XYZ | xyz(9.5806, 5.1385, 31.9331) |
| Luminance | 0.0514 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.09
Rebeccapurple
#663399
ΔE00 5.97
Indigo
#4B0082
ΔE00 6.20
Violet Blue
#510AC9
ΔE00 6.20
Indigo (survey)
#380282
ΔE00 6.71
Ultramarine
#2000B1
ΔE00 6.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4C239C #739C23
analogous
#23369C #4C239C #89239C
triadic
#4C239C #9C4C23 #239C4C
tetradic
#4C239C #9C2336 #739C23 #239C89
square
#4C239C #9C2336 #739C23 #239C89
split-complementary
#4C239C #9C8923 #369C23
monochromatic
#1B0D38 #34186A #4C239C #642ECE #895EDB
Accessibility & contrast
On white
10.36
#4C239C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.03
#4C239C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4C239C
10.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4C239C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4C239C | 1.00 | 10.36 | 2.03 | 10.36 |
| #FFFFFF | 10.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00429F
Deuteranopia (green-blind)
#003D9A
Tritanopia (blue-blind)
#30455E
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #4c239c; /* rgb */ color: rgb(76, 35, 156); /* oklch */ color: oklch(39.3% 0.180 291.1);
Tailwind
colors: {
custom: {
50: '#8763ba',
500: '#4c239c',
950: '#000000',
},
}SCSS
$custom: #4c239c; $custom-light: #8763ba; $custom-dark: #000000;
JSON
{
"hex": "#4c239c",
"rgb": {
"r": 76,
"g": 35,
"b": 156
},
"hsl": {
"h": 260.331,
"s": 63.351,
"l": 37.451
},
"oklch": {
"l": 0.39289,
"c": 0.18024,
"h": 291.1
},
"luminance": 0.05139
}Semantic roles & 50–950 ramp
primary
#4C239C
secondary
#9EC05B
accent
#E641AE
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0512
muted
#7D7A81