#532baf
a dark, vivid violet · warm · closest name: indigo
RGB
83, 43, 175
HSL
258°, 61%, 43%
CMYK
53, 75, 0, 31
Luminance
0.0666
Every format
| HEX | #532baf |
| RGB | rgb(83, 43, 175) |
| HSL | hsl(258, 61%, 43%) |
| CMYK | cmyk(53%, 75%, 0%, 31%) |
| LAB | lab(31.0 49.3 -63.6) |
| LCH | lch(31.0 80.5 307.8) |
| OKLCH | oklch(0.427 0.194 289.3) |
Copy-ready code
/* CSS */
color: #532baf;
background-color: #532baf;
/* Tailwind (arbitrary) */
class="text-[#532baf] bg-[#532baf]"
/* SCSS */
$brand: #532baf;
/* SwiftUI */
Color(red: 0.325, green: 0.169, blue: 0.686)
/* Android */
Color.parseColor("#532baf")Accessibility — WCAG contrast
Aa
#532baf on white: 9.00:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#532baf on black: 2.33:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red32.5%
Green16.9%
Blue68.6%
CMYK percentages
Cyan52.6%
Magenta75.4%
Yellow0.0%
Key (black)31.4%
Color previews
#532baf text on a black background
contrast 2.33:1
Card sample
#532baf text on a white background
contrast 9.00:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #532baf;
Background color
Panel with #532baf background
background-color: #532baf;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #532baf;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(83, 43, 175, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(83, 43, 175, 0.45);
Border & gradient
Gradient panel
border: 3px solid #532baf; background: linear-gradient(135deg, #532baf, #AB2BAF);