#712B81#712B81

#712B81 is a dark, vivid purple. Relative luminance 0.068; OKLCH L 42.8% C 0.150 H 319.7°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#712B81
RGBrgb(113, 43, 129)
HSLhsl(289, 50%, 34%)
HSVhsv(289, 67%, 51%)
CMYKcmyk(12.4%, 66.7%, 0%, 49.4%)
CIE-LABlab(31.40, 43.95, -34.68)
CIE-LCHlch(31.40, 55.98, 321.72°)
OKLaboklab(42.76% 0.1142 -0.0969)
OKLCHoklch(42.76% 0.15 319.7)
XYZxyz(11.6359, 6.8240, 21.4689)
Luminance0.0682 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712B81 #3B812B
analogous
#462B81 #712B81 #812B66
triadic
#712B81 #81712B #2B8171
tetradic
#712B81 #81462B #3B812B #2B6681
square
#712B81 #81462B #3B812B #2B6681
split-complementary
#712B81 #66812B #2B8146
monochromatic
#210C25 #491C53 #712B81 #993AAF #B55DC9

Accessibility & contrast

On white

8.88
#712B81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#712B81 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712B81
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712B81#FFFFFF#000000##FFFFFF
##712B811.008.882.368.88
#FFFFFF8.881.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #712b81;
/* rgb */ color: rgb(113, 43, 129);
/* oklch */ color: oklch(42.8% 0.150 319.7);
Tailwind
colors: {
  custom: {
    50: '#9d6aa6',
    500: '#712b81',
    950: '#000000',
  },
}
SCSS
$custom: #712b81;
$custom-light: #9d6aa6;
$custom-dark: #000000;
JSON
{
  "hex": "#712b81",
  "rgb": {
    "r": 113,
    "g": 43,
    "b": 129
  },
  "hsl": {
    "h": 288.837,
    "s": 50,
    "l": 33.725
  },
  "oklch": {
    "l": 0.42761,
    "c": 0.14976,
    "h": 319.7
  },
  "luminance": 0.06823
}

Semantic roles & 50–950 ramp

primary
#712B81
secondary
#69AF59
accent
#DA4E68
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F070F
muted
#7E7A7F

Preview Lab

Preview with #712B81

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

Preview Lab → · Contrast checker → · Palette generator →

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