#711F87#711F87

#711F87 is a dark, vivid purple. Relative luminance 0.062; OKLCH L 41.9% C 0.171 H 318.0°. Best body text is #FFFFFF at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#711F87
RGBrgb(113, 31, 135)
HSLhsl(287, 63%, 33%)
HSVhsv(287, 77%, 53%)
CMYKcmyk(16.3%, 77%, 0%, 47.1%)
CIE-LABlab(30.01, 50.21, -40.65)
CIE-LCHlch(30.01, 64.60, 321.00°)
OKLaboklab(41.89% 0.1271 -0.1143)
OKLCHoklch(41.89% 0.171 318)
XYZxyz(11.6726, 6.2405, 23.5067)
Luminance0.0624 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#711F87 #35871F
analogous
#3D1F87 #711F87 #871F69
triadic
#711F87 #87711F #1F8771
tetradic
#711F87 #873D1F #35871F #1F6987
square
#711F87 #873D1F #35871F #1F6987
split-complementary
#711F87 #69871F #1F873D
monochromatic
#1E0823 #471455 #711F87 #9B2AB9 #B84BD6

Accessibility & contrast

On white

9.34
#711F87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#711F87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #711F87
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##711F87#FFFFFF#000000##FFFFFF
##711F871.009.342.259.34
#FFFFFF9.341.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00428A
Deuteranopia (green-blind)
#234985
Tritanopia (blue-blind)
#703552
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #711f87;
/* rgb */ color: rgb(113, 31, 135);
/* oklch */ color: oklch(41.9% 0.171 318.0);
Tailwind
colors: {
  custom: {
    50: '#9d64aa',
    500: '#711f87',
    950: '#000000',
  },
}
SCSS
$custom: #711f87;
$custom-light: #9d64aa;
$custom-dark: #000000;
JSON
{
  "hex": "#711f87",
  "rgb": {
    "r": 113,
    "g": 31,
    "b": 135
  },
  "hsl": {
    "h": 287.308,
    "s": 62.651,
    "l": 32.549
  },
  "oklch": {
    "l": 0.41891,
    "c": 0.17088,
    "h": 318
  },
  "luminance": 0.0624
}

Semantic roles & 50–950 ramp

primary
#711F87
secondary
#61B84A
accent
#E64265
background
#FAF6FA
surface
#F3EBF4
border
#CDC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #711F87

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

Preview Lab → · Contrast checker → · Palette generator →

#711F87 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva