#712D7C#712D7C

#712D7C is a dark, vivid purple. Relative luminance 0.068; OKLCH L 42.7% C 0.142 H 321.9°. Best body text is #FFFFFF at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#712D7C
RGBrgb(113, 45, 124)
HSLhsl(292, 47%, 33%)
HSVhsv(292, 64%, 49%)
CMYKcmyk(8.9%, 63.7%, 0%, 51.4%)
CIE-LABlab(31.45, 41.97, -31.48)
CIE-LCHlch(31.45, 52.46, 323.13°)
OKLaboklab(42.7% 0.1116 -0.0876)
OKLCHoklch(42.7% 0.142 321.9)
XYZxyz(11.3861, 6.8433, 19.7860)
Luminance0.0684 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712D7C #387C2D
analogous
#492D7C #712D7C #7C2D5F
triadic
#712D7C #7C712D #2D7C71
tetradic
#712D7C #7C492D #387C2D #2D5F7C
square
#712D7C #7C492D #387C2D #2D5F7C
split-complementary
#712D7C #5F7C2D #2D7C49
monochromatic
#1F0C22 #481D4F #712D7C #9A3DA9 #B75FC5

Accessibility & contrast

On white

8.87
#712D7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#712D7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712D7C
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712D7C#FFFFFF#000000##FFFFFF
##712D7C1.008.872.378.87
#FFFFFF8.871.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C457E
Deuteranopia (green-blind)
#364D7A
Tritanopia (blue-blind)
#723950
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #712d7c;
/* rgb */ color: rgb(113, 45, 124);
/* oklch */ color: oklch(42.7% 0.142 321.9);
Tailwind
colors: {
  custom: {
    50: '#9c6ba2',
    500: '#712d7c',
    950: '#000000',
  },
}
SCSS
$custom: #712d7c;
$custom-light: #9c6ba2;
$custom-dark: #000000;
JSON
{
  "hex": "#712d7c",
  "rgb": {
    "r": 113,
    "g": 45,
    "b": 124
  },
  "hsl": {
    "h": 291.646,
    "s": 46.746,
    "l": 33.137
  },
  "oklch": {
    "l": 0.42696,
    "c": 0.14182,
    "h": 321.9
  },
  "luminance": 0.06843
}

Semantic roles & 50–950 ramp

primary
#712D7C
secondary
#65AB5A
accent
#D65164
background
#F9F6FA
surface
#F2EBF3
border
#CCC6CD
text
#0E070F
muted
#7E7A7F

Preview Lab

Preview with #712D7C

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

Preview Lab → · Contrast checker → · Palette generator →

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