#711B8D#711B8D

#711B8D is a dark, vivid purple. Relative luminance 0.062; OKLCH L 42.0% C 0.180 H 316.0°. Best body text is #FFFFFF at 9.36:1 contrast (WCAG AA passes).

Color values

HEX#711B8D
RGBrgb(113, 27, 141)
HSLhsl(285, 68%, 33%)
HSVhsv(285, 81%, 55%)
CMYKcmyk(19.9%, 80.9%, 0%, 44.7%)
CIE-LABlab(29.96, 52.81, -44.46)
CIE-LCHlch(29.96, 69.03, 319.90°)
OKLaboklab(41.99% 0.1297 -0.1254)
OKLCHoklch(41.99% 0.18 316)
XYZxyz(12.0089, 6.2181, 25.7618)
Luminance0.0622 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#711B8D #378D1B
analogous
#381B8D #711B8D #8D1B70
triadic
#711B8D #8D711B #1B8D71
tetradic
#711B8D #8D381B #378D1B #1B708D
square
#711B8D #8D381B #378D1B #1B708D
split-complementary
#711B8D #708D1B #1B8D38
monochromatic
#1F0726 #48115A #711B8D #9A25C0 #B747DC

Accessibility & contrast

On white

9.36
#711B8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#711B8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #711B8D
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##711B8D#FFFFFF#000000##FFFFFF
##711B8D1.009.362.249.36
#FFFFFF9.361.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.361.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #711b8d;
/* rgb */ color: rgb(113, 27, 141);
/* oklch */ color: oklch(42.0% 0.180 316.0);
Tailwind
colors: {
  custom: {
    50: '#9e63af',
    500: '#711b8d',
    950: '#000000',
  },
}
SCSS
$custom: #711b8d;
$custom-light: #9e63af;
$custom-dark: #000000;
JSON
{
  "hex": "#711b8d",
  "rgb": {
    "r": 113,
    "g": 27,
    "b": 141
  },
  "hsl": {
    "h": 285.263,
    "s": 67.857,
    "l": 32.941
  },
  "oklch": {
    "l": 0.41988,
    "c": 0.18044,
    "h": 316
  },
  "luminance": 0.06218
}

Semantic roles & 50–950 ramp

primary
#711B8D
secondary
#64BD46
accent
#EB3D68
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #711B8D

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

Preview Lab → · Contrast checker → · Palette generator →

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