#711D8D#711D8D

#711D8D is a dark, vivid purple. Relative luminance 0.063; OKLCH L 42.2% C 0.178 H 315.8°. Best body text is #FFFFFF at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#711D8D
RGBrgb(113, 29, 141)
HSLhsl(285, 66%, 33%)
HSVhsv(285, 79%, 55%)
CMYKcmyk(19.9%, 79.4%, 0%, 44.7%)
CIE-LABlab(30.19, 52.14, -44.09)
CIE-LCHlch(30.19, 68.28, 319.78°)
OKLaboklab(42.15% 0.128 -0.1244)
OKLCHoklch(42.15% 0.178 315.8)
XYZxyz(12.0564, 6.3130, 25.7776)
Luminance0.0631 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#711D8D #398D1D
analogous
#391D8D #711D8D #8D1D71
triadic
#711D8D #8D711D #1D8D71
tetradic
#711D8D #8D391D #398D1D #1D718D
square
#711D8D #8D391D #398D1D #1D718D
split-complementary
#711D8D #718D1D #1D8D39
monochromatic
#200827 #48135A #711D8D #9A27C0 #B64BDA

Accessibility & contrast

On white

9.28
#711D8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#711D8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #711D8D
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##711D8D#FFFFFF#000000##FFFFFF
##711D8D1.009.282.269.28
#FFFFFF9.281.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004290
Deuteranopia (green-blind)
#1A498B
Tritanopia (blue-blind)
#6F3755
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #711d8d;
/* rgb */ color: rgb(113, 29, 141);
/* oklch */ color: oklch(42.2% 0.178 315.8);
Tailwind
colors: {
  custom: {
    50: '#9e64af',
    500: '#711d8d',
    950: '#000000',
  },
}
SCSS
$custom: #711d8d;
$custom-light: #9e64af;
$custom-dark: #000000;
JSON
{
  "hex": "#711d8d",
  "rgb": {
    "r": 113,
    "g": 29,
    "b": 141
  },
  "hsl": {
    "h": 285,
    "s": 65.882,
    "l": 33.333
  },
  "oklch": {
    "l": 0.42151,
    "c": 0.17846,
    "h": 315.8
  },
  "luminance": 0.06313
}

Semantic roles & 50–950 ramp

primary
#711D8D
secondary
#66BC4A
accent
#E93F69
background
#FAF6FA
surface
#F3EBF5
border
#CDC6CF
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #711D8D

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

Preview Lab → · Contrast checker → · Palette generator →

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