#4C259C#4C259C
#4C259C is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.5% C 0.178 H 290.8°. Best body text is #FFFFFF at 10.23:1 contrast (WCAG AA passes).
Color values
| HEX | #4C259C |
|---|---|
| RGB | rgb(76, 37, 156) |
| HSL | hsl(260, 62%, 38%) |
| HSV | hsv(260, 76%, 61%) |
| CMYK | cmyk(51.3%, 76.3%, 0%, 38.8%) |
| CIE-LAB | lab(27.46, 45.85, -57.97) |
| CIE-LCH | lch(27.46, 73.91, 308.34°) |
| OKLab | oklab(39.53% 0.0634 -0.1665) |
| OKLCH | oklch(39.53% 0.178 290.8) |
| XYZ | xyz(9.6411, 5.2595, 31.9532) |
| Luminance | 0.0526 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.26
Rebeccapurple
#663399
ΔE00 5.78
Violet Blue
#510AC9
ΔE00 6.33
Indigo
#4B0082
ΔE00 6.51
Ultramarine
#2000B1
ΔE00 6.97
Indigo (survey)
#380282
ΔE00 7.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4C259C #759C25
analogous
#25399C #4C259C #87259C
triadic
#4C259C #9C4C25 #259C4C
tetradic
#4C259C #9C2539 #759C25 #259C87
square
#4C259C #9C2539 #759C25 #259C87
split-complementary
#4C259C #9C8725 #399C25
monochromatic
#1C0E39 #34196B #4C259C #6431CD #8962DA
Accessibility & contrast
On white
10.23
#4C259C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.05
#4C259C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4C259C
10.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4C259C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4C259C | 1.00 | 10.23 | 2.05 | 10.23 |
| #FFFFFF | 10.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00439F
Deuteranopia (green-blind)
#003E9A
Tritanopia (blue-blind)
#30465F
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #4c259c; /* rgb */ color: rgb(76, 37, 156); /* oklch */ color: oklch(39.5% 0.178 290.8);
Tailwind
colors: {
custom: {
50: '#8764ba',
500: '#4c259c',
950: '#000000',
},
}SCSS
$custom: #4c259c; $custom-light: #8764ba; $custom-dark: #000000;
JSON
{
"hex": "#4c259c",
"rgb": {
"r": 76,
"g": 37,
"b": 156
},
"hsl": {
"h": 259.664,
"s": 61.658,
"l": 37.843
},
"oklch": {
"l": 0.39525,
"c": 0.17817,
"h": 290.8
},
"luminance": 0.0526
}Semantic roles & 50–950 ramp
primary
#4C259C
secondary
#9FBF5E
accent
#E543B0
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0612
muted
#7D7A81