#702871#702871

#702871 is a dark, vivid purple. Relative luminance 0.062; OKLCH L 41.3% C 0.138 H 327.2°. Best body text is #FFFFFF at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#702871
RGBrgb(112, 40, 113)
HSLhsl(299, 48%, 30%)
HSVhsv(299, 65%, 44%)
CMYKcmyk(0.9%, 64.6%, 0%, 55.7%)
CIE-LABlab(29.80, 41.90, -27.14)
CIE-LCHlch(29.80, 49.92, 327.07°)
OKLaboklab(41.27% 0.1162 -0.075)
OKLCHoklch(41.27% 0.138 327.2)
XYZxyz(10.4214, 6.1552, 16.2588)
Luminance0.0616 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702871 #297128
analogous
#4B2871 #702871 #71284E
triadic
#702871 #717028 #287170
tetradic
#702871 #714B28 #297128 #284E71
square
#702871 #714B28 #297128 #284E71
split-complementary
#702871 #4E7128 #28714B
monochromatic
#160817 #431844 #702871 #9D389E #C052C2

Accessibility & contrast

On white

9.41
#702871 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #702871
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702871#FFFFFF#000000##FFFFFF
##7028711.009.412.239.41
#FFFFFF9.411.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4073
Deuteranopia (green-blind)
#38496F
Tritanopia (blue-blind)
#733248
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #702871;
/* rgb */ color: rgb(112, 40, 113);
/* oklch */ color: oklch(41.3% 0.138 327.2);
Tailwind
colors: {
  custom: {
    50: '#9c679a',
    500: '#702871',
    950: '#000000',
  },
}
SCSS
$custom: #702871;
$custom-light: #9c679a;
$custom-dark: #000000;
JSON
{
  "hex": "#702871",
  "rgb": {
    "r": 112,
    "g": 40,
    "b": 113
  },
  "hsl": {
    "h": 299.178,
    "s": 47.712,
    "l": 30
  },
  "oklch": {
    "l": 0.41265,
    "c": 0.13832,
    "h": 327.2
  },
  "luminance": 0.06155
}

Semantic roles & 50–950 ramp

primary
#702871
secondary
#53A352
accent
#D75052
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E060E
muted
#7E7A7E

Preview Lab

Preview with #702871

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

Preview Lab → · Contrast checker → · Palette generator →

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