#4D259C#4D259C
#4D259C is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.6% C 0.178 H 291.4°. Best body text is #FFFFFF at 10.19:1 contrast (WCAG AA passes).
Color values
| HEX | #4D259C |
|---|---|
| RGB | rgb(77, 37, 156) |
| HSL | hsl(260, 62%, 38%) |
| HSV | hsv(260, 76%, 61%) |
| CMYK | cmyk(50.6%, 76.3%, 0%, 38.8%) |
| CIE-LAB | lab(27.58, 46.00, -57.78) |
| CIE-LCH | lch(27.58, 73.86, 308.53°) |
| OKLab | oklab(39.63% 0.0649 -0.1659) |
| OKLCH | oklch(39.63% 0.178 291.4) |
| XYZ | xyz(9.7212, 5.3008, 31.9570) |
| Luminance | 0.0530 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.35
Rebeccapurple
#663399
ΔE00 5.64
Violet Blue
#510AC9
ΔE00 6.33
Indigo
#4B0082
ΔE00 6.49
Indigo (survey)
#380282
ΔE00 7.06
Ultramarine
#2000B1
ΔE00 7.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4D259C #749C25
analogous
#25389C #4D259C #88259C
triadic
#4D259C #9C4D25 #259C4D
tetradic
#4D259C #9C2538 #749C25 #259C88
square
#4D259C #9C2538 #749C25 #259C88
split-complementary
#4D259C #9C8825 #389C25
monochromatic
#1C0E39 #35196B #4D259C #6531CD #8A62DA
Accessibility & contrast
On white
10.19
#4D259C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.06
#4D259C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4D259C
10.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4D259C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4D259C | 1.00 | 10.19 | 2.06 | 10.19 |
| #FFFFFF | 10.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00439F
Deuteranopia (green-blind)
#003F9A
Tritanopia (blue-blind)
#32465F
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #4d259c; /* rgb */ color: rgb(77, 37, 156); /* oklch */ color: oklch(39.6% 0.178 291.4);
Tailwind
colors: {
custom: {
50: '#8764ba',
500: '#4d259c',
950: '#000000',
},
}SCSS
$custom: #4d259c; $custom-light: #8764ba; $custom-dark: #000000;
JSON
{
"hex": "#4d259c",
"rgb": {
"r": 77,
"g": 37,
"b": 156
},
"hsl": {
"h": 260.168,
"s": 61.658,
"l": 37.843
},
"oklch": {
"l": 0.39631,
"c": 0.17817,
"h": 291.4
},
"luminance": 0.05301
}Semantic roles & 50–950 ramp
primary
#4D259C
secondary
#9EBF5E
accent
#E543AE
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0612
muted
#7D7A81