#702AA2#702AA2

#702AA2 is a dark, vivid violet. Relative luminance 0.077; OKLCH L 44.9% C 0.184 H 307.0°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#702AA2
RGBrgb(112, 42, 162)
HSLhsl(275, 59%, 40%)
HSVhsv(275, 74%, 64%)
CMYKcmyk(30.9%, 74.1%, 0%, 36.5%)
CIE-LABlab(33.37, 51.44, -51.78)
CIE-LCHlch(33.37, 72.99, 314.81°)
OKLaboklab(44.86% 0.1107 -0.1471)
OKLCHoklch(44.86% 0.184 307)
XYZxyz(14.0302, 7.7095, 34.9244)
Luminance0.0771 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702AA2 #5CA22A
analogous
#342AA2 #702AA2 #A22A98
triadic
#702AA2 #A2702A #2AA270
tetradic
#702AA2 #A2342A #5CA22A #2A98A2
square
#702AA2 #A2342A #5CA22A #2A98A2
split-complementary
#702AA2 #98A22A #2AA234
monochromatic
#2D1141 #4E1D71 #702AA2 #913DCD #AC6DD9

Accessibility & contrast

On white

8.26
#702AA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#702AA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702AA2
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702AA2#FFFFFF#000000##FFFFFF
##702AA21.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA5
Deuteranopia (green-blind)
#004FA0
Tritanopia (blue-blind)
#684764
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #702aa2;
/* rgb */ color: rgb(112, 42, 162);
/* oklch */ color: oklch(44.9% 0.184 307.0);
Tailwind
colors: {
  custom: {
    50: '#9e6abe',
    500: '#702aa2',
    950: '#000000',
  },
}
SCSS
$custom: #702aa2;
$custom-light: #9e6abe;
$custom-dark: #000000;
JSON
{
  "hex": "#702aa2",
  "rgb": {
    "r": 112,
    "g": 42,
    "b": 162
  },
  "hsl": {
    "h": 275,
    "s": 58.824,
    "l": 40
  },
  "oklch": {
    "l": 0.4486,
    "c": 0.18409,
    "h": 307
  },
  "luminance": 0.07709
}

Semantic roles & 50–950 ramp

primary
#702AA2
secondary
#8DC068
accent
#E24687
background
#FAF6FB
surface
#F4EBF7
border
#CEC6D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #702AA2

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

Preview Lab → · Contrast checker → · Palette generator →

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