#712587#712587

#712587 is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.5% C 0.164 H 317.6°. Best body text is #FFFFFF at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#712587
RGBrgb(113, 37, 135)
HSLhsl(287, 57%, 34%)
HSVhsv(287, 73%, 53%)
CMYKcmyk(16.3%, 72.6%, 0%, 47.1%)
CIE-LABlab(30.84, 47.85, -39.32)
CIE-LCHlch(30.84, 61.93, 320.59°)
OKLaboklab(42.48% 0.1209 -0.1104)
OKLCHoklch(42.48% 0.164 317.6)
XYZxyz(11.8442, 6.5836, 23.5638)
Luminance0.0658 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712587 #3B8725
analogous
#402587 #712587 #87256C
triadic
#712587 #877125 #258771
tetradic
#712587 #874025 #3B8725 #256C87
square
#712587 #874025 #3B8725 #256C87
split-complementary
#712587 #6C8725 #258740
monochromatic
#210B27 #491857 #712587 #9932B7 #B556D1

Accessibility & contrast

On white

9.07
#712587 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#712587 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712587
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712587#FFFFFF#000000##FFFFFF
##7125871.009.072.329.07
#FFFFFF9.071.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448A
Deuteranopia (green-blind)
#284B85
Tritanopia (blue-blind)
#703853
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #712587;
/* rgb */ color: rgb(113, 37, 135);
/* oklch */ color: oklch(42.5% 0.164 317.6);
Tailwind
colors: {
  custom: {
    50: '#9d67aa',
    500: '#712587',
    950: '#000000',
  },
}
SCSS
$custom: #712587;
$custom-light: #9d67aa;
$custom-dark: #000000;
JSON
{
  "hex": "#712587",
  "rgb": {
    "r": 113,
    "g": 37,
    "b": 135
  },
  "hsl": {
    "h": 286.531,
    "s": 56.977,
    "l": 33.725
  },
  "oklch": {
    "l": 0.4248,
    "c": 0.16376,
    "h": 317.6
  },
  "luminance": 0.06583
}

Semantic roles & 50–950 ramp

primary
#712587
secondary
#69B553
accent
#E0486A
background
#FAF6FA
surface
#F3EBF4
border
#CDC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #712587

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

Preview Lab → · Contrast checker → · Palette generator →

#712587 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva