#702A71#702A71

#702A71 is a dark, vivid purple. Relative luminance 0.063; OKLCH L 41.5% C 0.135 H 327.1°. Best body text is #FFFFFF at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#702A71
RGBrgb(112, 42, 113)
HSLhsl(299, 46%, 30%)
HSVhsv(299, 63%, 44%)
CMYKcmyk(0.9%, 62.8%, 0%, 55.7%)
CIE-LABlab(30.14, 40.96, -26.60)
CIE-LCHlch(30.14, 48.84, 326.99°)
OKLaboklab(41.51% 0.1136 -0.0734)
OKLCHoklch(41.51% 0.135 327.1)
XYZxyz(10.4905, 6.2936, 16.2818)
Luminance0.0629 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702A71 #2B712A
analogous
#4C2A71 #702A71 #712A4E
triadic
#702A71 #71702A #2A7170
tetradic
#702A71 #714C2A #2B712A #2A4E71
square
#702A71 #714C2A #2B712A #2A4E71
split-complementary
#702A71 #4E712A #2A714C
monochromatic
#180918 #441944 #702A71 #9C3B9E #BE55C0

Accessibility & contrast

On white

9.30
#702A71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#702A71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702A71
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702A71#FFFFFF#000000##FFFFFF
##702A711.009.302.269.30
#FFFFFF9.301.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214173
Deuteranopia (green-blind)
#3A4A6F
Tritanopia (blue-blind)
#733349
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #702a71;
/* rgb */ color: rgb(112, 42, 113);
/* oklch */ color: oklch(41.5% 0.135 327.1);
Tailwind
colors: {
  custom: {
    50: '#9b699a',
    500: '#702a71',
    950: '#000000',
  },
}
SCSS
$custom: #702a71;
$custom-light: #9b699a;
$custom-dark: #000000;
JSON
{
  "hex": "#702a71",
  "rgb": {
    "r": 112,
    "g": 42,
    "b": 113
  },
  "hsl": {
    "h": 299.155,
    "s": 45.806,
    "l": 30.392
  },
  "oklch": {
    "l": 0.41513,
    "c": 0.13527,
    "h": 327.1
  },
  "luminance": 0.06293
}

Semantic roles & 50–950 ramp

primary
#702A71
secondary
#55A354
accent
#D55254
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E060E
muted
#7E7A7E

Preview Lab

Preview with #702A71

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

Preview Lab → · Contrast checker → · Palette generator →

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