#711F8A#711F8A

#711F8A is a dark, vivid purple. Relative luminance 0.063; OKLCH L 42.1% C 0.174 H 316.8°. Best body text is #FFFFFF at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#711F8A
RGBrgb(113, 31, 138)
HSLhsl(286, 63%, 33%)
HSVhsv(286, 78%, 54%)
CMYKcmyk(18.1%, 77.5%, 0%, 45.9%)
CIE-LABlab(30.22, 50.81, -42.18)
CIE-LCHlch(30.22, 66.04, 320.31°)
OKLaboklab(42.11% 0.1267 -0.1188)
OKLCHoklch(42.11% 0.174 316.8)
XYZxyz(11.8868, 6.3262, 24.6348)
Luminance0.0633 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#711F8A #388A1F
analogous
#3B1F8A #711F8A #8A1F6D
triadic
#711F8A #8A711F #1F8A71
tetradic
#711F8A #8A3B1F #388A1F #1F6D8A
square
#711F8A #8A3B1F #388A1F #1F6D8A
split-complementary
#711F8A #6D8A1F #1F8A3B
monochromatic
#1F0926 #481458 #711F8A #9A2ABC #B74CD7

Accessibility & contrast

On white

9.27
#711F8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#711F8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #711F8A
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##711F8A#FFFFFF#000000##FFFFFF
##711F8A1.009.272.279.27
#FFFFFF9.271.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00428D
Deuteranopia (green-blind)
#204988
Tritanopia (blue-blind)
#703653
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #711f8a;
/* rgb */ color: rgb(113, 31, 138);
/* oklch */ color: oklch(42.1% 0.174 316.8);
Tailwind
colors: {
  custom: {
    50: '#9e64ad',
    500: '#711f8a',
    950: '#000000',
  },
}
SCSS
$custom: #711f8a;
$custom-light: #9e64ad;
$custom-dark: #000000;
JSON
{
  "hex": "#711f8a",
  "rgb": {
    "r": 113,
    "g": 31,
    "b": 138
  },
  "hsl": {
    "h": 285.981,
    "s": 63.314,
    "l": 33.137
  },
  "oklch": {
    "l": 0.42106,
    "c": 0.17363,
    "h": 316.8
  },
  "luminance": 0.06326
}

Semantic roles & 50–950 ramp

primary
#711F8A
secondary
#65BA4B
accent
#E64168
background
#FAF6FA
surface
#F3EBF4
border
#CDC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #711F8A

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

Preview Lab → · Contrast checker → · Palette generator →

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