#4C269F#4C269F
#4C269F is a dark, vivid violet. Relative luminance 0.054; OKLCH L 39.9% C 0.181 H 290.0°. Best body text is #FFFFFF at 10.07:1 contrast (WCAG AA passes).
Color values
| HEX | #4C269F |
|---|---|
| RGB | rgb(76, 38, 159) |
| HSL | hsl(259, 61%, 39%) |
| HSV | hsv(259, 76%, 62%) |
| CMYK | cmyk(52.2%, 76.1%, 0%, 37.6%) |
| CIE-LAB | lab(27.91, 46.20, -59.06) |
| CIE-LCH | lch(27.91, 74.99, 308.04°) |
| OKLab | oklab(39.93% 0.0618 -0.1697) |
| OKLCH | oklch(39.93% 0.181 290) |
| XYZ | xyz(9.9298, 5.4255, 33.3182) |
| Luminance | 0.0543 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.05
Rebeccapurple
#663399
ΔE00 5.80
Violet Blue
#510AC9
ΔE00 6.01
Ultramarine
#2000B1
ΔE00 6.92
Purple Blue
#5D21D0
ΔE00 6.94
Indigo
#4B0082
ΔE00 6.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4C269F #799F26
analogous
#263C9F #4C269F #88269F
triadic
#4C269F #9F4C26 #269F4C
tetradic
#4C269F #9F263C #799F26 #269F88
square
#4C269F #9F263C #799F26 #269F88
split-complementary
#4C269F #9F8826 #3C9F26
monochromatic
#1D0E3C #341A6E #4C269F #6434CE #8A65DA
Accessibility & contrast
On white
10.07
#4C269F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.09
#4C269F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4C269F
10.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4C269F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4C269F | 1.00 | 10.07 | 2.09 | 10.07 |
| #FFFFFF | 10.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0044A2
Deuteranopia (green-blind)
#003F9D
Tritanopia (blue-blind)
#2E4761
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #4c269f; /* rgb */ color: rgb(76, 38, 159); /* oklch */ color: oklch(39.9% 0.181 290.0);
Tailwind
colors: {
custom: {
50: '#8765bc',
500: '#4c269f',
950: '#000000',
},
}SCSS
$custom: #4c269f; $custom-light: #8765bc; $custom-dark: #000000;
JSON
{
"hex": "#4c269f",
"rgb": {
"r": 76,
"g": 38,
"b": 159
},
"hsl": {
"h": 258.843,
"s": 61.421,
"l": 38.627
},
"oklch": {
"l": 0.39928,
"c": 0.18059,
"h": 290
},
"luminance": 0.05426
}Semantic roles & 50–950 ramp
primary
#4C269F
secondary
#A2C061
accent
#E543B2
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0612
muted
#7D7A81