#712F84#712F84

#712F84 is a dark, vivid purple. Relative luminance 0.072; OKLCH L 43.5% C 0.147 H 318.0°. Best body text is #FFFFFF at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#712F84
RGBrgb(113, 47, 132)
HSLhsl(287, 47%, 35%)
HSVhsv(287, 64%, 52%)
CMYKcmyk(14.4%, 64.4%, 0%, 48.2%)
CIE-LABlab(32.28, 42.66, -35.15)
CIE-LCHlch(32.28, 55.28, 320.52°)
OKLaboklab(43.46% 0.1091 -0.0983)
OKLCHoklch(43.46% 0.147 318)
XYZxyz(11.9908, 7.2102, 22.5854)
Luminance0.0721 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712F84 #42842F
analogous
#462F84 #712F84 #842F6D
triadic
#712F84 #84712F #2F8471
tetradic
#712F84 #84462F #42842F #2F6D84
square
#712F84 #84462F #42842F #2F6D84
split-complementary
#712F84 #6D842F #2F8446
monochromatic
#240F2A #4A1F57 #712F84 #983FB1 #B265C8

Accessibility & contrast

On white

8.60
#712F84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#712F84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712F84
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712F84#FFFFFF#000000##FFFFFF
##712F841.008.602.448.60
#FFFFFF8.601.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#164887
Deuteranopia (green-blind)
#334E82
Tritanopia (blue-blind)
#713E55
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #712f84;
/* rgb */ color: rgb(113, 47, 132);
/* oklch */ color: oklch(43.5% 0.147 318.0);
Tailwind
colors: {
  custom: {
    50: '#9c6ca8',
    500: '#712f84',
    950: '#000000',
  },
}
SCSS
$custom: #712f84;
$custom-light: #9c6ca8;
$custom-dark: #000000;
JSON
{
  "hex": "#712f84",
  "rgb": {
    "r": 113,
    "g": 47,
    "b": 132
  },
  "hsl": {
    "h": 286.588,
    "s": 47.486,
    "l": 35.098
  },
  "oklch": {
    "l": 0.43455,
    "c": 0.14687,
    "h": 318
  },
  "luminance": 0.0721
}

Semantic roles & 50–950 ramp

primary
#712F84
secondary
#71AF60
accent
#D7516F
background
#F9F6FA
surface
#F2ECF4
border
#CCC7CE
text
#0E0710
muted
#7E7A7F

Preview Lab

Preview with #712F84

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

Preview Lab → · Contrast checker → · Palette generator →

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