#702A86#702A86

#702A86 is a dark, vivid purple. Relative luminance 0.068; OKLCH L 42.8% C 0.156 H 317.1°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#702A86
RGBrgb(112, 42, 134)
HSLhsl(286, 52%, 35%)
HSVhsv(286, 69%, 53%)
CMYKcmyk(16.4%, 68.7%, 0%, 47.5%)
CIE-LABlab(31.40, 45.21, -37.81)
CIE-LCHlch(31.40, 58.94, 320.10°)
OKLaboklab(42.83% 0.114 -0.1061)
OKLCHoklch(42.83% 0.156 317.1)
XYZxyz(11.8125, 6.8224, 23.2443)
Luminance0.0682 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702A86 #40862A
analogous
#422A86 #702A86 #862A6E
triadic
#702A86 #86702A #2A8670
tetradic
#702A86 #86422A #40862A #2A6E86
square
#702A86 #86422A #40862A #2A6E86
split-complementary
#702A86 #6E862A #2A8642
monochromatic
#220D29 #491B57 #702A86 #9739B5 #B25ECD

Accessibility & contrast

On white

8.88
#702A86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#702A86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702A86
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702A86#FFFFFF#000000##FFFFFF
##702A861.008.882.368.88
#FFFFFF8.881.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#014689
Deuteranopia (green-blind)
#2C4C84
Tritanopia (blue-blind)
#6F3B54
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #702a86;
/* rgb */ color: rgb(112, 42, 134);
/* oklch */ color: oklch(42.8% 0.156 317.1);
Tailwind
colors: {
  custom: {
    50: '#9c69aa',
    500: '#702a86',
    950: '#000000',
  },
}
SCSS
$custom: #702a86;
$custom-light: #9c69aa;
$custom-dark: #000000;
JSON
{
  "hex": "#702a86",
  "rgb": {
    "r": 112,
    "g": 42,
    "b": 134
  },
  "hsl": {
    "h": 285.652,
    "s": 52.273,
    "l": 34.51
  },
  "oklch": {
    "l": 0.42828,
    "c": 0.15571,
    "h": 317.1
  },
  "luminance": 0.06822
}

Semantic roles & 50–950 ramp

primary
#702A86
secondary
#6FB25A
accent
#DC4C6E
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F0710
muted
#7E7A7F

Preview Lab

Preview with #702A86

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

Preview Lab → · Contrast checker → · Palette generator →

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