#4C249F#4C249F
#4C249F is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.7% C 0.183 H 290.3°. Best body text is #FFFFFF at 10.19:1 contrast (WCAG AA passes).
Color values
| HEX | #4C249F |
|---|---|
| RGB | rgb(76, 36, 159) |
| HSL | hsl(260, 63%, 38%) |
| HSV | hsv(260, 77%, 62%) |
| CMYK | cmyk(52.2%, 77.4%, 0%, 37.6%) |
| CIE-LAB | lab(27.58, 47.17, -59.61) |
| CIE-LCH | lch(27.58, 76.02, 308.35°) |
| OKLab | oklab(39.69% 0.0634 -0.1713) |
| OKLCH | oklch(39.69% 0.183 290.3) |
| XYZ | xyz(9.8676, 5.3010, 33.2974) |
| Luminance | 0.0530 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.85
Violet Blue
#510AC9
ΔE00 5.86
Rebeccapurple
#663399
ΔE00 5.98
Indigo
#4B0082
ΔE00 6.64
Ultramarine
#2000B1
ΔE00 6.65
Purple Blue
#5D21D0
ΔE00 6.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4C249F #779F24
analogous
#24399F #4C249F #89249F
triadic
#4C249F #9F4C24 #249F4C
tetradic
#4C249F #9F2439 #779F24 #249F89
square
#4C249F #9F2439 #779F24 #249F89
split-complementary
#4C249F #9F8924 #399F24
monochromatic
#1C0D3B #34196D #4C249F #6430D0 #8962DB
Accessibility & contrast
On white
10.19
#4C249F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.06
#4C249F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4C249F
10.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4C249F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4C249F | 1.00 | 10.19 | 2.06 | 10.19 |
| #FFFFFF | 10.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0043A2
Deuteranopia (green-blind)
#003E9D
Tritanopia (blue-blind)
#2E4660
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #4c249f; /* rgb */ color: rgb(76, 36, 159); /* oklch */ color: oklch(39.7% 0.183 290.3);
Tailwind
colors: {
custom: {
50: '#8764bc',
500: '#4c249f',
950: '#000000',
},
}SCSS
$custom: #4c249f; $custom-light: #8764bc; $custom-dark: #000000;
JSON
{
"hex": "#4c249f",
"rgb": {
"r": 76,
"g": 36,
"b": 159
},
"hsl": {
"h": 259.512,
"s": 63.077,
"l": 38.235
},
"oklch": {
"l": 0.39691,
"c": 0.18265,
"h": 290.3
},
"luminance": 0.05301
}Semantic roles & 50–950 ramp
primary
#4C249F
secondary
#A1C15E
accent
#E642B1
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0612
muted
#7D7A81