#4C259A#4C259A
#4C259A is a dark, vivid violet. Relative luminance 0.052; OKLCH L 39.3% C 0.176 H 291.3°. Best body text is #FFFFFF at 10.30:1 contrast (WCAG AA passes).
Color values
| HEX | #4C259A |
|---|---|
| RGB | rgb(76, 37, 154) |
| HSL | hsl(260, 61%, 37%) |
| HSV | hsv(260, 76%, 60%) |
| CMYK | cmyk(50.6%, 76%, 0%, 39.6%) |
| CIE-LAB | lab(27.28, 45.29, -57.06) |
| CIE-LCH | lch(27.28, 72.84, 308.44°) |
| OKLab | oklab(39.34% 0.0639 -0.1638) |
| OKLCH | oklch(39.34% 0.176 291.3) |
| XYZ | xyz(9.4731, 5.1924, 31.0687) |
| Luminance | 0.0519 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.48
Rebeccapurple
#663399
ΔE00 5.72
Indigo
#4B0082
ΔE00 6.33
Violet Blue
#510AC9
ΔE00 6.61
Indigo (survey)
#380282
ΔE00 6.87
Ultramarine
#2000B1
ΔE00 7.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4C259A #739A25
analogous
#25389A #4C259A #87259A
triadic
#4C259A #9A4C25 #259A4C
tetradic
#4C259A #9A2538 #739A25 #259A87
square
#4C259A #9A2538 #739A25 #259A87
split-complementary
#4C259A #9A8725 #389A25
monochromatic
#1B0D37 #341969 #4C259A #6431CB #8960D9
Accessibility & contrast
On white
10.30
#4C259A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.04
#4C259A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4C259A
10.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4C259A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4C259A | 1.00 | 10.30 | 2.04 | 10.30 |
| #FFFFFF | 10.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00429D
Deuteranopia (green-blind)
#003E98
Tritanopia (blue-blind)
#32455E
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #4c259a; /* rgb */ color: rgb(76, 37, 154); /* oklch */ color: oklch(39.3% 0.176 291.3);
Tailwind
colors: {
custom: {
50: '#8664b9',
500: '#4c259a',
950: '#000000',
},
}SCSS
$custom: #4c259a; $custom-light: #8664b9; $custom-dark: #000000;
JSON
{
"hex": "#4c259a",
"rgb": {
"r": 76,
"g": 37,
"b": 154
},
"hsl": {
"h": 260,
"s": 61.257,
"l": 37.451
},
"oklch": {
"l": 0.39337,
"c": 0.17585,
"h": 291.3
},
"luminance": 0.05193
}Semantic roles & 50–950 ramp
primary
#4C259A
secondary
#9EBE5D
accent
#E443AF
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0612
muted
#7D7A81