#712A91#712A91

#712A91 is a dark, vivid purple. Relative luminance 0.072; OKLCH L 43.7% C 0.167 H 313.2°. Best body text is #FFFFFF at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#712A91
RGBrgb(113, 42, 145)
HSLhsl(281, 55%, 37%)
HSVhsv(281, 71%, 57%)
CMYKcmyk(22.1%, 71%, 0%, 43.1%)
CIE-LABlab(32.28, 47.82, -43.18)
CIE-LCHlch(32.28, 64.43, 317.92°)
OKLaboklab(43.73% 0.1145 -0.1218)
OKLCHoklch(43.73% 0.167 313.2)
XYZxyz(12.7480, 7.2114, 27.5030)
Luminance0.0721 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712A91 #4A912A
analogous
#3E2A91 #712A91 #912A7E
triadic
#712A91 #91712A #2A9171
tetradic
#712A91 #913E2A #4A912A #2A7E91
square
#712A91 #913E2A #4A912A #2A7E91
split-complementary
#712A91 #7E912A #2A913E
monochromatic
#270F32 #4C1C62 #712A91 #9638C0 #B063D2

Accessibility & contrast

On white

8.60
#712A91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#712A91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712A91
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712A91#FFFFFF#000000##FFFFFF
##712A911.008.602.448.60
#FFFFFF8.601.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004894
Deuteranopia (green-blind)
#224E8F
Tritanopia (blue-blind)
#6E3F5A
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #712a91;
/* rgb */ color: rgb(113, 42, 145);
/* oklch */ color: oklch(43.7% 0.167 313.2);
Tailwind
colors: {
  custom: {
    50: '#9d6ab2',
    500: '#712a91',
    950: '#000000',
  },
}
SCSS
$custom: #712a91;
$custom-light: #9d6ab2;
$custom-dark: #000000;
JSON
{
  "hex": "#712a91",
  "rgb": {
    "r": 113,
    "g": 42,
    "b": 145
  },
  "hsl": {
    "h": 281.359,
    "s": 55.08,
    "l": 36.667
  },
  "oklch": {
    "l": 0.43727,
    "c": 0.16715,
    "h": 313.2
  },
  "luminance": 0.07211
}

Semantic roles & 50–950 ramp

primary
#712A91
secondary
#7BB85F
accent
#DE4978
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #712A91

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

Preview Lab → · Contrast checker → · Palette generator →

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