#712371#712371

#712371 is a dark, vivid purple. Relative luminance 0.059; OKLCH L 40.8% C 0.146 H 327.8°. Best body text is #FFFFFF at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#712371
RGBrgb(113, 35, 113)
HSLhsl(300, 53%, 29%)
HSVhsv(300, 69%, 44%)
CMYKcmyk(0%, 69%, 0%, 55.7%)
CIE-LABlab(29.17, 44.37, -28.12)
CIE-LCHlch(29.17, 52.53, 327.64°)
OKLaboklab(40.84% 0.1237 -0.0777)
OKLCHoklch(40.84% 0.146 327.8)
XYZxyz(10.3916, 5.9057, 16.2122)
Luminance0.0590 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712371 #237123
analogous
#4A2371 #712371 #71234A
triadic
#712371 #717123 #237171
tetradic
#712371 #714A23 #237123 #234A71
square
#712371 #714A23 #237123 #234A71
split-complementary
#712371 #4A7123 #23714A
monochromatic
#170717 #421542 #712371 #A031A0 #C648C6

Accessibility & contrast

On white

9.63
#712371 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#712371 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712371
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712371#FFFFFF#000000##FFFFFF
##7123711.009.632.189.63
#FFFFFF9.631.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#183E73
Deuteranopia (green-blind)
#36486F
Tritanopia (blue-blind)
#752E47
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #712371;
/* rgb */ color: rgb(113, 35, 113);
/* oklch */ color: oklch(40.8% 0.146 327.8);
Tailwind
colors: {
  custom: {
    50: '#9d659a',
    500: '#712371',
    950: '#000000',
  },
}
SCSS
$custom: #712371;
$custom-light: #9d659a;
$custom-dark: #000000;
JSON
{
  "hex": "#712371",
  "rgb": {
    "r": 113,
    "g": 35,
    "b": 113
  },
  "hsl": {
    "h": 300,
    "s": 52.703,
    "l": 29.02
  },
  "oklch": {
    "l": 0.40844,
    "c": 0.14609,
    "h": 327.8
  },
  "luminance": 0.05905
}

Semantic roles & 50–950 ramp

primary
#712371
secondary
#4CA44C
accent
#DC4C4C
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0F060E
muted
#7E7A7E

Preview Lab

Preview with #712371

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

Preview Lab → · Contrast checker → · Palette generator →

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