#4D269C#4D269C
#4D269C is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.8% C 0.177 H 291.2°. Best body text is #FFFFFF at 10.13:1 contrast (WCAG AA passes).
Color values
| HEX | #4D269C |
|---|---|
| RGB | rgb(77, 38, 156) |
| HSL | hsl(260, 61%, 38%) |
| HSV | hsv(260, 76%, 61%) |
| CMYK | cmyk(50.6%, 75.6%, 0%, 38.8%) |
| CIE-LAB | lab(27.75, 45.51, -57.50) |
| CIE-LCH | lch(27.75, 73.33, 308.36°) |
| OKLab | oklab(39.75% 0.0641 -0.1651) |
| OKLCH | oklch(39.75% 0.177 291.2) |
| XYZ | xyz(9.7527, 5.3639, 31.9675) |
| Luminance | 0.0536 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.45
Rebeccapurple
#663399
ΔE00 5.54
Violet Blue
#510AC9
ΔE00 6.40
Indigo
#4B0082
ΔE00 6.65
Ultramarine
#2000B1
ΔE00 7.21
Indigo (survey)
#380282
ΔE00 7.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4D269C #759C26
analogous
#263A9C #4D269C #88269C
triadic
#4D269C #9C4D26 #269C4D
tetradic
#4D269C #9C263A #759C26 #269C88
square
#4D269C #9C263A #759C26 #269C88
split-complementary
#4D269C #9C8826 #3A9C26
monochromatic
#1C0E3A #351A6B #4D269C #6532CD #8A63D9
Accessibility & contrast
On white
10.13
#4D269C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.07
#4D269C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4D269C
10.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4D269C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4D269C | 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)
#00439F
Deuteranopia (green-blind)
#003F9A
Tritanopia (blue-blind)
#32465F
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #4d269c; /* rgb */ color: rgb(77, 38, 156); /* oklch */ color: oklch(39.8% 0.177 291.2);
Tailwind
colors: {
custom: {
50: '#8765ba',
500: '#4d269c',
950: '#000000',
},
}SCSS
$custom: #4d269c; $custom-light: #8765ba; $custom-dark: #000000;
JSON
{
"hex": "#4d269c",
"rgb": {
"r": 77,
"g": 38,
"b": 156
},
"hsl": {
"h": 259.831,
"s": 60.825,
"l": 38.039
},
"oklch": {
"l": 0.39752,
"c": 0.1771,
"h": 291.2
},
"luminance": 0.05364
}Semantic roles & 50–950 ramp
primary
#4D269C
secondary
#9FBF5F
accent
#E444AF
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0612
muted
#7D7A81