#712772#712772

#712772 is a dark, vivid purple. Relative luminance 0.062; OKLCH L 41.4% C 0.141 H 327.2°. Best body text is #FFFFFF at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#712772
RGBrgb(113, 39, 114)
HSLhsl(299, 49%, 30%)
HSVhsv(299, 66%, 45%)
CMYKcmyk(0.9%, 65.8%, 0%, 55.3%)
CIE-LABlab(29.86, 42.81, -27.68)
CIE-LCHlch(29.86, 50.98, 327.12°)
OKLaboklab(41.36% 0.1188 -0.0765)
OKLCHoklch(41.36% 0.141 327.2)
XYZxyz(10.5727, 6.1773, 16.5518)
Luminance0.0618 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712772 #287227
analogous
#4B2772 #712772 #72274E
triadic
#712772 #727127 #277271
tetradic
#712772 #724B27 #287227 #274E72
square
#712772 #724B27 #287227 #274E72
split-complementary
#712772 #4E7227 #27724B
monochromatic
#170817 #441744 #712772 #9E37A0 #C250C3

Accessibility & contrast

On white

9.39
#712772 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#712772 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712772
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712772#FFFFFF#000000##FFFFFF
##7127721.009.392.249.39
#FFFFFF9.391.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D4074
Deuteranopia (green-blind)
#384A70
Tritanopia (blue-blind)
#743149
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #712772;
/* rgb */ color: rgb(113, 39, 114);
/* oklch */ color: oklch(41.4% 0.141 327.2);
Tailwind
colors: {
  custom: {
    50: '#9c679b',
    500: '#712772',
    950: '#000000',
  },
}
SCSS
$custom: #712772;
$custom-light: #9c679b;
$custom-dark: #000000;
JSON
{
  "hex": "#712772",
  "rgb": {
    "r": 113,
    "g": 39,
    "b": 114
  },
  "hsl": {
    "h": 299.2,
    "s": 49.02,
    "l": 30
  },
  "oklch": {
    "l": 0.41356,
    "c": 0.14131,
    "h": 327.2
  },
  "luminance": 0.06177
}

Semantic roles & 50–950 ramp

primary
#712772
secondary
#52A450
accent
#D94F51
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E060E
muted
#7E7A7E

Preview Lab

Preview with #712772

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

Preview Lab → · Contrast checker → · Palette generator →

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