#702071#702071

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

Color values

HEX#702071
RGBrgb(112, 32, 113)
HSLhsl(299, 56%, 28%)
HSVhsv(299, 72%, 44%)
CMYKcmyk(0.9%, 71.7%, 0%, 55.7%)
CIE-LABlab(28.57, 45.35, -29.09)
CIE-LCHlch(28.57, 53.88, 327.32°)
OKLaboklab(40.37% 0.126 -0.0806)
OKLCHoklch(40.37% 0.15 327.4)
XYZxyz(10.1791, 5.6707, 16.1780)
Luminance0.0567 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702071 #217120
analogous
#472071 #702071 #712049
triadic
#702071 #717020 #207170
tetradic
#702071 #714720 #217120 #204971
square
#702071 #714720 #217120 #204971
split-complementary
#702071 #497120 #207147
monochromatic
#180718 #411241 #702071 #9F2EA1 #C842C9

Accessibility & contrast

On white

9.84
#702071 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#702071 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702071
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702071#FFFFFF#000000##FFFFFF
##7020711.009.842.139.84
#FFFFFF9.841.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#123D73
Deuteranopia (green-blind)
#34476F
Tritanopia (blue-blind)
#732C46
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #702071;
/* rgb */ color: rgb(112, 32, 113);
/* oklch */ color: oklch(40.4% 0.150 327.4);
Tailwind
colors: {
  custom: {
    50: '#9c649a',
    500: '#702071',
    950: '#000000',
  },
}
SCSS
$custom: #702071;
$custom-light: #9c649a;
$custom-dark: #000000;
JSON
{
  "hex": "#702071",
  "rgb": {
    "r": 112,
    "g": 32,
    "b": 113
  },
  "hsl": {
    "h": 299.259,
    "s": 55.862,
    "l": 28.431
  },
  "oklch": {
    "l": 0.40373,
    "c": 0.14952,
    "h": 327.4
  },
  "luminance": 0.0567
}

Semantic roles & 50–950 ramp

primary
#702071
secondary
#49A548
accent
#DF494A
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0F060E
muted
#7E7A7E

Preview Lab

Preview with #702071

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

Preview Lab → · Contrast checker → · Palette generator →

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