#5130CF#5130CF
#5130CF is a mid, highly saturated violet. Relative luminance 0.084; OKLCH L 46.2% C 0.226 H 282.6°. Best body text is #FFFFFF at 7.85:1 contrast (WCAG AA passes).
Color values
| HEX | #5130CF |
|---|---|
| RGB | rgb(81, 48, 207) |
| HSL | hsl(252, 62%, 50%) |
| HSV | hsv(252, 77%, 81%) |
| CMYK | cmyk(60.9%, 76.8%, 0%, 18.8%) |
| CIE-LAB | lab(34.74, 55.71, -76.32) |
| CIE-LCH | lch(34.74, 94.48, 306.13°) |
| OKLab | oklab(46.23% 0.0491 -0.2201) |
| OKLCH | oklch(46.23% 0.226 282.6) |
| XYZ | xyz(15.7093, 8.3671, 59.8066) |
| Luminance | 0.0837 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blurple
#5539CC
ΔE00 1.91
Blue With A Hint Of Purple
#533CC6
ΔE00 2.68
Purple Blue
#5D21D0
ΔE00 2.71
Purpley Blue
#5F34E7
ΔE00 3.96
Burple
#6832E3
ΔE00 4.27
Bluey Purple
#6241C7
ΔE00 4.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5130CF #AECF30
analogous
#305ECF #5130CF #A130CF
triadic
#5130CF #CF5130 #30CF51
tetradic
#5130CF #CF305E #AECF30 #30CFA1
square
#5130CF #CF305E #AECF30 #30CFA1
split-complementary
#5130CF #CFA130 #5ECF30
monochromatic
#2A196C #3E249D #5130CF #7B62DB #A593E6
Accessibility & contrast
On white
7.85
#5130CF on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.67
#5130CF on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5130CF
7.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5130CF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5130CF | 1.00 | 7.85 | 2.67 | 7.85 |
| #FFFFFF | 7.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.67 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0057D3
Deuteranopia (green-blind)
#004CCC
Tritanopia (blue-blind)
#005E7F
Achromatopsia (no color)
#525252
Design tokens & code
CSS
--color: #5130cf; /* rgb */ color: rgb(81, 48, 207); /* oklch */ color: oklch(46.2% 0.226 282.6);
Tailwind
colors: {
custom: {
50: '#916ddf',
500: '#5130cf',
950: '#000000',
},
}SCSS
$custom: #5130cf; $custom-light: #916ddf; $custom-dark: #000000;
JSON
{
"hex": "#5130cf",
"rgb": {
"r": 81,
"g": 48,
"b": 207
},
"hsl": {
"h": 252.453,
"s": 62.353,
"l": 50
},
"oklch": {
"l": 0.46225,
"c": 0.2255,
"h": 282.6
},
"luminance": 0.08368
}Semantic roles & 50–950 ramp
primary
#5130CF
secondary
#C2D18A
accent
#E542C4
background
#F9F6FD
surface
#F2ECFB
border
#CCC7D4
text
#0E0715
muted
#7E7A83