#711D8B#711D8B

#711D8B is a dark, vivid purple. Relative luminance 0.063; OKLCH L 42.0% C 0.177 H 316.6°. Best body text is #FFFFFF at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#711D8B
RGBrgb(113, 29, 139)
HSLhsl(286, 65%, 33%)
HSVhsv(286, 79%, 55%)
CMYKcmyk(18.7%, 79.1%, 0%, 45.5%)
CIE-LABlab(30.04, 51.73, -43.08)
CIE-LCHlch(30.04, 67.32, 320.21°)
OKLaboklab(42% 0.1283 -0.1214)
OKLCHoklch(42% 0.177 316.6)
XYZxyz(11.9089, 6.2540, 25.0009)
Luminance0.0625 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#711D8B #378B1D
analogous
#3A1D8B #711D8B #8B1D6E
triadic
#711D8B #8B711D #1D8B71
tetradic
#711D8B #8B3A1D #378B1D #1D6E8B
square
#711D8B #8B3A1D #378B1D #1D6E8B
split-complementary
#711D8B #6E8B1D #1D8B3A
monochromatic
#1F0826 #481258 #711D8B #9A28BE #B749D9

Accessibility & contrast

On white

9.33
#711D8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #711D8B
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##711D8B#FFFFFF#000000##FFFFFF
##711D8B1.009.332.259.33
#FFFFFF9.331.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00428E
Deuteranopia (green-blind)
#1D4989
Tritanopia (blue-blind)
#6F3654
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #711d8b;
/* rgb */ color: rgb(113, 29, 139);
/* oklch */ color: oklch(42.0% 0.177 316.6);
Tailwind
colors: {
  custom: {
    50: '#9e64ad',
    500: '#711d8b',
    950: '#000000',
  },
}
SCSS
$custom: #711d8b;
$custom-light: #9e64ad;
$custom-dark: #000000;
JSON
{
  "hex": "#711d8b",
  "rgb": {
    "r": 113,
    "g": 29,
    "b": 139
  },
  "hsl": {
    "h": 285.818,
    "s": 65.476,
    "l": 32.941
  },
  "oklch": {
    "l": 0.42004,
    "c": 0.17665,
    "h": 316.6
  },
  "luminance": 0.06254
}

Semantic roles & 50–950 ramp

primary
#711D8B
secondary
#64BB49
accent
#E83F67
background
#FAF6FA
surface
#F3EBF4
border
#CDC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #711D8B

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

Preview Lab → · Contrast checker → · Palette generator →

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