#4C269E#4C269E
#4C269E is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.8% C 0.179 H 290.2°. Best body text is #FFFFFF at 10.10:1 contrast (WCAG AA passes).
Color values
| HEX | #4C269E |
|---|---|
| RGB | rgb(76, 38, 158) |
| HSL | hsl(259, 61%, 38%) |
| HSV | hsv(259, 76%, 62%) |
| CMYK | cmyk(51.9%, 75.9%, 0%, 38%) |
| CIE-LAB | lab(27.82, 45.92, -58.60) |
| CIE-LCH | lch(27.82, 74.45, 308.08°) |
| OKLab | oklab(39.83% 0.062 -0.1684) |
| OKLCH | oklch(39.83% 0.179 290.2) |
| XYZ | xyz(9.8434, 5.3909, 32.8630) |
| Luminance | 0.0539 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.14
Rebeccapurple
#663399
ΔE00 5.76
Violet Blue
#510AC9
ΔE00 6.14
Indigo
#4B0082
ΔE00 6.86
Ultramarine
#2000B1
ΔE00 6.98
Purple Blue
#5D21D0
ΔE00 7.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4C269E #789E26
analogous
#263C9E #4C269E #88269E
triadic
#4C269E #9E4C26 #269E4C
tetradic
#4C269E #9E263C #789E26 #269E88
square
#4C269E #9E263C #789E26 #269E88
split-complementary
#4C269E #9E8826 #3C9E26
monochromatic
#1D0E3B #341A6D #4C269E #6433CE #8A65DA
Accessibility & contrast
On white
10.10
#4C269E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.08
#4C269E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4C269E
10.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4C269E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4C269E | 1.00 | 10.10 | 2.08 | 10.10 |
| #FFFFFF | 10.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0044A1
Deuteranopia (green-blind)
#003F9C
Tritanopia (blue-blind)
#2F4760
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #4c269e; /* rgb */ color: rgb(76, 38, 158); /* oklch */ color: oklch(39.8% 0.179 290.2);
Tailwind
colors: {
custom: {
50: '#8765bc',
500: '#4c269e',
950: '#000000',
},
}SCSS
$custom: #4c269e; $custom-light: #8765bc; $custom-dark: #000000;
JSON
{
"hex": "#4c269e",
"rgb": {
"r": 76,
"g": 38,
"b": 158
},
"hsl": {
"h": 259,
"s": 61.224,
"l": 38.431
},
"oklch": {
"l": 0.39834,
"c": 0.17943,
"h": 290.2
},
"luminance": 0.05391
}Semantic roles & 50–950 ramp
primary
#4C269E
secondary
#A1C060
accent
#E443B1
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0C0612
muted
#7D7A81