#702371#702371

#702371 is a dark, vivid purple. Relative luminance 0.058; OKLCH L 40.7% C 0.146 H 327.3°. Best body text is #FFFFFF at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#702371
RGBrgb(112, 35, 113)
HSLhsl(299, 53%, 29%)
HSVhsv(299, 69%, 44%)
CMYKcmyk(0.9%, 69%, 0%, 55.7%)
CIE-LABlab(29.00, 44.11, -28.40)
CIE-LCHlch(29.00, 52.46, 327.23°)
OKLaboklab(40.69% 0.1225 -0.0786)
OKLCHoklch(40.69% 0.146 327.3)
XYZxyz(10.2636, 5.8398, 16.2062)
Luminance0.0584 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702371 #247123
analogous
#492371 #702371 #71234B
triadic
#702371 #717023 #237170
tetradic
#702371 #714923 #247123 #234B71
square
#702371 #714923 #247123 #234B71
split-complementary
#702371 #4B7123 #237149
monochromatic
#170717 #421542 #702371 #9E31A0 #C548C6

Accessibility & contrast

On white

9.69
#702371 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#702371 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702371
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702371#FFFFFF#000000##FFFFFF
##7023711.009.692.179.69
#FFFFFF9.691.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#173E73
Deuteranopia (green-blind)
#36486F
Tritanopia (blue-blind)
#732E47
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #702371;
/* rgb */ color: rgb(112, 35, 113);
/* oklch */ color: oklch(40.7% 0.146 327.3);
Tailwind
colors: {
  custom: {
    50: '#9c659a',
    500: '#702371',
    950: '#000000',
  },
}
SCSS
$custom: #702371;
$custom-light: #9c659a;
$custom-dark: #000000;
JSON
{
  "hex": "#702371",
  "rgb": {
    "r": 112,
    "g": 35,
    "b": 113
  },
  "hsl": {
    "h": 299.231,
    "s": 52.703,
    "l": 29.02
  },
  "oklch": {
    "l": 0.40689,
    "c": 0.14553,
    "h": 327.3
  },
  "luminance": 0.05839
}

Semantic roles & 50–950 ramp

primary
#702371
secondary
#4DA44C
accent
#DC4C4E
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E060E
muted
#7E7A7E

Preview Lab

Preview with #702371

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

Preview Lab → · Contrast checker → · Palette generator →

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