#712D8F#712D8F

#712D8F is a dark, vivid purple. Relative luminance 0.074; OKLCH L 43.9% C 0.161 H 313.7°. Best body text is #FFFFFF at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#712D8F
RGBrgb(113, 45, 143)
HSLhsl(282, 52%, 37%)
HSVhsv(282, 69%, 56%)
CMYKcmyk(21%, 68.5%, 0%, 43.9%)
CIE-LABlab(32.64, 46.01, -41.38)
CIE-LCHlch(32.64, 61.88, 318.03°)
OKLaboklab(43.94% 0.1113 -0.1165)
OKLCHoklch(43.94% 0.161 313.7)
XYZxyz(12.7055, 7.3710, 26.7347)
Luminance0.0737 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712D8F #4B8F2D
analogous
#402D8F #712D8F #8F2D7C
triadic
#712D8F #8F712D #2D8F71
tetradic
#712D8F #8F402D #4B8F2D #2D7C8F
square
#712D8F #8F402D #4B8F2D #2D7C8F
split-complementary
#712D8F #7C8F2D #2D8F40
monochromatic
#271032 #4C1E60 #712D8F #963CBE #AF67CF

Accessibility & contrast

On white

8.49
#712D8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#712D8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712D8F
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712D8F#FFFFFF#000000##FFFFFF
##712D8F1.008.492.478.49
#FFFFFF8.491.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004992
Deuteranopia (green-blind)
#274E8D
Tritanopia (blue-blind)
#6E405A
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #712d8f;
/* rgb */ color: rgb(113, 45, 143);
/* oklch */ color: oklch(43.9% 0.161 313.7);
Tailwind
colors: {
  custom: {
    50: '#9d6bb0',
    500: '#712d8f',
    950: '#000000',
  },
}
SCSS
$custom: #712d8f;
$custom-light: #9d6bb0;
$custom-dark: #000000;
JSON
{
  "hex": "#712d8f",
  "rgb": {
    "r": 113,
    "g": 45,
    "b": 143
  },
  "hsl": {
    "h": 281.633,
    "s": 52.128,
    "l": 36.863
  },
  "oklch": {
    "l": 0.43938,
    "c": 0.1611,
    "h": 313.7
  },
  "luminance": 0.07371
}

Semantic roles & 50–950 ramp

primary
#712D8F
secondary
#7CB662
accent
#DC4C78
background
#F9F6FA
surface
#F2ECF5
border
#CCC7CF
text
#0F0710
muted
#7E7A7F

Preview Lab

Preview with #712D8F

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

Preview Lab → · Contrast checker → · Palette generator →

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