#5C2FBF#5C2FBF
#5C2FBF is a mid, highly saturated violet. Relative luminance 0.081; OKLCH L 45.6% C 0.207 H 289.8°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).
Color values
| HEX | #5C2FBF |
|---|---|
| RGB | rgb(92, 47, 191) |
| HSL | hsl(259, 61%, 47%) |
| HSV | hsv(259, 75%, 75%) |
| CMYK | cmyk(51.8%, 75.4%, 0%, 25.1%) |
| CIE-LAB | lab(34.13, 53.12, -67.93) |
| CIE-LCH | lch(34.13, 86.24, 308.02°) |
| OKLab | oklab(45.6% 0.0703 -0.1952) |
| OKLCH | oklch(45.6% 0.207 289.8) |
| XYZ | xyz(14.8314, 8.0693, 50.0562) |
| Luminance | 0.0807 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple Blue
#5D21D0
ΔE00 2.77
Blurple
#5539CC
ΔE00 3.07
Blue With A Hint Of Purple
#533CC6
ΔE00 3.39
Bluey Purple
#6241C7
ΔE00 4.31
Violet Blue
#510AC9
ΔE00 4.87
Ocean Blue
#4F42B5
ΔE00 5.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5C2FBF #92BF2F
analogous
#2F4ABF #5C2FBF #A42FBF
triadic
#5C2FBF #BF5C2F #2FBF5C
tetradic
#5C2FBF #BF2F4A #92BF2F #2FBFA4
square
#5C2FBF #BF2F4A #92BF2F #2FBFA4
split-complementary
#5C2FBF #BFA42F #4ABF2F
monochromatic
#2D175D #44238E #5C2FBF #7E56D5 #A387E1
Accessibility & contrast
On white
8.03
#5C2FBF on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.61
#5C2FBF on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5C2FBF
8.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5C2FBF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5C2FBF | 1.00 | 8.03 | 2.61 | 8.03 |
| #FFFFFF | 8.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0053C3
Deuteranopia (green-blind)
#004DBC
Tritanopia (blue-blind)
#385775
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #5c2fbf; /* rgb */ color: rgb(92, 47, 191); /* oklch */ color: oklch(45.6% 0.207 289.8);
Tailwind
colors: {
custom: {
50: '#946dd3',
500: '#5c2fbf',
950: '#000000',
},
}SCSS
$custom: #5c2fbf; $custom-light: #946dd3; $custom-dark: #000000;
JSON
{
"hex": "#5c2fbf",
"rgb": {
"r": 92,
"g": 47,
"b": 191
},
"hsl": {
"h": 258.75,
"s": 60.504,
"l": 46.667
},
"oklch": {
"l": 0.45597,
"c": 0.20749,
"h": 289.8
},
"luminance": 0.0807
}Semantic roles & 50–950 ramp
primary
#5C2FBF
secondary
#B3CB7F
accent
#E444B2
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0714
muted
#7E7A83