#702A88#702A88

#702A88 is a dark, vivid purple. Relative luminance 0.069; OKLCH L 43.0% C 0.158 H 316.2°. Best body text is #FFFFFF at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#702A88
RGBrgb(112, 42, 136)
HSLhsl(285, 53%, 35%)
HSVhsv(285, 69%, 53%)
CMYKcmyk(17.6%, 69.1%, 0%, 46.7%)
CIE-LABlab(31.53, 45.64, -38.84)
CIE-LCHlch(31.53, 59.93, 319.60°)
OKLaboklab(42.96% 0.1139 -0.1091)
OKLCHoklch(42.96% 0.158 316.2)
XYZxyz(11.9533, 6.8787, 23.9858)
Luminance0.0688 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702A88 #42882A
analogous
#412A88 #702A88 #882A71
triadic
#702A88 #88702A #2A8870
tetradic
#702A88 #88412A #42882A #2A7188
square
#702A88 #88412A #42882A #2A7188
split-complementary
#702A88 #71882A #2A8841
monochromatic
#230D2A #491C59 #702A88 #9738B7 #B15FCE

Accessibility & contrast

On white

8.84
#702A88 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#702A88 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702A88
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702A88#FFFFFF#000000##FFFFFF
##702A881.008.842.388.84
#FFFFFF8.841.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468B
Deuteranopia (green-blind)
#2A4C86
Tritanopia (blue-blind)
#6F3C55
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #702a88;
/* rgb */ color: rgb(112, 42, 136);
/* oklch */ color: oklch(43.0% 0.158 316.2);
Tailwind
colors: {
  custom: {
    50: '#9c69ab',
    500: '#702a88',
    950: '#000000',
  },
}
SCSS
$custom: #702a88;
$custom-light: #9c69ab;
$custom-dark: #000000;
JSON
{
  "hex": "#702a88",
  "rgb": {
    "r": 112,
    "g": 42,
    "b": 136
  },
  "hsl": {
    "h": 284.681,
    "s": 52.809,
    "l": 34.902
  },
  "oklch": {
    "l": 0.42963,
    "c": 0.15771,
    "h": 316.2
  },
  "luminance": 0.06878
}

Semantic roles & 50–950 ramp

primary
#702A88
secondary
#71B35B
accent
#DC4C71
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F0710
muted
#7E7A7F

Preview Lab

Preview with #702A88

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

Preview Lab → · Contrast checker → · Palette generator →

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