#712C8C#712C8C

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

Color values

HEX#712C8C
RGBrgb(113, 44, 140)
HSLhsl(283, 52%, 36%)
HSVhsv(283, 69%, 55%)
CMYKcmyk(19.3%, 68.6%, 0%, 45.1%)
CIE-LABlab(32.27, 45.82, -40.12)
CIE-LCHlch(32.27, 60.90, 318.80°)
OKLaboklab(43.61% 0.1126 -0.1128)
OKLCHoklch(43.61% 0.159 315)
XYZxyz(12.4436, 7.2060, 25.5413)
Luminance0.0721 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712C8C #478C2C
analogous
#412C8C #712C8C #8C2C77
triadic
#712C8C #8C712C #2C8C71
tetradic
#712C8C #8C412C #478C2C #2C778C
square
#712C8C #8C412C #478C2C #2C778C
split-complementary
#712C8C #778C2C #2C8C41
monochromatic
#260F2F #4B1D5D #712C8C #973BBB #B064CE

Accessibility & contrast

On white

8.60
#712C8C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #712C8C
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712C8C#FFFFFF#000000##FFFFFF
##712C8C1.008.602.448.60
#FFFFFF8.601.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00488F
Deuteranopia (green-blind)
#294E8A
Tritanopia (blue-blind)
#6F3F58
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #712c8c;
/* rgb */ color: rgb(113, 44, 140);
/* oklch */ color: oklch(43.6% 0.159 315.0);
Tailwind
colors: {
  custom: {
    50: '#9d6bae',
    500: '#712c8c',
    950: '#000000',
  },
}
SCSS
$custom: #712c8c;
$custom-light: #9d6bae;
$custom-dark: #000000;
JSON
{
  "hex": "#712c8c",
  "rgb": {
    "r": 113,
    "g": 44,
    "b": 140
  },
  "hsl": {
    "h": 283.125,
    "s": 52.174,
    "l": 36.078
  },
  "oklch": {
    "l": 0.43611,
    "c": 0.15942,
    "h": 315
  },
  "luminance": 0.07206
}

Semantic roles & 50–950 ramp

primary
#712C8C
secondary
#77B55F
accent
#DC4C75
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F0710
muted
#7E7A7F

Preview Lab

Preview with #712C8C

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

Preview Lab → · Contrast checker → · Palette generator →

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