#712A89#712A89

#712A89 is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.2% C 0.159 H 316.4°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#712A89
RGBrgb(113, 42, 137)
HSLhsl(285, 53%, 35%)
HSVhsv(285, 69%, 54%)
CMYKcmyk(17.5%, 69.3%, 0%, 46.3%)
CIE-LABlab(31.75, 46.09, -39.11)
CIE-LCHlch(31.75, 60.45, 319.69°)
OKLaboklab(43.17% 0.1152 -0.1098)
OKLCHoklch(43.17% 0.159 316.4)
XYZxyz(12.1527, 6.9732, 24.3679)
Luminance0.0697 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712A89 #42892A
analogous
#412A89 #712A89 #892A72
triadic
#712A89 #89712A #2A8971
tetradic
#712A89 #89412A #42892A #2A7289
square
#712A89 #89412A #42892A #2A7289
split-complementary
#712A89 #72892A #2A8941
monochromatic
#240D2B #4A1C5A #712A89 #9838B8 #B25FCE

Accessibility & contrast

On white

8.77
#712A89 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#712A89 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712A89
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712A89#FFFFFF#000000##FFFFFF
##712A891.008.772.398.77
#FFFFFF8.771.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468C
Deuteranopia (green-blind)
#2A4D87
Tritanopia (blue-blind)
#703C56
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #712a89;
/* rgb */ color: rgb(113, 42, 137);
/* oklch */ color: oklch(43.2% 0.159 316.4);
Tailwind
colors: {
  custom: {
    50: '#9d6aac',
    500: '#712a89',
    950: '#000000',
  },
}
SCSS
$custom: #712a89;
$custom-light: #9d6aac;
$custom-dark: #000000;
JSON
{
  "hex": "#712a89",
  "rgb": {
    "r": 113,
    "g": 42,
    "b": 137
  },
  "hsl": {
    "h": 284.842,
    "s": 53.073,
    "l": 35.098
  },
  "oklch": {
    "l": 0.43171,
    "c": 0.15914,
    "h": 316.4
  },
  "luminance": 0.06973
}

Semantic roles & 50–950 ramp

primary
#712A89
secondary
#71B45B
accent
#DC4B70
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F0710
muted
#7E7A7F

Preview Lab

Preview with #712A89

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

Preview Lab → · Contrast checker → · Palette generator →

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