#4C299F#4C299F
#4C299F is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.3% C 0.177 H 289.5°. Best body text is #FFFFFF at 9.88:1 contrast (WCAG AA passes).
Color values
| HEX | #4C299F |
|---|---|
| RGB | rgb(76, 41, 159) |
| HSL | hsl(258, 59%, 39%) |
| HSV | hsv(258, 74%, 62%) |
| CMYK | cmyk(52.2%, 74.2%, 0%, 37.6%) |
| CIE-LAB | lab(28.45, 44.70, -58.19) |
| CIE-LCH | lch(28.45, 73.37, 307.53°) |
| OKLab | oklab(40.3% 0.0593 -0.1672) |
| OKLCH | oklch(40.3% 0.177 289.5) |
| XYZ | xyz(10.0296, 5.6251, 33.3515) |
| Luminance | 0.0563 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.41
Rebeccapurple
#663399
ΔE00 5.56
Violet Blue
#510AC9
ΔE00 6.29
Darkslateblue
#483D8B
ΔE00 6.85
Purple Blue
#5D21D0
ΔE00 6.96
Ocean Blue
#4F42B5
ΔE00 6.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4C299F #7C9F29
analogous
#29419F #4C299F #87299F
triadic
#4C299F #9F4C29 #299F4C
tetradic
#4C299F #9F2941 #7C9F29 #299F87
square
#4C299F #9F2941 #7C9F29 #299F87
split-complementary
#4C299F #9F8729 #419F29
monochromatic
#1D103E #351C6E #4C299F #6539CC #8B6AD9
Accessibility & contrast
On white
9.88
#4C299F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.13
#4C299F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4C299F
9.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4C299F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4C299F | 1.00 | 9.88 | 2.13 | 9.88 |
| #FFFFFF | 9.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0045A2
Deuteranopia (green-blind)
#00409D
Tritanopia (blue-blind)
#2E4962
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #4c299f; /* rgb */ color: rgb(76, 41, 159); /* oklch */ color: oklch(40.3% 0.177 289.5);
Tailwind
colors: {
custom: {
50: '#8766bc',
500: '#4c299f',
950: '#000000',
},
}SCSS
$custom: #4c299f; $custom-light: #8766bc; $custom-dark: #000000;
JSON
{
"hex": "#4c299f",
"rgb": {
"r": 76,
"g": 41,
"b": 159
},
"hsl": {
"h": 257.797,
"s": 59,
"l": 39.216
},
"oklch": {
"l": 0.40303,
"c": 0.17735,
"h": 289.5
},
"luminance": 0.05626
}Semantic roles & 50–950 ramp
primary
#4C299F
secondary
#A4BF65
accent
#E246B4
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0612
muted
#7D7A81