#702C86#702C86

#702C86 is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.1% C 0.153 H 316.9°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#702C86
RGBrgb(112, 44, 134)
HSLhsl(285, 51%, 35%)
HSVhsv(285, 67%, 53%)
CMYKcmyk(16.4%, 67.2%, 0%, 47.5%)
CIE-LABlab(31.73, 44.28, -37.27)
CIE-LCHlch(31.73, 57.88, 319.91°)
OKLaboklab(43.07% 0.1116 -0.1045)
OKLCHoklch(43.07% 0.153 316.9)
XYZxyz(11.8852, 6.9678, 23.2685)
Luminance0.0697 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702C86 #42862C
analogous
#432C86 #702C86 #862C6F
triadic
#702C86 #86702C #2C8670
tetradic
#702C86 #86432C #42862C #2C6F86
square
#702C86 #86432C #42862C #2C6F86
split-complementary
#702C86 #6F862C #2C8643
monochromatic
#230E2A #491D58 #702C86 #973BB4 #B161CB

Accessibility & contrast

On white

8.77
#702C86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#702C86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702C86
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702C86#FFFFFF#000000##FFFFFF
##702C861.008.772.398.77
#FFFFFF8.771.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#084689
Deuteranopia (green-blind)
#2E4D84
Tritanopia (blue-blind)
#6F3D55
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #702c86;
/* rgb */ color: rgb(112, 44, 134);
/* oklch */ color: oklch(43.1% 0.153 316.9);
Tailwind
colors: {
  custom: {
    50: '#9c6aaa',
    500: '#702c86',
    950: '#000000',
  },
}
SCSS
$custom: #702c86;
$custom-light: #9c6aaa;
$custom-dark: #000000;
JSON
{
  "hex": "#702c86",
  "rgb": {
    "r": 112,
    "g": 44,
    "b": 134
  },
  "hsl": {
    "h": 285.333,
    "s": 50.562,
    "l": 34.902
  },
  "oklch": {
    "l": 0.43069,
    "c": 0.15289,
    "h": 316.9
  },
  "luminance": 0.06967
}

Semantic roles & 50–950 ramp

primary
#702C86
secondary
#71B15C
accent
#DA4E70
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0710
muted
#7E7A7F

Preview Lab

Preview with #702C86

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

Preview Lab → · Contrast checker → · Palette generator →

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