Skip to content

#702abc

a balanced, vivid violet · warm · closest name: indigo

RGB
112, 42, 188
HSL
269°, 64%, 45%
CMYK
40, 78, 0, 26
Luminance
0.0873

Every format

HEX#702abc
RGBrgb(112, 42, 188)
HSLhsl(269, 64%, 45%)
CMYKcmyk(40%, 78%, 0%, 26%)
LABlab(35.5 57.6 -63.9)
LCHlch(35.5 86.0 312.0)
OKLCHoklch(0.470 0.210 299.8)

Copy-ready code

/* CSS */
color: #702abc;
background-color: #702abc;
/* Tailwind (arbitrary) */
class="text-[#702abc] bg-[#702abc]"
/* SCSS */
$brand: #702abc;
/* SwiftUI */
Color(red: 0.439, green: 0.165, blue: 0.737)
/* Android */
Color.parseColor("#702abc")

Accessibility — WCAG contrast

Aa
#702abc on white: 7.65:1
AA ✓ pass · AA-large · AAA
Aa
#702abc on black: 2.75:1
AA ✗ fail · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red43.9%
Green16.5%
Blue73.7%

CMYK percentages

Cyan40.4%
Magenta77.7%
Yellow0.0%
Key (black)26.3%

Color previews

#702abc text on a black background

contrast 2.75:1

Card sample

#702abc text on a white background

contrast 7.65:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #702abc;
Background color
Panel with #702abc background
background-color: #702abc;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #702abc;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(112, 42, 188, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(112, 42, 188, 0.45);
Border & gradient
Gradient panel
border: 3px solid #702abc;
background: linear-gradient(135deg, #702abc, #BC2AA7);

Monochromatic scale

Palettes built from #702abc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #702abc in the Color Lab