#712C7D#712C7D

#712C7D is a dark, vivid purple. Relative luminance 0.068; OKLCH L 42.6% C 0.144 H 321.5°. Best body text is #FFFFFF at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#712C7D
RGBrgb(113, 44, 125)
HSLhsl(291, 48%, 33%)
HSVhsv(291, 65%, 49%)
CMYKcmyk(9.6%, 64.8%, 0%, 51%)
CIE-LABlab(31.33, 42.65, -32.29)
CIE-LCHlch(31.33, 53.49, 322.87°)
OKLaboklab(42.63% 0.1129 -0.0899)
OKLCHoklch(42.63% 0.144 321.5)
XYZxyz(11.4120, 6.7933, 20.1082)
Luminance0.0679 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712C7D #387D2C
analogous
#482C7D #712C7D #7D2C60
triadic
#712C7D #7D712C #2C7D71
tetradic
#712C7D #7D482C #387D2C #2C607D
square
#712C7D #7D482C #387D2C #2C607D
split-complementary
#712C7D #607D2C #2C7D48
monochromatic
#1F0C22 #481C50 #712C7D #9A3CAA #B75DC6

Accessibility & contrast

On white

8.90
#712C7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #712C7D
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712C7D#FFFFFF#000000##FFFFFF
##712C7D1.008.902.368.90
#FFFFFF8.901.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#19457F
Deuteranopia (green-blind)
#354C7B
Tritanopia (blue-blind)
#723950
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #712c7d;
/* rgb */ color: rgb(113, 44, 125);
/* oklch */ color: oklch(42.6% 0.144 321.5);
Tailwind
colors: {
  custom: {
    50: '#9c6aa3',
    500: '#712c7d',
    950: '#000000',
  },
}
SCSS
$custom: #712c7d;
$custom-light: #9c6aa3;
$custom-dark: #000000;
JSON
{
  "hex": "#712c7d",
  "rgb": {
    "r": 113,
    "g": 44,
    "b": 125
  },
  "hsl": {
    "h": 291.111,
    "s": 47.929,
    "l": 33.137
  },
  "oklch": {
    "l": 0.42631,
    "c": 0.14433,
    "h": 321.5
  },
  "luminance": 0.06793
}

Semantic roles & 50–950 ramp

primary
#712C7D
secondary
#65AC59
accent
#D85064
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E070F
muted
#7E7A7F

Preview Lab

Preview with #712C7D

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

Preview Lab → · Contrast checker → · Palette generator →

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