#4C239B#4C239B
#4C239B is a dark, vivid violet. Relative luminance 0.051; OKLCH L 39.2% C 0.179 H 291.4°. Best body text is #FFFFFF at 10.39:1 contrast (WCAG AA passes).
Color values
| HEX | #4C239B |
|---|---|
| RGB | rgb(76, 35, 155) |
| HSL | hsl(261, 63%, 37%) |
| HSV | hsv(261, 77%, 61%) |
| CMYK | cmyk(51%, 77.4%, 0%, 39.2%) |
| CIE-LAB | lab(27.03, 46.53, -58.07) |
| CIE-LCH | lch(27.03, 74.41, 308.71°) |
| OKLab | oklab(39.19% 0.0653 -0.1668) |
| OKLCH | oklch(39.19% 0.179 291.4) |
| XYZ | xyz(9.4962, 5.1047, 31.4889) |
| Luminance | 0.0510 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.20
Rebeccapurple
#663399
ΔE00 5.94
Indigo
#4B0082
ΔE00 6.10
Violet Blue
#510AC9
ΔE00 6.34
Indigo (survey)
#380282
ΔE00 6.63
Ultramarine
#2000B1
ΔE00 6.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4C239B #729B23
analogous
#23369B #4C239B #88239B
triadic
#4C239B #9B4C23 #239B4C
tetradic
#4C239B #9B2336 #729B23 #239B88
square
#4C239B #9B2336 #729B23 #239B88
split-complementary
#4C239B #9B8823 #369B23
monochromatic
#1B0C37 #341869 #4C239B #642ECD #885EDB
Accessibility & contrast
On white
10.39
#4C239B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.02
#4C239B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4C239B
10.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4C239B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4C239B | 1.00 | 10.39 | 2.02 | 10.39 |
| #FFFFFF | 10.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00429E
Deuteranopia (green-blind)
#003D99
Tritanopia (blue-blind)
#31445E
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #4c239b; /* rgb */ color: rgb(76, 35, 155); /* oklch */ color: oklch(39.2% 0.179 291.4);
Tailwind
colors: {
custom: {
50: '#8763ba',
500: '#4c239b',
950: '#000000',
},
}SCSS
$custom: #4c239b; $custom-light: #8763ba; $custom-dark: #000000;
JSON
{
"hex": "#4c239b",
"rgb": {
"r": 76,
"g": 35,
"b": 155
},
"hsl": {
"h": 260.5,
"s": 63.158,
"l": 37.255
},
"oklch": {
"l": 0.39194,
"c": 0.1791,
"h": 291.4
},
"luminance": 0.05105
}Semantic roles & 50–950 ramp
primary
#4C239B
secondary
#9DBF5A
accent
#E642AE
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0512
muted
#7D7A81