#712C81#712C81

#712C81 is a dark, vivid purple. Relative luminance 0.069; OKLCH L 42.9% C 0.148 H 319.6°. Best body text is #FFFFFF at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#712C81
RGBrgb(113, 44, 129)
HSLhsl(289, 49%, 34%)
HSVhsv(289, 66%, 51%)
CMYKcmyk(12.4%, 65.9%, 0%, 49.4%)
CIE-LABlab(31.57, 43.48, -34.41)
CIE-LCHlch(31.57, 55.44, 321.64°)
OKLaboklab(42.88% 0.113 -0.0961)
OKLCHoklch(42.88% 0.148 319.6)
XYZxyz(11.6727, 6.8976, 21.4811)
Luminance0.0690 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712C81 #3C812C
analogous
#472C81 #712C81 #812C67
triadic
#712C81 #81712C #2C8171
tetradic
#712C81 #81472C #3C812C #2C6781
square
#712C81 #81472C #3C812C #2C6781
split-complementary
#712C81 #67812C #2C8147
monochromatic
#210D26 #491C53 #712C81 #993CAF #B55FC8

Accessibility & contrast

On white

8.83
#712C81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#712C81 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712C81
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712C81#FFFFFF#000000##FFFFFF
##712C811.008.832.388.83
#FFFFFF8.831.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#134684
Deuteranopia (green-blind)
#324D7F
Tritanopia (blue-blind)
#713A52
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #712c81;
/* rgb */ color: rgb(113, 44, 129);
/* oklch */ color: oklch(42.9% 0.148 319.6);
Tailwind
colors: {
  custom: {
    50: '#9c6aa6',
    500: '#712c81',
    950: '#000000',
  },
}
SCSS
$custom: #712c81;
$custom-light: #9c6aa6;
$custom-dark: #000000;
JSON
{
  "hex": "#712c81",
  "rgb": {
    "r": 113,
    "g": 44,
    "b": 129
  },
  "hsl": {
    "h": 288.706,
    "s": 49.133,
    "l": 33.922
  },
  "oklch": {
    "l": 0.42883,
    "c": 0.14831,
    "h": 319.6
  },
  "luminance": 0.06897
}

Semantic roles & 50–950 ramp

primary
#712C81
secondary
#6AAF5A
accent
#D94F69
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F070F
muted
#7E7A7F

Preview Lab

Preview with #712C81

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

Preview Lab → · Contrast checker → · Palette generator →

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