#712C8D#712C8D

#712C8D is a dark, vivid purple. Relative luminance 0.072; OKLCH L 43.7% C 0.160 H 314.6°. Best body text is #FFFFFF at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#712C8D
RGBrgb(113, 44, 141)
HSLhsl(283, 52%, 36%)
HSVhsv(283, 69%, 55%)
CMYKcmyk(19.9%, 68.8%, 0%, 44.7%)
CIE-LABlab(32.34, 46.04, -40.63)
CIE-LCHlch(32.34, 61.40, 318.57°)
OKLaboklab(43.68% 0.1126 -0.1143)
OKLCHoklch(43.68% 0.16 314.6)
XYZxyz(12.5177, 7.2356, 25.9314)
Luminance0.0723 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712C8D #488D2C
analogous
#412C8D #712C8D #8D2C79
triadic
#712C8D #8D712C #2C8D71
tetradic
#712C8D #8D412C #488D2C #2C798D
square
#712C8D #8D412C #488D2C #2C798D
split-complementary
#712C8D #798D2C #2C8D41
monochromatic
#260F30 #4C1D5E #712C8D #963BBC #B065CF

Accessibility & contrast

On white

8.58
#712C8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#712C8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712C8D
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712C8D#FFFFFF#000000##FFFFFF
##712C8D1.008.582.458.58
#FFFFFF8.581.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004890
Deuteranopia (green-blind)
#284E8B
Tritanopia (blue-blind)
#6F3F59
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #712c8d;
/* rgb */ color: rgb(113, 44, 141);
/* oklch */ color: oklch(43.7% 0.160 314.6);
Tailwind
colors: {
  custom: {
    50: '#9d6baf',
    500: '#712c8d',
    950: '#000000',
  },
}
SCSS
$custom: #712c8d;
$custom-light: #9d6baf;
$custom-dark: #000000;
JSON
{
  "hex": "#712c8d",
  "rgb": {
    "r": 113,
    "g": 44,
    "b": 141
  },
  "hsl": {
    "h": 282.68,
    "s": 52.432,
    "l": 36.275
  },
  "oklch": {
    "l": 0.4368,
    "c": 0.16043,
    "h": 314.6
  },
  "luminance": 0.07235
}

Semantic roles & 50–950 ramp

primary
#712C8D
secondary
#78B560
accent
#DC4C75
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F0710
muted
#7E7A7F

Preview Lab

Preview with #712C8D

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

Preview Lab → · Contrast checker → · Palette generator →

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