#5316df
a balanced, electric violet · warm · closest name: blue
RGB
83, 22, 223
HSL
258°, 82%, 48%
CMYK
63, 90, 0, 13
Luminance
0.0774
Every format
| HEX | #5316df |
| RGB | rgb(83, 22, 223) |
| HSL | hsl(258, 82%, 48%) |
| CMYK | cmyk(63%, 90%, 0%, 13%) |
| LAB | lab(33.4 69.6 -87.7) |
| LCH | lch(33.4 111.9 308.4) |
| OKLCH | oklch(0.459 0.259 282.9) |
Copy-ready code
/* CSS */
color: #5316df;
background-color: #5316df;
/* Tailwind (arbitrary) */
class="text-[#5316df] bg-[#5316df]"
/* SCSS */
$brand: #5316df;
/* SwiftUI */
Color(red: 0.325, green: 0.086, blue: 0.875)
/* Android */
Color.parseColor("#5316df")Accessibility — WCAG contrast
Aa
#5316df on white: 8.24:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#5316df on black: 2.55:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red32.5%
Green8.6%
Blue87.5%
CMYK percentages
Cyan62.8%
Magenta90.1%
Yellow0.0%
Key (black)12.5%
Color previews
#5316df text on a black background
contrast 2.55:1
Card sample
#5316df text on a white background
contrast 8.24:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #5316df;
Background color
Panel with #5316df background
background-color: #5316df;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #5316df;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(83, 22, 223, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(83, 22, 223, 0.45);
Border & gradient
Gradient panel
border: 3px solid #5316df; background: linear-gradient(135deg, #5316df, #D916DF);