#712D82#712D82

#712D82 is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.1% C 0.148 H 319.1°. Best body text is #FFFFFF at 8.75:1 contrast (WCAG AA passes).

Color values

HEX#712D82
RGBrgb(113, 45, 130)
HSLhsl(288, 49%, 34%)
HSVhsv(288, 65%, 51%)
CMYKcmyk(13.1%, 65.4%, 0%, 49%)
CIE-LABlab(31.81, 43.21, -34.66)
CIE-LCHlch(31.81, 55.39, 321.27°)
OKLaboklab(43.07% 0.1117 -0.0968)
OKLCHoklch(43.07% 0.148 319.1)
XYZxyz(11.7772, 6.9997, 21.8455)
Luminance0.0700 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712D82 #3E822D
analogous
#472D82 #712D82 #822D69
triadic
#712D82 #82712D #2D8271
tetradic
#712D82 #82472D #3E822D #2D6982
square
#712D82 #82472D #3E822D #2D6982
split-complementary
#712D82 #69822D #2D8247
monochromatic
#220E27 #491D55 #712D82 #993DAF #B461C8

Accessibility & contrast

On white

8.75
#712D82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#712D82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712D82
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712D82#FFFFFF#000000##FFFFFF
##712D821.008.752.408.75
#FFFFFF8.751.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#144685
Deuteranopia (green-blind)
#324D80
Tritanopia (blue-blind)
#713B53
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #712d82;
/* rgb */ color: rgb(113, 45, 130);
/* oklch */ color: oklch(43.1% 0.148 319.1);
Tailwind
colors: {
  custom: {
    50: '#9c6ba7',
    500: '#712d82',
    950: '#000000',
  },
}
SCSS
$custom: #712d82;
$custom-light: #9c6ba7;
$custom-dark: #000000;
JSON
{
  "hex": "#712d82",
  "rgb": {
    "r": 113,
    "g": 45,
    "b": 130
  },
  "hsl": {
    "h": 288,
    "s": 48.571,
    "l": 34.314
  },
  "oklch": {
    "l": 0.43072,
    "c": 0.14783,
    "h": 319.1
  },
  "luminance": 0.06999
}

Semantic roles & 50–950 ramp

primary
#712D82
secondary
#6DAF5C
accent
#D8506B
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F070F
muted
#7E7A7F

Preview Lab

Preview with #712D82

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

Preview Lab → · Contrast checker → · Palette generator →

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