#4F279F#4F279F
#4F279F is a dark, vivid violet. Relative luminance 0.056; OKLCH L 40.4% C 0.179 H 291.4°. Best body text is #FFFFFF at 9.89:1 contrast (WCAG AA passes).
Color values
| HEX | #4F279F |
|---|---|
| RGB | rgb(79, 39, 159) |
| HSL | hsl(260, 61%, 39%) |
| HSV | hsv(260, 75%, 62%) |
| CMYK | cmyk(50.3%, 75.5%, 0%, 37.6%) |
| CIE-LAB | lab(28.42, 46.18, -58.21) |
| CIE-LCH | lch(28.42, 74.30, 308.42°) |
| OKLab | oklab(40.36% 0.0655 -0.1671) |
| OKLCH | oklch(40.36% 0.18 291.4) |
| XYZ | xyz(10.2062, 5.6161, 33.3404) |
| Luminance | 0.0562 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.45
Rebeccapurple
#663399
ΔE00 5.29
Violet Blue
#510AC9
ΔE00 6.08
Purple Blue
#5D21D0
ΔE00 6.82
Indigo
#4B0082
ΔE00 7.06
Darkslateblue
#483D8B
ΔE00 7.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F279F #779F27
analogous
#273B9F #4F279F #8B279F
triadic
#4F279F #9F4F27 #279F4F
tetradic
#4F279F #9F273B #779F27 #279F8B
square
#4F279F #9F273B #779F27 #279F8B
split-complementary
#4F279F #9F8B27 #3B9F27
monochromatic
#1E0F3D #371B6E #4F279F #6836CE #8D67DA
Accessibility & contrast
On white
9.89
#4F279F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.12
#4F279F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4F279F
9.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F279F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4F279F | 1.00 | 9.89 | 2.12 | 9.89 |
| #FFFFFF | 9.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0045A2
Deuteranopia (green-blind)
#00409D
Tritanopia (blue-blind)
#344861
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #4f279f; /* rgb */ color: rgb(79, 39, 159); /* oklch */ color: oklch(40.4% 0.179 291.4);
Tailwind
colors: {
custom: {
50: '#8965bc',
500: '#4f279f',
950: '#000000',
},
}SCSS
$custom: #4f279f; $custom-light: #8965bc; $custom-dark: #000000;
JSON
{
"hex": "#4f279f",
"rgb": {
"r": 79,
"g": 39,
"b": 159
},
"hsl": {
"h": 260,
"s": 60.606,
"l": 38.824
},
"oklch": {
"l": 0.40364,
"c": 0.1795,
"h": 291.4
},
"luminance": 0.05617
}Semantic roles & 50–950 ramp
primary
#4F279F
secondary
#A0C062
accent
#E444AF
background
#F8F6FB
surface
#F0EBF7
border
#CBC6D0
text
#0C0612
muted
#7D7A81