#702AA0#702AA0

#702AA0 is a dark, vivid violet. Relative luminance 0.076; OKLCH L 44.7% C 0.182 H 307.6°. Best body text is #FFFFFF at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#702AA0
RGBrgb(112, 42, 160)
HSLhsl(276, 58%, 40%)
HSVhsv(276, 74%, 63%)
CMYKcmyk(30%, 73.8%, 0%, 37.3%)
CIE-LABlab(33.22, 50.98, -50.82)
CIE-LCHlch(33.22, 71.99, 315.09°)
OKLaboklab(44.71% 0.1111 -0.1442)
OKLCHoklch(44.71% 0.182 307.6)
XYZxyz(13.8539, 7.6389, 33.9955)
Luminance0.0764 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702AA0 #5AA02A
analogous
#352AA0 #702AA0 #A02A95
triadic
#702AA0 #A0702A #2AA070
tetradic
#702AA0 #A0352A #5AA02A #2A95A0
square
#702AA0 #A0352A #5AA02A #2A95A0
split-complementary
#702AA0 #95A02A #2AA035
monochromatic
#2C113F #4E1D70 #702AA0 #913CCC #AC6CD8

Accessibility & contrast

On white

8.31
#702AA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#702AA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702AA0
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702AA0#FFFFFF#000000##FFFFFF
##702AA01.008.312.538.31
#FFFFFF8.311.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA3
Deuteranopia (green-blind)
#004F9E
Tritanopia (blue-blind)
#684663
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #702aa0;
/* rgb */ color: rgb(112, 42, 160);
/* oklch */ color: oklch(44.7% 0.182 307.6);
Tailwind
colors: {
  custom: {
    50: '#9e6abd',
    500: '#702aa0',
    950: '#000000',
  },
}
SCSS
$custom: #702aa0;
$custom-light: #9e6abd;
$custom-dark: #000000;
JSON
{
  "hex": "#702aa0",
  "rgb": {
    "r": 112,
    "g": 42,
    "b": 160
  },
  "hsl": {
    "h": 275.593,
    "s": 58.416,
    "l": 39.608
  },
  "oklch": {
    "l": 0.44705,
    "c": 0.18204,
    "h": 307.6
  },
  "luminance": 0.07639
}

Semantic roles & 50–950 ramp

primary
#702AA0
secondary
#8BBF67
accent
#E24685
background
#FAF6FB
surface
#F3EBF7
border
#CDC6D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #702AA0

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#702AA0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva