#4C249B#4C249B
#4C249B is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.3% C 0.178 H 291.2°. Best body text is #FFFFFF at 10.33:1 contrast (WCAG AA passes).
Color values
| HEX | #4C249B |
|---|---|
| RGB | rgb(76, 36, 155) |
| HSL | hsl(260, 62%, 37%) |
| HSV | hsv(260, 77%, 61%) |
| CMYK | cmyk(51%, 76.8%, 0%, 39.2%) |
| CIE-LAB | lab(27.20, 46.05, -57.79) |
| CIE-LCH | lch(27.20, 73.90, 308.55°) |
| OKLab | oklab(39.31% 0.0645 -0.166) |
| OKLCH | oklch(39.31% 0.178 291.2) |
| XYZ | xyz(9.5261, 5.1644, 31.4989) |
| Luminance | 0.0517 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.28
Rebeccapurple
#663399
ΔE00 5.84
Indigo
#4B0082
ΔE00 6.26
Violet Blue
#510AC9
ΔE00 6.40
Indigo (survey)
#380282
ΔE00 6.78
Ultramarine
#2000B1
ΔE00 6.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4C249B #739B24
analogous
#24379B #4C249B #88249B
triadic
#4C249B #9B4C24 #249B4C
tetradic
#4C249B #9B2437 #739B24 #249B88
square
#4C249B #9B2437 #739B24 #249B88
split-complementary
#4C249B #9B8824 #379B24
monochromatic
#1B0D38 #341869 #4C249B #6430CD #895FDA
Accessibility & contrast
On white
10.33
#4C249B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.03
#4C249B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4C249B
10.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4C249B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4C249B | 1.00 | 10.33 | 2.03 | 10.33 |
| #FFFFFF | 10.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00429E
Deuteranopia (green-blind)
#003E99
Tritanopia (blue-blind)
#31455E
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #4c249b; /* rgb */ color: rgb(76, 36, 155); /* oklch */ color: oklch(39.3% 0.178 291.2);
Tailwind
colors: {
custom: {
50: '#8763ba',
500: '#4c249b',
950: '#000000',
},
}SCSS
$custom: #4c249b; $custom-light: #8763ba; $custom-dark: #000000;
JSON
{
"hex": "#4c249b",
"rgb": {
"r": 76,
"g": 36,
"b": 155
},
"hsl": {
"h": 260.168,
"s": 62.304,
"l": 37.451
},
"oklch": {
"l": 0.39311,
"c": 0.17806,
"h": 291.2
},
"luminance": 0.05165
}Semantic roles & 50–950 ramp
primary
#4C249B
secondary
#9EBF5C
accent
#E542AF
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0612
muted
#7D7A81