#5C3FAF#5C3FAF
#5C3FAF is a mid, vivid violet. Relative luminance 0.089; OKLCH L 46.4% C 0.170 H 290.1°. Best body text is #FFFFFF at 7.54:1 contrast (WCAG AA passes).
Color values
| HEX | #5C3FAF |
|---|---|
| RGB | rgb(92, 63, 175) |
| HSL | hsl(256, 47%, 47%) |
| HSV | hsv(256, 64%, 69%) |
| CMYK | cmyk(47.4%, 64%, 0%, 31.4%) |
| CIE-LAB | lab(35.84, 40.15, -55.67) |
| CIE-LCH | lch(35.84, 68.64, 305.80°) |
| OKLab | oklab(46.41% 0.0583 -0.1593) |
| OKLCH | oklch(46.41% 0.17 290.1) |
| XYZ | xyz(13.9268, 8.9249, 41.5380) |
| Luminance | 0.0892 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Ocean Blue
#4F42B5
ΔE00 2.74
Bluey Purple
#6241C7
ΔE00 3.62
Blue With A Hint Of Purple
#533CC6
ΔE00 3.70
Blurple
#5539CC
ΔE00 4.42
Rebeccapurple
#663399
ΔE00 5.42
Blueberry
#464196
ΔE00 5.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5C3FAF #92AF3F
analogous
#3F5AAF #5C3FAF #943FAF
triadic
#5C3FAF #AF5C3F #3FAF5C
tetradic
#5C3FAF #AF3F5A #92AF3F #3FAF94
square
#5C3FAF #AF3F5A #92AF3F #3FAF94
split-complementary
#5C3FAF #AF943F #5AAF3F
monochromatic
#2D1F55 #442F82 #5C3FAF #7E64C7 #A391D7
Accessibility & contrast
On white
7.54
#5C3FAF on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.78
#5C3FAF on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5C3FAF
7.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5C3FAF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5C3FAF | 1.00 | 7.54 | 2.78 | 7.54 |
| #FFFFFF | 7.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0056B3
Deuteranopia (green-blind)
#0052AD
Tritanopia (blue-blind)
#425A71
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #5c3faf; /* rgb */ color: rgb(92, 63, 175); /* oklch */ color: oklch(46.4% 0.170 290.1);
Tailwind
colors: {
custom: {
50: '#9176c8',
500: '#5c3faf',
950: '#000000',
},
}SCSS
$custom: #5c3faf; $custom-light: #9176c8; $custom-dark: #000000;
JSON
{
"hex": "#5c3faf",
"rgb": {
"r": 92,
"g": 63,
"b": 175
},
"hsl": {
"h": 255.536,
"s": 47.059,
"l": 46.667
},
"oklch": {
"l": 0.46406,
"c": 0.16964,
"h": 290.1
},
"luminance": 0.08925
}Semantic roles & 50–950 ramp
primary
#5C3FAF
secondary
#B3C387
accent
#D751B4
background
#F9F7FC
surface
#F2EDF8
border
#CCC8D1
text
#0D0813
muted
#7E7B82