#702870#702870

#702870 is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.2% C 0.137 H 327.7°. Best body text is #FFFFFF at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#702870
RGBrgb(112, 40, 112)
HSLhsl(300, 47%, 30%)
HSVhsv(300, 64%, 44%)
CMYKcmyk(0%, 64.3%, 0%, 56.1%)
CIE-LABlab(29.75, 41.71, -26.59)
CIE-LCHlch(29.75, 49.46, 327.48°)
OKLaboklab(41.21% 0.1162 -0.0734)
OKLCHoklch(41.21% 0.137 327.7)
XYZxyz(10.3654, 6.1329, 15.9639)
Luminance0.0613 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702870 #287028
analogous
#4C2870 #702870 #70284C
triadic
#702870 #707028 #287070
tetradic
#702870 #704C28 #287028 #284C70
square
#702870 #704C28 #287028 #284C70
split-complementary
#702870 #4C7028 #28704C
monochromatic
#170817 #431843 #702870 #9D389D #C151C1

Accessibility & contrast

On white

9.43
#702870 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#702870 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702870
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702870#FFFFFF#000000##FFFFFF
##7028701.009.432.239.43
#FFFFFF9.431.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4072
Deuteranopia (green-blind)
#39496E
Tritanopia (blue-blind)
#733148
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #702870;
/* rgb */ color: rgb(112, 40, 112);
/* oklch */ color: oklch(41.2% 0.137 327.7);
Tailwind
colors: {
  custom: {
    50: '#9b6799',
    500: '#702870',
    950: '#000000',
  },
}
SCSS
$custom: #702870;
$custom-light: #9b6799;
$custom-dark: #000000;
JSON
{
  "hex": "#702870",
  "rgb": {
    "r": 112,
    "g": 40,
    "b": 112
  },
  "hsl": {
    "h": 300,
    "s": 47.368,
    "l": 29.804
  },
  "oklch": {
    "l": 0.41207,
    "c": 0.1374,
    "h": 327.7
  },
  "luminance": 0.06132
}

Semantic roles & 50–950 ramp

primary
#702870
secondary
#51A251
accent
#D75151
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E060E
muted
#7E7A7E

Preview Lab

Preview with #702870

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

Preview Lab → · Contrast checker → · Palette generator →

#702870 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva