#711C8D#711C8D

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

Color values

HEX#711C8D
RGBrgb(113, 28, 141)
HSLhsl(285, 67%, 33%)
HSVhsv(285, 80%, 55%)
CMYKcmyk(19.9%, 80.1%, 0%, 44.7%)
CIE-LABlab(30.07, 52.48, -44.28)
CIE-LCHlch(30.07, 68.66, 319.84°)
OKLaboklab(42.07% 0.1289 -0.1249)
OKLCHoklch(42.07% 0.179 315.9)
XYZxyz(12.0323, 6.2648, 25.7696)
Luminance0.0626 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#711C8D #388D1C
analogous
#391C8D #711C8D #8D1C70
triadic
#711C8D #8D711C #1C8D71
tetradic
#711C8D #8D391C #388D1C #1C708D
square
#711C8D #8D391C #388D1C #1C708D
split-complementary
#711C8D #708D1C #1C8D39
monochromatic
#1F0827 #48125A #711C8D #9A26C0 #B749DB

Accessibility & contrast

On white

9.32
#711C8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #711C8D
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##711C8D#FFFFFF#000000##FFFFFF
##711C8D1.009.322.259.32
#FFFFFF9.321.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004290
Deuteranopia (green-blind)
#19498B
Tritanopia (blue-blind)
#6F3655
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #711c8d;
/* rgb */ color: rgb(113, 28, 141);
/* oklch */ color: oklch(42.1% 0.179 315.9);
Tailwind
colors: {
  custom: {
    50: '#9e63af',
    500: '#711c8d',
    950: '#000000',
  },
}
SCSS
$custom: #711c8d;
$custom-light: #9e63af;
$custom-dark: #000000;
JSON
{
  "hex": "#711c8d",
  "rgb": {
    "r": 113,
    "g": 28,
    "b": 141
  },
  "hsl": {
    "h": 285.133,
    "s": 66.864,
    "l": 33.137
  },
  "oklch": {
    "l": 0.42068,
    "c": 0.17946,
    "h": 315.9
  },
  "luminance": 0.06264
}

Semantic roles & 50–950 ramp

primary
#711C8D
secondary
#65BD48
accent
#EA3E69
background
#FAF6FA
surface
#F3EBF5
border
#CDC6CF
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #711C8D

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

Preview Lab → · Contrast checker → · Palette generator →

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