#712C7F#712C7F

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

Color values

HEX#712C7F
RGBrgb(113, 44, 127)
HSLhsl(290, 49%, 34%)
HSVhsv(290, 65%, 50%)
CMYKcmyk(11%, 65.4%, 0%, 50.2%)
CIE-LABlab(31.45, 43.06, -33.35)
CIE-LCHlch(31.45, 54.47, 322.24°)
OKLaboklab(42.76% 0.1129 -0.093)
OKLCHoklch(42.76% 0.146 320.5)
XYZxyz(11.5410, 6.8449, 20.7878)
Luminance0.0684 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712C7F #3A7F2C
analogous
#472C7F #712C7F #7F2C63
triadic
#712C7F #7F712C #2C7F71
tetradic
#712C7F #7F472C #3A7F2C #2C637F
square
#712C7F #7F472C #3A7F2C #2C637F
split-complementary
#712C7F #637F2C #2C7F47
monochromatic
#200D24 #491C52 #712C7F #993CAC #B65EC7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##712C7F#FFFFFF#000000##FFFFFF
##712C7F1.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)
#164582
Deuteranopia (green-blind)
#344D7D
Tritanopia (blue-blind)
#723A51
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #712c7f;
/* rgb */ color: rgb(113, 44, 127);
/* oklch */ color: oklch(42.8% 0.146 320.5);
Tailwind
colors: {
  custom: {
    50: '#9c6aa4',
    500: '#712c7f',
    950: '#000000',
  },
}
SCSS
$custom: #712c7f;
$custom-light: #9c6aa4;
$custom-dark: #000000;
JSON
{
  "hex": "#712c7f",
  "rgb": {
    "r": 113,
    "g": 44,
    "b": 127
  },
  "hsl": {
    "h": 289.88,
    "s": 48.538,
    "l": 33.529
  },
  "oklch": {
    "l": 0.42757,
    "c": 0.14631,
    "h": 320.5
  },
  "luminance": 0.06844
}

Semantic roles & 50–950 ramp

primary
#712C7F
secondary
#68AD59
accent
#D85067
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E070F
muted
#7E7A7F

Preview Lab

Preview with #712C7F

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

Preview Lab → · Contrast checker → · Palette generator →

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