#712072#712072

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

Color values

HEX#712072
RGBrgb(113, 32, 114)
HSLhsl(299, 56%, 29%)
HSVhsv(299, 72%, 45%)
CMYKcmyk(0.9%, 71.9%, 0%, 55.3%)
CIE-LABlab(28.80, 45.78, -29.35)
CIE-LCHlch(28.80, 54.38, 327.33°)
OKLaboklab(40.59% 0.1272 -0.0813)
OKLCHoklch(40.59% 0.151 327.4)
XYZxyz(10.3637, 5.7594, 16.4821)
Luminance0.0576 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712072 #217220
analogous
#482072 #712072 #72204A
triadic
#712072 #727120 #207271
tetradic
#712072 #724820 #217220 #204A72
square
#712072 #724820 #217220 #204A72
split-complementary
#712072 #4A7220 #207248
monochromatic
#180718 #421342 #712072 #A02DA2 #C842CA

Accessibility & contrast

On white

9.76
#712072 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#712072 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712072
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712072#FFFFFF#000000##FFFFFF
##7120721.009.762.159.76
#FFFFFF9.761.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#123D74
Deuteranopia (green-blind)
#344870
Tritanopia (blue-blind)
#742C46
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #712072;
/* rgb */ color: rgb(113, 32, 114);
/* oklch */ color: oklch(40.6% 0.151 327.4);
Tailwind
colors: {
  custom: {
    50: '#9d649b',
    500: '#712072',
    950: '#000000',
  },
}
SCSS
$custom: #712072;
$custom-light: #9d649b;
$custom-dark: #000000;
JSON
{
  "hex": "#712072",
  "rgb": {
    "r": 113,
    "g": 32,
    "b": 114
  },
  "hsl": {
    "h": 299.268,
    "s": 56.164,
    "l": 28.627
  },
  "oklch": {
    "l": 0.40592,
    "c": 0.15094,
    "h": 327.4
  },
  "luminance": 0.05759
}

Semantic roles & 50–950 ramp

primary
#712072
secondary
#49A648
accent
#DF484A
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0F060E
muted
#7E7A7E

Preview Lab

Preview with #712072

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

Preview Lab → · Contrast checker → · Palette generator →

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