#702170#702170

#702170 is a dark, vivid purple. Relative luminance 0.057; OKLCH L 40.4% C 0.147 H 327.9°. Best body text is #FFFFFF at 9.81:1 contrast (WCAG AA passes).

Color values

HEX#702170
RGBrgb(112, 33, 112)
HSLhsl(300, 54%, 28%)
HSVhsv(300, 71%, 44%)
CMYKcmyk(0%, 70.5%, 0%, 56.1%)
CIE-LABlab(28.65, 44.76, -28.32)
CIE-LCHlch(28.65, 52.97, 327.68°)
OKLaboklab(40.42% 0.1248 -0.0783)
OKLCHoklch(40.42% 0.147 327.9)
XYZxyz(10.1504, 5.7030, 15.8923)
Luminance0.0570 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702170 #217021
analogous
#482170 #702170 #702148
triadic
#702170 #707021 #217070
tetradic
#702170 #704821 #217021 #214870
square
#702170 #704821 #217021 #214870
split-complementary
#702170 #487021 #217048
monochromatic
#180718 #411341 #702170 #9F2F9F #C844C8

Accessibility & contrast

On white

9.81
#702170 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#702170 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702170
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702170#FFFFFF#000000##FFFFFF
##7021701.009.812.149.81
#FFFFFF9.811.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#153D72
Deuteranopia (green-blind)
#35476E
Tritanopia (blue-blind)
#742C46
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #702170;
/* rgb */ color: rgb(112, 33, 112);
/* oklch */ color: oklch(40.4% 0.147 327.9);
Tailwind
colors: {
  custom: {
    50: '#9c6499',
    500: '#702170',
    950: '#000000',
  },
}
SCSS
$custom: #702170;
$custom-light: #9c6499;
$custom-dark: #000000;
JSON
{
  "hex": "#702170",
  "rgb": {
    "r": 112,
    "g": 33,
    "b": 112
  },
  "hsl": {
    "h": 300,
    "s": 54.483,
    "l": 28.431
  },
  "oklch": {
    "l": 0.40415,
    "c": 0.14735,
    "h": 327.9
  },
  "luminance": 0.05702
}

Semantic roles & 50–950 ramp

primary
#702170
secondary
#49A449
accent
#DE4A4A
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E060E
muted
#7E7A7E

Preview Lab

Preview with #702170

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

Preview Lab → · Contrast checker → · Palette generator →

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