#712B91#712B91

#712B91 is a dark, vivid purple. Relative luminance 0.073; OKLCH L 43.8% C 0.166 H 313.1°. Best body text is #FFFFFF at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#712B91
RGBrgb(113, 43, 145)
HSLhsl(281, 54%, 37%)
HSVhsv(281, 70%, 57%)
CMYKcmyk(22.1%, 70.3%, 0%, 43.1%)
CIE-LABlab(32.44, 47.37, -42.92)
CIE-LCHlch(32.44, 63.93, 317.82°)
OKLaboklab(43.84% 0.1134 -0.121)
OKLCHoklch(43.84% 0.166 313.1)
XYZxyz(12.7839, 7.2832, 27.5149)
Luminance0.0728 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712B91 #4B912B
analogous
#3E2B91 #712B91 #912B7E
triadic
#712B91 #91712B #2B9171
tetradic
#712B91 #913E2B #4B912B #2B7E91
square
#712B91 #913E2B #4B912B #2B7E91
split-complementary
#712B91 #7E912B #2B913E
monochromatic
#270F33 #4C1D62 #712B91 #9639C0 #AF65D1

Accessibility & contrast

On white

8.55
#712B91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#712B91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712B91
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712B91#FFFFFF#000000##FFFFFF
##712B911.008.552.468.55
#FFFFFF8.551.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004994
Deuteranopia (green-blind)
#234E8F
Tritanopia (blue-blind)
#6E405B
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #712b91;
/* rgb */ color: rgb(113, 43, 145);
/* oklch */ color: oklch(43.8% 0.166 313.1);
Tailwind
colors: {
  custom: {
    50: '#9d6ab2',
    500: '#712b91',
    950: '#000000',
  },
}
SCSS
$custom: #712b91;
$custom-light: #9d6ab2;
$custom-dark: #000000;
JSON
{
  "hex": "#712b91",
  "rgb": {
    "r": 113,
    "g": 43,
    "b": 145
  },
  "hsl": {
    "h": 281.176,
    "s": 54.255,
    "l": 36.863
  },
  "oklch": {
    "l": 0.43842,
    "c": 0.16585,
    "h": 313.1
  },
  "luminance": 0.07283
}

Semantic roles & 50–950 ramp

primary
#712B91
secondary
#7CB860
accent
#DE4A78
background
#FAF6FB
surface
#F3EBF6
border
#CDC6D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #712B91

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

Preview Lab → · Contrast checker → · Palette generator →

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