#712272#712272

#712272 is a dark, vivid purple. Relative luminance 0.059; OKLCH L 40.8% C 0.148 H 327.4°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#712272
RGBrgb(113, 34, 114)
HSLhsl(299, 54%, 29%)
HSVhsv(299, 70%, 45%)
CMYKcmyk(0.9%, 70.2%, 0%, 55.3%)
CIE-LABlab(29.08, 44.97, -28.90)
CIE-LCHlch(29.08, 53.46, 327.27°)
OKLaboklab(40.8% 0.1249 -0.08)
OKLCHoklch(40.8% 0.148 327.4)
XYZxyz(10.4192, 5.8704, 16.5006)
Luminance0.0587 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712272 #237222
analogous
#492272 #712272 #72224B
triadic
#712272 #727122 #227271
tetradic
#712272 #724922 #237222 #224B72
square
#712272 #724922 #237222 #224B72
split-complementary
#712272 #4B7222 #227249
monochromatic
#170718 #421443 #712272 #A030A1 #C646C8

Accessibility & contrast

On white

9.66
#712272 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#712272 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712272
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712272#FFFFFF#000000##FFFFFF
##7122721.009.662.179.66
#FFFFFF9.661.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#153E74
Deuteranopia (green-blind)
#354870
Tritanopia (blue-blind)
#742E47
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #712272;
/* rgb */ color: rgb(113, 34, 114);
/* oklch */ color: oklch(40.8% 0.148 327.4);
Tailwind
colors: {
  custom: {
    50: '#9d659b',
    500: '#712272',
    950: '#000000',
  },
}
SCSS
$custom: #712272;
$custom-light: #9d659b;
$custom-dark: #000000;
JSON
{
  "hex": "#712272",
  "rgb": {
    "r": 113,
    "g": 34,
    "b": 114
  },
  "hsl": {
    "h": 299.25,
    "s": 54.054,
    "l": 29.02
  },
  "oklch": {
    "l": 0.40798,
    "c": 0.14833,
    "h": 327.4
  },
  "luminance": 0.0587
}

Semantic roles & 50–950 ramp

primary
#712272
secondary
#4CA54B
accent
#DD4A4C
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0F060E
muted
#7E7A7E

Preview Lab

Preview with #712272

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

Preview Lab → · Contrast checker → · Palette generator →

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