#700cd4
a dark, electric violet · warm · closest name: blue
RGB
112, 12, 212
HSL
270°, 89%, 44%
CMYK
47, 94, 0, 17
Luminance
0.0846
Every format
| HEX | #700cd4 |
| RGB | rgb(112, 12, 212) |
| HSL | hsl(270, 89%, 44%) |
| CMYK | cmyk(47%, 94%, 0%, 17%) |
| LAB | lab(34.9 71.3 -78.8) |
| LCH | lch(34.9 106.2 312.1) |
| OKLCH | oklch(0.473 0.252 296.2) |
Copy-ready code
/* CSS */
color: #700cd4;
background-color: #700cd4;
/* Tailwind (arbitrary) */
class="text-[#700cd4] bg-[#700cd4]"
/* SCSS */
$brand: #700cd4;
/* SwiftUI */
Color(red: 0.439, green: 0.047, blue: 0.831)
/* Android */
Color.parseColor("#700cd4")Accessibility — WCAG contrast
Aa
#700cd4 on white: 7.80:1
AA ✓ pass · AA-large ✓ · AAA ✓
Aa
#700cd4 on black: 2.69:1
AA ✗ fail · AA-large ✗ · AAA ✗
true color
protanopia
deuteranopia
tritanopia
RGB percentages
Red43.9%
Green4.7%
Blue83.1%
CMYK percentages
Cyan47.2%
Magenta94.3%
Yellow0.0%
Key (black)16.9%
Color previews
#700cd4 text on a black background
contrast 2.69:1
Card sample
#700cd4 text on a white background
contrast 7.80:1
Card sample
CSS3 live lab
Text font color
The quick brown fox
color: #700cd4;
Background color
Panel with #700cd4 background
background-color: #700cd4;
Text shadow — hex
Glowing headline
text-shadow: 2px 2px 8px #700cd4;
Text shadow — RGB
Soft neon halo
text-shadow: 0 0 14px rgba(112, 12, 212, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(112, 12, 212, 0.45);
Border & gradient
Gradient panel
border: 3px solid #700cd4; background: linear-gradient(135deg, #700cd4, #D40CB3);