#700cd1
a dark, electric violet · warm · closest name: blue
RGB
112, 12, 209
HSL
271°, 89%, 43%
CMYK
46, 94, 0, 18
Luminance
0.0831
Every format
| HEX | #700cd1 |
| RGB | rgb(112, 12, 209) |
| HSL | hsl(271, 89%, 43%) |
| CMYK | cmyk(46%, 94%, 0%, 18%) |
| LAB | lab(34.6 70.6 -77.5) |
| LCH | lch(34.6 104.9 312.3) |
| OKLCH | oklch(0.470 0.249 296.9) |
Copy-ready code
/* CSS */
color: #700cd1;
background-color: #700cd1;
/* Tailwind (arbitrary) */
class="text-[#700cd1] bg-[#700cd1]"
/* SCSS */
$brand: #700cd1;
/* SwiftUI */
Color(red: 0.439, green: 0.047, blue: 0.820)
/* Android */
Color.parseColor("#700cd1")Accessibility — WCAG contrast
Aa
#700cd1 on white: 7.89:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#700cd1 on black: 2.66:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red43.9%
Green4.7%
Blue82.0%
CMYK percentages
Cyan46.4%
Magenta94.3%
Yellow0.0%
Key (black)18.0%
Color previews
#700cd1 text on a black background
contrast 2.66:1
Card sample
#700cd1 text on a white background
contrast 7.89:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #700cd1;
Background color
Panel with #700cd1 background
background-color: #700cd1;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #700cd1;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(112, 12, 209, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(112, 12, 209, 0.45);
Border & gradient
Gradient panel
border: 3px solid #700cd1; background: linear-gradient(135deg, #700cd1, #D10CAE);