#4C259F#4C259F
#4C259F is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.8% C 0.182 H 290.2°. Best body text is #FFFFFF at 10.13:1 contrast (WCAG AA passes).
Color values
| HEX | #4C259F |
|---|---|
| RGB | rgb(76, 37, 159) |
| HSL | hsl(259, 62%, 38%) |
| HSV | hsv(259, 77%, 62%) |
| CMYK | cmyk(52.2%, 76.7%, 0%, 37.6%) |
| CIE-LAB | lab(27.74, 46.69, -59.34) |
| CIE-LCH | lch(27.74, 75.51, 308.20°) |
| OKLab | oklab(39.81% 0.0626 -0.1705) |
| OKLCH | oklch(39.81% 0.182 290.2) |
| XYZ | xyz(9.8983, 5.3624, 33.3077) |
| Luminance | 0.0536 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 3.94
Rebeccapurple
#663399
ΔE00 5.89
Violet Blue
#510AC9
ΔE00 5.93
Ultramarine
#2000B1
ΔE00 6.79
Indigo
#4B0082
ΔE00 6.79
Purple Blue
#5D21D0
ΔE00 6.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4C259F #789F25
analogous
#253B9F #4C259F #89259F
triadic
#4C259F #9F4C25 #259F4C
tetradic
#4C259F #9F253B #789F25 #259F89
square
#4C259F #9F253B #789F25 #259F89
split-complementary
#4C259F #9F8925 #3B9F25
monochromatic
#1D0E3C #34196D #4C259F #6432CF #8A64DB
Accessibility & contrast
On white
10.13
#4C259F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.07
#4C259F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4C259F
10.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4C259F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4C259F | 1.00 | 10.13 | 2.07 | 10.13 |
| #FFFFFF | 10.13 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.13 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0044A2
Deuteranopia (green-blind)
#003F9D
Tritanopia (blue-blind)
#2E4761
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #4c259f; /* rgb */ color: rgb(76, 37, 159); /* oklch */ color: oklch(39.8% 0.182 290.2);
Tailwind
colors: {
custom: {
50: '#8764bc',
500: '#4c259f',
950: '#000000',
},
}SCSS
$custom: #4c259f; $custom-light: #8764bc; $custom-dark: #000000;
JSON
{
"hex": "#4c259f",
"rgb": {
"r": 76,
"g": 37,
"b": 159
},
"hsl": {
"h": 259.18,
"s": 62.245,
"l": 38.431
},
"oklch": {
"l": 0.39808,
"c": 0.18163,
"h": 290.2
},
"luminance": 0.05363
}Semantic roles & 50–950 ramp
primary
#4C259F
secondary
#A1C05F
accent
#E542B1
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0612
muted
#7D7A81