#4C269C#4C269C
#4C269C is a dark, vivid violet. Relative luminance 0.053; OKLCH L 39.6% C 0.177 H 290.7°. Best body text is #FFFFFF at 10.17:1 contrast (WCAG AA passes).
Color values
| HEX | #4C269C |
|---|---|
| RGB | rgb(76, 38, 156) |
| HSL | hsl(259, 61%, 38%) |
| HSV | hsv(259, 76%, 61%) |
| CMYK | cmyk(51.3%, 75.6%, 0%, 38.8%) |
| CIE-LAB | lab(27.63, 45.36, -57.69) |
| CIE-LCH | lch(27.63, 73.38, 308.18°) |
| OKLab | oklab(39.65% 0.0626 -0.1657) |
| OKLCH | oklch(39.65% 0.177 290.7) |
| XYZ | xyz(9.6726, 5.3226, 31.9638) |
| Luminance | 0.0532 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.35
Rebeccapurple
#663399
ΔE00 5.69
Violet Blue
#510AC9
ΔE00 6.41
Indigo
#4B0082
ΔE00 6.68
Ultramarine
#2000B1
ΔE00 7.10
Indigo (survey)
#380282
ΔE00 7.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4C269C #769C26
analogous
#263B9C #4C269C #87269C
triadic
#4C269C #9C4C26 #269C4C
tetradic
#4C269C #9C263B #769C26 #269C87
square
#4C269C #9C263B #769C26 #269C87
split-complementary
#4C269C #9C8726 #3B9C26
monochromatic
#1C0E3A #341A6B #4C269C #6432CD #8963D9
Accessibility & contrast
On white
10.17
#4C269C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.06
#4C269C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4C269C
10.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4C269C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4C269C | 1.00 | 10.17 | 2.06 | 10.17 |
| #FFFFFF | 10.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#00439F
Deuteranopia (green-blind)
#003F9A
Tritanopia (blue-blind)
#30465F
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #4c269c; /* rgb */ color: rgb(76, 38, 156); /* oklch */ color: oklch(39.6% 0.177 290.7);
Tailwind
colors: {
custom: {
50: '#8764ba',
500: '#4c269c',
950: '#000000',
},
}SCSS
$custom: #4c269c; $custom-light: #8764ba; $custom-dark: #000000;
JSON
{
"hex": "#4c269c",
"rgb": {
"r": 76,
"g": 38,
"b": 156
},
"hsl": {
"h": 259.322,
"s": 60.825,
"l": 38.039
},
"oklch": {
"l": 0.39647,
"c": 0.17711,
"h": 290.7
},
"luminance": 0.05323
}Semantic roles & 50–950 ramp
primary
#4C269C
secondary
#A0BF5F
accent
#E444B0
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0612
muted
#7D7A81