#6c0184
a dark, electric violet · warm · closest name: purple
RGB
108, 1, 132
HSL
289°, 99%, 26%
CMYK
18, 99, 0, 48
Luminance
0.0488
Every format
| HEX | #6c0184 |
| RGB | rgb(108, 1, 132) |
| HSL | hsl(289, 99%, 26%) |
| CMYK | cmyk(18%, 99%, 0%, 48%) |
| LAB | lab(26.4 56.2 -44.7) |
| LCH | lch(26.4 71.8 321.5) |
| OKLCH | oklch(0.391 0.189 318.1) |
Copy-ready code
/* CSS */
color: #6c0184;
background-color: #6c0184;
/* Tailwind (arbitrary) */
class="text-[#6c0184] bg-[#6c0184]"
/* SCSS */
$brand: #6c0184;
/* SwiftUI */
Color(red: 0.424, green: 0.004, blue: 0.518)
/* Android */
Color.parseColor("#6c0184")Accessibility — WCAG contrast
Aa
#6c0184 on white: 10.63:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#6c0184 on black: 1.98:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red42.4%
Green0.4%
Blue51.8%
CMYK percentages
Cyan18.2%
Magenta99.2%
Yellow0.0%
Key (black)48.2%
Color previews
#6c0184 text on a black background
contrast 1.98:1
Card sample
#6c0184 text on a white background
contrast 10.63:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #6c0184;
Background color
Panel with #6c0184 background
background-color: #6c0184;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #6c0184;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(108, 1, 132, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(108, 1, 132, 0.45);
Border & gradient
Gradient panel
border: 3px solid #6c0184; background: linear-gradient(135deg, #6c0184, #840145);