#712D8A#712D8A

#712D8A is a dark, vivid purple. Relative luminance 0.072; OKLCH L 43.6% C 0.156 H 315.6°. Best body text is #FFFFFF at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#712D8A
RGBrgb(113, 45, 138)
HSLhsl(284, 51%, 36%)
HSVhsv(284, 67%, 54%)
CMYKcmyk(18.1%, 67.4%, 0%, 45.9%)
CIE-LABlab(32.31, 44.92, -38.82)
CIE-LCHlch(32.31, 59.37, 319.16°)
OKLaboklab(43.6% 0.1115 -0.109)
OKLCHoklch(43.6% 0.156 315.6)
XYZxyz(12.3352, 7.2229, 24.7842)
Luminance0.0722 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712D8A #468A2D
analogous
#422D8A #712D8A #8A2D74
triadic
#712D8A #8A712D #2D8A71
tetradic
#712D8A #8A422D #468A2D #2D748A
square
#712D8A #8A422D #468A2D #2D748A
split-complementary
#712D8A #748A2D #2D8A42
monochromatic
#250F2E #4B1E5C #712D8A #973CB8 #B165CD

Accessibility & contrast

On white

8.59
#712D8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #712D8A
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712D8A#FFFFFF#000000##FFFFFF
##712D8A1.008.592.448.59
#FFFFFF8.591.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#02488D
Deuteranopia (green-blind)
#2C4E88
Tritanopia (blue-blind)
#6F3F57
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #712d8a;
/* rgb */ color: rgb(113, 45, 138);
/* oklch */ color: oklch(43.6% 0.156 315.6);
Tailwind
colors: {
  custom: {
    50: '#9d6bad',
    500: '#712d8a',
    950: '#000000',
  },
}
SCSS
$custom: #712d8a;
$custom-light: #9d6bad;
$custom-dark: #000000;
JSON
{
  "hex": "#712d8a",
  "rgb": {
    "r": 113,
    "g": 45,
    "b": 138
  },
  "hsl": {
    "h": 283.871,
    "s": 50.82,
    "l": 35.882
  },
  "oklch": {
    "l": 0.43597,
    "c": 0.15597,
    "h": 315.6
  },
  "luminance": 0.07222
}

Semantic roles & 50–950 ramp

primary
#712D8A
secondary
#76B360
accent
#DA4D73
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F0710
muted
#7E7A7F

Preview Lab

Preview with #712D8A

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

Preview Lab → · Contrast checker → · Palette generator →

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