#4C279F#4C279F
#4C279F is a dark, vivid violet. Relative luminance 0.055; OKLCH L 40.1% C 0.180 H 289.8°. Best body text is #FFFFFF at 10.01:1 contrast (WCAG AA passes).
Color values
| HEX | #4C279F |
|---|---|
| RGB | rgb(76, 39, 159) |
| HSL | hsl(259, 61%, 39%) |
| HSV | hsv(259, 75%, 62%) |
| CMYK | cmyk(52.2%, 75.5%, 0%, 37.6%) |
| CIE-LAB | lab(28.09, 45.71, -58.77) |
| CIE-LCH | lch(28.09, 74.46, 307.87°) |
| OKLab | oklab(40.05% 0.0609 -0.1689) |
| OKLCH | oklch(40.05% 0.18 289.8) |
| XYZ | xyz(9.9622, 5.4903, 33.3290) |
| Luminance | 0.0549 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.16
Rebeccapurple
#663399
ΔE00 5.72
Violet Blue
#510AC9
ΔE00 6.10
Purple Blue
#5D21D0
ΔE00 6.94
Ultramarine
#2000B1
ΔE00 7.07
Indigo
#4B0082
ΔE00 7.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4C279F #7A9F27
analogous
#273E9F #4C279F #88279F
triadic
#4C279F #9F4C27 #279F4C
tetradic
#4C279F #9F273E #7A9F27 #279F88
square
#4C279F #9F273E #7A9F27 #279F88
split-complementary
#4C279F #9F8827 #3E9F27
monochromatic
#1D0F3D #351B6E #4C279F #6436CE #8A67DA
Accessibility & contrast
On white
10.01
#4C279F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.10
#4C279F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4C279F
10.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4C279F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4C279F | 1.00 | 10.01 | 2.10 | 10.01 |
| #FFFFFF | 10.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0044A2
Deuteranopia (green-blind)
#003F9D
Tritanopia (blue-blind)
#2E4861
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #4c279f; /* rgb */ color: rgb(76, 39, 159); /* oklch */ color: oklch(40.1% 0.180 289.8);
Tailwind
colors: {
custom: {
50: '#8765bc',
500: '#4c279f',
950: '#000000',
},
}SCSS
$custom: #4c279f; $custom-light: #8765bc; $custom-dark: #000000;
JSON
{
"hex": "#4c279f",
"rgb": {
"r": 76,
"g": 39,
"b": 159
},
"hsl": {
"h": 258.5,
"s": 60.606,
"l": 38.824
},
"oklch": {
"l": 0.40051,
"c": 0.17953,
"h": 289.8
},
"luminance": 0.05491
}Semantic roles & 50–950 ramp
primary
#4C279F
secondary
#A3C062
accent
#E444B3
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0612
muted
#7D7A81