#4F2CAF#4F2CAF
#4F2CAF is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.5% C 0.193 H 287.3°. Best body text is #FFFFFF at 9.08:1 contrast (WCAG AA passes).
Color values
| HEX | #4F2CAF |
|---|---|
| RGB | rgb(79, 44, 175) |
| HSL | hsl(256, 60%, 43%) |
| HSV | hsv(256, 75%, 69%) |
| CMYK | cmyk(54.9%, 74.9%, 0%, 31.4%) |
| CIE-LAB | lab(30.78, 48.22, -63.99) |
| CIE-LCH | lch(30.78, 80.13, 307.00°) |
| OKLab | oklab(42.47% 0.0574 -0.1841) |
| OKLCH | oklch(42.47% 0.193 287.3) |
| XYZ | xyz(11.8607, 6.5582, 41.1900) |
| Luminance | 0.0656 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Indigo Blue
#3A18B1
ΔE00 4.38
Purple Blue
#5D21D0
ΔE00 4.81
Violet Blue
#510AC9
ΔE00 4.91
Blue With A Hint Of Purple
#533CC6
ΔE00 5.00
Blurple
#5539CC
ΔE00 5.14
Ocean Blue
#4F42B5
ΔE00 5.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#4F2CAF #8CAF2C
analogous
#2C4AAF #4F2CAF #912CAF
triadic
#4F2CAF #AF4F2C #2CAF4F
tetradic
#4F2CAF #AF2C4A #8CAF2C #2CAF91
square
#4F2CAF #AF2C4A #8CAF2C #2CAF91
split-complementary
#4F2CAF #AF912C #4AAF2C
monochromatic
#23134D #39207E #4F2CAF #6C47D1 #9378DD
Accessibility & contrast
On white
9.08
#4F2CAF on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.31
#4F2CAF on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #4F2CAF
9.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##4F2CAF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##4F2CAF | 1.00 | 9.08 | 2.31 | 9.08 |
| #FFFFFF | 9.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#004BB3
Deuteranopia (green-blind)
#0045AD
Tritanopia (blue-blind)
#26506B
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #4f2caf; /* rgb */ color: rgb(79, 44, 175); /* oklch */ color: oklch(42.5% 0.193 287.3);
Tailwind
colors: {
custom: {
50: '#8b69c8',
500: '#4f2caf',
950: '#000000',
},
}SCSS
$custom: #4f2caf; $custom-light: #8b69c8; $custom-dark: #000000;
JSON
{
"hex": "#4f2caf",
"rgb": {
"r": 79,
"g": 44,
"b": 175
},
"hsl": {
"h": 256.031,
"s": 59.817,
"l": 42.941
},
"oklch": {
"l": 0.42474,
"c": 0.19282,
"h": 287.3
},
"luminance": 0.06559
}Semantic roles & 50–950 ramp
primary
#4F2CAF
secondary
#AFC572
accent
#E345B9
background
#F9F6FC
surface
#F1EBF8
border
#CBC6D1
text
#0D0613
muted
#7E7A82