#712B71#712B71

#712B71 is a dark, vivid purple. Relative luminance 0.064; OKLCH L 41.8% C 0.134 H 327.6°. Best body text is #FFFFFF at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#712B71
RGBrgb(113, 43, 113)
HSLhsl(300, 45%, 31%)
HSVhsv(300, 62%, 44%)
CMYKcmyk(0%, 61.9%, 0%, 55.7%)
CIE-LABlab(30.48, 40.76, -26.06)
CIE-LCHlch(30.48, 48.38, 327.40°)
OKLaboklab(41.79% 0.1135 -0.0719)
OKLCHoklch(41.79% 0.134 327.6)
XYZxyz(10.6544, 6.4314, 16.2998)
Luminance0.0643 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712B71 #2B712B
analogous
#4E2B71 #712B71 #712B4E
triadic
#712B71 #71712B #2B7171
tetradic
#712B71 #714E2B #2B712B #2B4E71
square
#712B71 #714E2B #2B712B #2B4E71
split-complementary
#712B71 #4E712B #2B714E
monochromatic
#180918 #451A45 #712B71 #9D3C9D #BF57BF

Accessibility & contrast

On white

9.19
#712B71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#712B71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712B71
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712B71#FFFFFF#000000##FFFFFF
##712B711.009.192.299.19
#FFFFFF9.191.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234273
Deuteranopia (green-blind)
#3B4B6F
Tritanopia (blue-blind)
#74344A
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #712b71;
/* rgb */ color: rgb(113, 43, 113);
/* oklch */ color: oklch(41.8% 0.134 327.6);
Tailwind
colors: {
  custom: {
    50: '#9c699a',
    500: '#712b71',
    950: '#000000',
  },
}
SCSS
$custom: #712b71;
$custom-light: #9c699a;
$custom-dark: #000000;
JSON
{
  "hex": "#712b71",
  "rgb": {
    "r": 113,
    "g": 43,
    "b": 113
  },
  "hsl": {
    "h": 300,
    "s": 44.872,
    "l": 30.588
  },
  "oklch": {
    "l": 0.41788,
    "c": 0.13432,
    "h": 327.6
  },
  "luminance": 0.06431
}

Semantic roles & 50–950 ramp

primary
#712B71
secondary
#55A355
accent
#D55353
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E070E
muted
#7E7A7E

Preview Lab

Preview with #712B71

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

Preview Lab → · Contrast checker → · Palette generator →

#712B71 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva