#712C82#712C82

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

Color values

HEX#712C82
RGBrgb(113, 44, 130)
HSLhsl(288, 49%, 34%)
HSVhsv(288, 66%, 51%)
CMYKcmyk(13.1%, 66.2%, 0%, 49%)
CIE-LABlab(31.63, 43.69, -34.93)
CIE-LCHlch(31.63, 55.94, 321.35°)
OKLaboklab(42.95% 0.113 -0.0976)
OKLCHoklch(42.95% 0.149 319.2)
XYZxyz(11.7395, 6.9243, 21.8329)
Luminance0.0692 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712C82 #3D822C
analogous
#462C82 #712C82 #822C68
triadic
#712C82 #82712C #2C8271
tetradic
#712C82 #82462C #3D822C #2C6882
square
#712C82 #82462C #3D822C #2C6882
split-complementary
#712C82 #68822C #2C8246
monochromatic
#220D27 #491D54 #712C82 #993BB0 #B45FC9

Accessibility & contrast

On white

8.81
#712C82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #712C82
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712C82#FFFFFF#000000##FFFFFF
##712C821.008.812.388.81
#FFFFFF8.811.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #712c82;
/* rgb */ color: rgb(113, 44, 130);
/* oklch */ color: oklch(42.9% 0.149 319.2);
Tailwind
colors: {
  custom: {
    50: '#9c6aa7',
    500: '#712c82',
    950: '#000000',
  },
}
SCSS
$custom: #712c82;
$custom-light: #9c6aa7;
$custom-dark: #000000;
JSON
{
  "hex": "#712c82",
  "rgb": {
    "r": 113,
    "g": 44,
    "b": 130
  },
  "hsl": {
    "h": 288.14,
    "s": 49.425,
    "l": 34.118
  },
  "oklch": {
    "l": 0.42948,
    "c": 0.14931,
    "h": 319.2
  },
  "luminance": 0.06924
}

Semantic roles & 50–950 ramp

primary
#712C82
secondary
#6BAF5B
accent
#D94F6A
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F070F
muted
#7E7A7F

Preview Lab

Preview with #712C82

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

Preview Lab → · Contrast checker → · Palette generator →

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