#712F87#712F87

#712F87 is a dark, vivid purple. Relative luminance 0.073; OKLCH L 43.6% C 0.150 H 316.7°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#712F87
RGBrgb(113, 47, 135)
HSLhsl(285, 48%, 36%)
HSVhsv(285, 65%, 53%)
CMYKcmyk(16.3%, 65.2%, 0%, 47.1%)
CIE-LABlab(32.47, 43.31, -36.72)
CIE-LCHlch(32.47, 56.78, 319.71°)
OKLaboklab(43.65% 0.1091 -0.1029)
OKLCHoklch(43.65% 0.15 316.7)
XYZxyz(12.1991, 7.2935, 23.6822)
Luminance0.0729 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712F87 #45872F
analogous
#452F87 #712F87 #872F71
triadic
#712F87 #87712F #2F8771
tetradic
#712F87 #87452F #45872F #2F7187
square
#712F87 #87452F #45872F #2F7187
split-complementary
#712F87 #71872F #2F8745
monochromatic
#250F2C #4B1F5A #712F87 #973FB4 #B166CA

Accessibility & contrast

On white

8.54
#712F87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#712F87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712F87
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712F87#FFFFFF#000000##FFFFFF
##712F871.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#11488A
Deuteranopia (green-blind)
#304E85
Tritanopia (blue-blind)
#703F56
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #712f87;
/* rgb */ color: rgb(113, 47, 135);
/* oklch */ color: oklch(43.6% 0.150 316.7);
Tailwind
colors: {
  custom: {
    50: '#9d6caa',
    500: '#712f87',
    950: '#000000',
  },
}
SCSS
$custom: #712f87;
$custom-light: #9d6caa;
$custom-dark: #000000;
JSON
{
  "hex": "#712f87",
  "rgb": {
    "r": 113,
    "g": 47,
    "b": 135
  },
  "hsl": {
    "h": 285,
    "s": 48.352,
    "l": 35.686
  },
  "oklch": {
    "l": 0.43649,
    "c": 0.14997,
    "h": 316.7
  },
  "luminance": 0.07293
}

Semantic roles & 50–950 ramp

primary
#712F87
secondary
#75B161
accent
#D85072
background
#F9F6FA
surface
#F2ECF4
border
#CCC7CE
text
#0F0710
muted
#7E7A7F

Preview Lab

Preview with #712F87

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

Preview Lab → · Contrast checker → · Palette generator →

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