#712A72#712A72

#712A72 is a dark, vivid purple. Relative luminance 0.064; OKLCH L 41.7% C 0.137 H 327.1°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#712A72
RGBrgb(113, 42, 114)
HSLhsl(299, 46%, 31%)
HSVhsv(299, 63%, 45%)
CMYKcmyk(0.9%, 63.2%, 0%, 55.3%)
CIE-LABlab(30.36, 41.42, -26.89)
CIE-LCHlch(30.36, 49.39, 327.01°)
OKLaboklab(41.72% 0.1149 -0.0742)
OKLCHoklch(41.72% 0.137 327.1)
XYZxyz(10.6751, 6.3822, 16.5859)
Luminance0.0638 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712A72 #2B722A
analogous
#4D2A72 #712A72 #722A4F
triadic
#712A72 #72712A #2A7271
tetradic
#712A72 #724D2A #2B722A #2A4F72
square
#712A72 #724D2A #2B722A #2A4F72
split-complementary
#712A72 #4F722A #2A724D
monochromatic
#180919 #451A45 #712A72 #9D3A9F #BF56C1

Accessibility & contrast

On white

9.23
#712A72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#712A72 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712A72
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712A72#FFFFFF#000000##FFFFFF
##712A721.009.232.289.23
#FFFFFF9.231.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214274
Deuteranopia (green-blind)
#3A4B70
Tritanopia (blue-blind)
#74334A
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #712a72;
/* rgb */ color: rgb(113, 42, 114);
/* oklch */ color: oklch(41.7% 0.137 327.1);
Tailwind
colors: {
  custom: {
    50: '#9c699b',
    500: '#712a72',
    950: '#000000',
  },
}
SCSS
$custom: #712a72;
$custom-light: #9c699b;
$custom-dark: #000000;
JSON
{
  "hex": "#712a72",
  "rgb": {
    "r": 113,
    "g": 42,
    "b": 114
  },
  "hsl": {
    "h": 299.167,
    "s": 46.154,
    "l": 30.588
  },
  "oklch": {
    "l": 0.4172,
    "c": 0.13681,
    "h": 327.1
  },
  "luminance": 0.06382
}

Semantic roles & 50–950 ramp

primary
#712A72
secondary
#55A454
accent
#D65254
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E060E
muted
#7E7A7E

Preview Lab

Preview with #712A72

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

Preview Lab → · Contrast checker → · Palette generator →

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