#712972#712972

#712972 is a dark, vivid purple. Relative luminance 0.063; OKLCH L 41.6% C 0.138 H 327.2°. Best body text is #FFFFFF at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#712972
RGBrgb(113, 41, 114)
HSLhsl(299, 47%, 30%)
HSVhsv(299, 64%, 45%)
CMYKcmyk(0.9%, 64%, 0%, 55.3%)
CIE-LABlab(30.19, 41.89, -27.16)
CIE-LCHlch(30.19, 49.93, 327.05°)
OKLaboklab(41.6% 0.1162 -0.075)
OKLCHoklch(41.6% 0.138 327.2)
XYZxyz(10.6401, 6.3122, 16.5743)
Luminance0.0631 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712972 #2A7229
analogous
#4C2972 #712972 #72294E
triadic
#712972 #727129 #297271
tetradic
#712972 #724C29 #2A7229 #294E72
square
#712972 #724C29 #2A7229 #294E72
split-complementary
#712972 #4E7229 #29724C
monochromatic
#180918 #441945 #712972 #9E399F #C054C1

Accessibility & contrast

On white

9.28
#712972 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#712972 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712972
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712972#FFFFFF#000000##FFFFFF
##7129721.009.282.269.28
#FFFFFF9.281.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4174
Deuteranopia (green-blind)
#394A70
Tritanopia (blue-blind)
#743349
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #712972;
/* rgb */ color: rgb(113, 41, 114);
/* oklch */ color: oklch(41.6% 0.138 327.2);
Tailwind
colors: {
  custom: {
    50: '#9c689b',
    500: '#712972',
    950: '#000000',
  },
}
SCSS
$custom: #712972;
$custom-light: #9c689b;
$custom-dark: #000000;
JSON
{
  "hex": "#712972",
  "rgb": {
    "r": 113,
    "g": 41,
    "b": 114
  },
  "hsl": {
    "h": 299.178,
    "s": 47.097,
    "l": 30.392
  },
  "oklch": {
    "l": 0.41596,
    "c": 0.13833,
    "h": 327.2
  },
  "luminance": 0.06311
}

Semantic roles & 50–950 ramp

primary
#712972
secondary
#54A453
accent
#D75153
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E060E
muted
#7E7A7E

Preview Lab

Preview with #712972

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

Preview Lab → · Contrast checker → · Palette generator →

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