#413fac
a balanced, vivid blue · warm · closest name: slateblue
RGB
65, 63, 172
HSL
241°, 46%, 46%
CMYK
62, 63, 0, 33
Luminance
0.0766
Every format
| HEX | #413fac |
| RGB | rgb(65, 63, 172) |
| HSL | hsl(241, 46%, 46%) |
| CMYK | cmyk(62%, 63%, 0%, 33%) |
| LAB | lab(33.3 34.3 -58.2) |
| LCH | lch(33.3 67.5 300.5) |
| OKLCH | oklch(0.439 0.169 277.7) |
Copy-ready code
/* CSS */
color: #413fac;
background-color: #413fac;
/* Tailwind (arbitrary) */
class="text-[#413fac] bg-[#413fac]"
/* SCSS */
$brand: #413fac;
/* SwiftUI */
Color(red: 0.255, green: 0.247, blue: 0.675)
/* Android */
Color.parseColor("#413fac")Accessibility — WCAG contrast
Aa
#413fac on white: 8.30:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#413fac on black: 2.53:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red25.5%
Green24.7%
Blue67.5%
CMYK percentages
Cyan62.2%
Magenta63.4%
Yellow0.0%
Key (black)32.5%
Color previews
#413fac text on a black background
contrast 2.53:1
Card sample
#413fac text on a white background
contrast 8.30:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #413fac;
Background color
Panel with #413fac background
background-color: #413fac;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #413fac;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(65, 63, 172, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(65, 63, 172, 0.45);
Border & gradient
Gradient panel
border: 3px solid #413fac; background: linear-gradient(135deg, #413fac, #8A3FAC);