#712C91#712C91

#712C91 is a dark, vivid purple. Relative luminance 0.074; OKLCH L 44.0% C 0.165 H 313.0°. Best body text is #FFFFFF at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#712C91
RGBrgb(113, 44, 145)
HSLhsl(281, 53%, 37%)
HSVhsv(281, 70%, 57%)
CMYKcmyk(22.1%, 69.7%, 0%, 43.1%)
CIE-LABlab(32.61, 46.92, -42.66)
CIE-LCHlch(32.61, 63.41, 317.72°)
OKLaboklab(43.96% 0.1123 -0.1203)
OKLCHoklch(43.96% 0.165 313)
XYZxyz(12.8207, 7.3568, 27.5272)
Luminance0.0736 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712C91 #4C912C
analogous
#3F2C91 #712C91 #912C7F
triadic
#712C91 #91712C #2C9171
tetradic
#712C91 #913F2C #4C912C #2C7F91
square
#712C91 #913F2C #4C912C #2C7F91
split-complementary
#712C91 #7F912C #2C913F
monochromatic
#281033 #4C1E62 #712C91 #963AC0 #AF67D1

Accessibility & contrast

On white

8.50
#712C91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #712C91
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712C91#FFFFFF#000000##FFFFFF
##712C911.008.502.478.50
#FFFFFF8.501.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004994
Deuteranopia (green-blind)
#244E8F
Tritanopia (blue-blind)
#6E415B
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #712c91;
/* rgb */ color: rgb(113, 44, 145);
/* oklch */ color: oklch(44.0% 0.165 313.0);
Tailwind
colors: {
  custom: {
    50: '#9d6bb2',
    500: '#712c91',
    950: '#000000',
  },
}
SCSS
$custom: #712c91;
$custom-light: #9d6bb2;
$custom-dark: #000000;
JSON
{
  "hex": "#712c91",
  "rgb": {
    "r": 113,
    "g": 44,
    "b": 145
  },
  "hsl": {
    "h": 280.99,
    "s": 53.439,
    "l": 37.059
  },
  "oklch": {
    "l": 0.43958,
    "c": 0.16452,
    "h": 313
  },
  "luminance": 0.07356
}

Semantic roles & 50–950 ramp

primary
#712C91
secondary
#7DB762
accent
#DD4B79
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #712C91

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

Preview Lab → · Contrast checker → · Palette generator →

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