#712171#712171

#712171 is a dark, vivid purple. Relative luminance 0.058; OKLCH L 40.6% C 0.149 H 327.9°. Best body text is #FFFFFF at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#712171
RGBrgb(113, 33, 113)
HSLhsl(300, 55%, 29%)
HSVhsv(300, 71%, 44%)
CMYKcmyk(0%, 70.8%, 0%, 55.7%)
CIE-LABlab(28.88, 45.20, -28.58)
CIE-LCHlch(28.88, 53.48, 327.69°)
OKLaboklab(40.63% 0.126 -0.0791)
OKLCHoklch(40.63% 0.149 327.9)
XYZxyz(10.3344, 5.7914, 16.1931)
Luminance0.0579 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712171 #217121
analogous
#492171 #712171 #712149
triadic
#712171 #717121 #217171
tetradic
#712171 #714921 #217121 #214971
square
#712171 #714921 #217121 #214971
split-complementary
#712171 #497121 #217149
monochromatic
#180718 #421342 #712171 #A02FA0 #C844C8

Accessibility & contrast

On white

9.73
#712171 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#712171 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712171
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712171#FFFFFF#000000##FFFFFF
##7121711.009.732.169.73
#FFFFFF9.731.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#153D73
Deuteranopia (green-blind)
#35486F
Tritanopia (blue-blind)
#752C46
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #712171;
/* rgb */ color: rgb(113, 33, 113);
/* oklch */ color: oklch(40.6% 0.149 327.9);
Tailwind
colors: {
  custom: {
    50: '#9d649a',
    500: '#712171',
    950: '#000000',
  },
}
SCSS
$custom: #712171;
$custom-light: #9d649a;
$custom-dark: #000000;
JSON
{
  "hex": "#712171",
  "rgb": {
    "r": 113,
    "g": 33,
    "b": 113
  },
  "hsl": {
    "h": 300,
    "s": 54.795,
    "l": 28.627
  },
  "oklch": {
    "l": 0.40633,
    "c": 0.14878,
    "h": 327.9
  },
  "luminance": 0.05791
}

Semantic roles & 50–950 ramp

primary
#712171
secondary
#49A549
accent
#DE4A4A
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0F060E
muted
#7E7A7E

Preview Lab

Preview with #712171

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

Preview Lab → · Contrast checker → · Palette generator →

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