#712D7A#712D7A

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

Color values

HEX#712D7A
RGBrgb(113, 45, 122)
HSLhsl(293, 46%, 33%)
HSVhsv(293, 63%, 48%)
CMYKcmyk(7.4%, 63.1%, 0%, 52.2%)
CIE-LABlab(31.33, 41.56, -30.40)
CIE-LCHlch(31.33, 51.49, 323.81°)
OKLaboklab(42.57% 0.1115 -0.0845)
OKLCHoklch(42.57% 0.14 322.8)
XYZxyz(11.2609, 6.7932, 19.1267)
Luminance0.0679 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712D7A #367A2D
analogous
#4A2D7A #712D7A #7A2D5C
triadic
#712D7A #7A712D #2D7A71
tetradic
#712D7A #7A4A2D #367A2D #2D5C7A
square
#712D7A #7A4A2D #367A2D #2D5C7A
split-complementary
#712D7A #5C7A2D #2D7A4A
monochromatic
#1E0C21 #481D4D #712D7A #9A3DA7 #B85EC4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##712D7A#FFFFFF#000000##FFFFFF
##712D7A1.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)
#1E457C
Deuteranopia (green-blind)
#384C78
Tritanopia (blue-blind)
#73384F
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #712d7a;
/* rgb */ color: rgb(113, 45, 122);
/* oklch */ color: oklch(42.6% 0.140 322.8);
Tailwind
colors: {
  custom: {
    50: '#9c6ba1',
    500: '#712d7a',
    950: '#000000',
  },
}
SCSS
$custom: #712d7a;
$custom-light: #9c6ba1;
$custom-dark: #000000;
JSON
{
  "hex": "#712d7a",
  "rgb": {
    "r": 113,
    "g": 45,
    "b": 122
  },
  "hsl": {
    "h": 292.987,
    "s": 46.108,
    "l": 32.745
  },
  "oklch": {
    "l": 0.42574,
    "c": 0.13985,
    "h": 322.8
  },
  "luminance": 0.06793
}

Semantic roles & 50–950 ramp

primary
#712D7A
secondary
#62AA59
accent
#D65261
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0E070F
muted
#7E7A7E

Preview Lab

Preview with #712D7A

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

Preview Lab → · Contrast checker → · Palette generator →

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