#702A72#702A72

#702A72 is a dark, vivid purple. Relative luminance 0.063; OKLCH L 41.6% C 0.136 H 326.6°. Best body text is #FFFFFF at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#702A72
RGBrgb(112, 42, 114)
HSLhsl(298, 46%, 31%)
HSVhsv(298, 63%, 45%)
CMYKcmyk(1.8%, 63.2%, 0%, 55.3%)
CIE-LABlab(30.20, 41.15, -27.15)
CIE-LCHlch(30.20, 49.30, 326.58°)
OKLaboklab(41.57% 0.1137 -0.075)
OKLCHoklch(41.57% 0.136 326.6)
XYZxyz(10.5471, 6.3162, 16.5799)
Luminance0.0632 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702A72 #2C722A
analogous
#4C2A72 #702A72 #722A50
triadic
#702A72 #72702A #2A7270
tetradic
#702A72 #724C2A #2C722A #2A5072
square
#702A72 #724C2A #2C722A #2A5072
split-complementary
#702A72 #50722A #2A724C
monochromatic
#180919 #441A45 #702A72 #9C3A9F #BE56C1

Accessibility & contrast

On white

9.28
#702A72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #702A72
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702A72#FFFFFF#000000##FFFFFF
##702A721.009.282.269.28
#FFFFFF9.281.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204174
Deuteranopia (green-blind)
#394A70
Tritanopia (blue-blind)
#73334A
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #702a72;
/* rgb */ color: rgb(112, 42, 114);
/* oklch */ color: oklch(41.6% 0.136 326.6);
Tailwind
colors: {
  custom: {
    50: '#9b699b',
    500: '#702a72',
    950: '#000000',
  },
}
SCSS
$custom: #702a72;
$custom-light: #9b699b;
$custom-dark: #000000;
JSON
{
  "hex": "#702a72",
  "rgb": {
    "r": 112,
    "g": 42,
    "b": 114
  },
  "hsl": {
    "h": 298.333,
    "s": 46.154,
    "l": 30.588
  },
  "oklch": {
    "l": 0.41571,
    "c": 0.13621,
    "h": 326.6
  },
  "luminance": 0.06316
}

Semantic roles & 50–950 ramp

primary
#702A72
secondary
#56A454
accent
#D65256
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E060E
muted
#7E7A7E

Preview Lab

Preview with #702A72

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

Preview Lab → · Contrast checker → · Palette generator →

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