#5136C1#5136C1
#5136C1 is a mid, highly saturated violet. Relative luminance 0.082; OKLCH L 45.6% C 0.203 H 283.8°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).
Color values
| HEX | #5136C1 |
|---|---|
| RGB | rgb(81, 54, 193) |
| HSL | hsl(252, 56%, 48%) |
| HSV | hsv(252, 72%, 76%) |
| CMYK | cmyk(58%, 72%, 0%, 24.3%) |
| CIE-LAB | lab(34.47, 48.60, -68.58) |
| CIE-LCH | lch(34.47, 84.06, 305.32°) |
| OKLab | oklab(45.64% 0.0484 -0.1975) |
| OKLCH | oklch(45.64% 0.203 283.8) |
| XYZ | xyz(14.3352, 8.2370, 51.2763) |
| Luminance | 0.0824 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blue With A Hint Of Purple
#533CC6
ΔE00 1.63
Blurple
#5539CC
ΔE00 1.79
Ocean Blue
#4F42B5
ΔE00 3.50
Bluey Purple
#6241C7
ΔE00 3.72
Purple Blue
#5D21D0
ΔE00 4.11
Purpley Blue
#5F34E7
ΔE00 5.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#5136C1 #A6C136
analogous
#3660C1 #5136C1 #9636C1
triadic
#5136C1 #C15136 #36C151
tetradic
#5136C1 #C13660 #A6C136 #36C196
square
#5136C1 #C13660 #A6C136 #36C196
split-complementary
#5136C1 #C19636 #60C136
monochromatic
#291B61 #3D2991 #5136C1 #7761D3 #A191E0
Accessibility & contrast
On white
7.93
#5136C1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.65
#5136C1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #5136C1
7.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##5136C1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##5136C1 | 1.00 | 7.93 | 2.65 | 7.93 |
| #FFFFFF | 7.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.65 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0055C5
Deuteranopia (green-blind)
#004CBE
Tritanopia (blue-blind)
#105C78
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #5136c1; /* rgb */ color: rgb(81, 54, 193); /* oklch */ color: oklch(45.6% 0.203 283.8);
Tailwind
colors: {
custom: {
50: '#8e70d5',
500: '#5136c1',
950: '#000000',
},
}SCSS
$custom: #5136c1; $custom-light: #8e70d5; $custom-dark: #000000;
JSON
{
"hex": "#5136c1",
"rgb": {
"r": 81,
"g": 54,
"b": 193
},
"hsl": {
"h": 251.655,
"s": 56.275,
"l": 48.431
},
"oklch": {
"l": 0.45637,
"c": 0.20337,
"h": 283.8
},
"luminance": 0.08238
}Semantic roles & 50–950 ramp
primary
#5136C1
secondary
#BECB88
accent
#E048C2
background
#F9F6FD
surface
#F2ECFA
border
#CCC7D3
text
#0E0814
muted
#7E7B83