#4C258F#4C258F
#4C258F is a dark, vivid violet. Relative luminance 0.048; OKLCH L 38.3% C 0.163 H 294.1°. Best body text is #FFFFFF at 10.67:1 contrast (WCAG AA passes).
Color values
| HEX | #4C258F |
|---|---|
| RGB | rgb(76, 37, 143) |
| HSL | hsl(262, 59%, 35%) |
| HSV | hsv(262, 74%, 56%) |
| CMYK | cmyk(46.9%, 74.1%, 0%, 43.9%) |
| CIE-LAB | lab(26.28, 42.21, -51.91) |
| CIE-LCH | lch(26.28, 66.91, 309.11°) |
| OKLab | oklab(38.33% 0.0666 -0.1487) |
| OKLCH | oklch(38.33% 0.163 294.1) |
| XYZ | xyz(8.5986, 4.8426, 26.4629) |
| Luminance | 0.0484 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo
#4B0082
ΔE00 5.55
Rebeccapurple
#663399
ΔE00 5.62
Indigo Blue
#3A18B1
ΔE00 5.95
Indigo (survey)
#380282
ΔE00 6.34
Darkslateblue
#483D8B
ΔE00 6.95
Royal
#0C1793
ΔE00 7.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4C258F #688F25
analogous
#25338F #4C258F #81258F
triadic
#4C258F #8F4C25 #258F4C
tetradic
#4C258F #8F2533 #688F25 #258F81
square
#4C258F #8F2533 #688F25 #258F81
split-complementary
#4C258F #8F8125 #338F25
monochromatic
#180C2E #32185E #4C258F #6632C0 #875AD4
Accessibility & contrast
On white
10.67
#4C258F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.97
#4C258F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4C258F
10.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4C258F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4C258F | 1.00 | 10.67 | 1.97 | 10.67 |
| #FFFFFF | 10.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#003F92
Deuteranopia (green-blind)
#003C8D
Tritanopia (blue-blind)
#384158
Achromatopsia (no color)
#3E3E3E
Design tokens & code
CSS
--color: #4c258f; /* rgb */ color: rgb(76, 37, 143); /* oklch */ color: oklch(38.3% 0.163 294.1);
Tailwind
colors: {
custom: {
50: '#8563b1',
500: '#4c258f',
950: '#000000',
},
}SCSS
$custom: #4c258f; $custom-light: #8563b1; $custom-dark: #000000;
JSON
{
"hex": "#4c258f",
"rgb": {
"r": 76,
"g": 37,
"b": 143
},
"hsl": {
"h": 262.075,
"s": 58.889,
"l": 35.294
},
"oklch": {
"l": 0.3833,
"c": 0.16298,
"h": 294.1
},
"luminance": 0.04843
}Semantic roles & 50–950 ramp
primary
#4C258F
secondary
#95B957
accent
#E246A9
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0511
muted
#7D7A80