#711B7E#711B7E

#711B7E is a dark, vivid purple. Relative luminance 0.058; OKLCH L 40.9% C 0.167 H 322.0°. Best body text is #FFFFFF at 9.72:1 contrast (WCAG AA passes).

Color values

HEX#711B7E
RGBrgb(113, 27, 126)
HSLhsl(292, 65%, 30%)
HSVhsv(292, 79%, 49%)
CMYKcmyk(10.3%, 78.6%, 0%, 50.6%)
CIE-LABlab(28.91, 49.86, -36.79)
CIE-LCHlch(28.91, 61.96, 323.58°)
OKLaboklab(40.91% 0.1318 -0.1029)
OKLCHoklch(40.91% 0.167 322)
XYZxyz(10.9675, 5.8016, 20.2767)
Luminance0.0580 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#711B7E #287E1B
analogous
#3F1B7E #711B7E #7E1B5A
triadic
#711B7E #7E711B #1B7E71
tetradic
#711B7E #7E3F1B #287E1B #1B5A7E
square
#711B7E #7E3F1B #287E1B #1B5A7E
split-complementary
#711B7E #5A7E1B #1B7E3F
monochromatic
#170519 #44104C #711B7E #9E26B0 #C23ED6

Accessibility & contrast

On white

9.72
#711B7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#711B7E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #711B7E
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##711B7E#FFFFFF#000000##FFFFFF
##711B7E1.009.722.169.72
#FFFFFF9.721.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E81
Deuteranopia (green-blind)
#29477C
Tritanopia (blue-blind)
#722F4C
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #711b7e;
/* rgb */ color: rgb(113, 27, 126);
/* oklch */ color: oklch(40.9% 0.167 322.0);
Tailwind
colors: {
  custom: {
    50: '#9d62a4',
    500: '#711b7e',
    950: '#000000',
  },
}
SCSS
$custom: #711b7e;
$custom-light: #9d62a4;
$custom-dark: #000000;
JSON
{
  "hex": "#711b7e",
  "rgb": {
    "r": 113,
    "g": 27,
    "b": 126
  },
  "hsl": {
    "h": 292.121,
    "s": 64.706,
    "l": 30
  },
  "oklch": {
    "l": 0.40912,
    "c": 0.16722,
    "h": 322
  },
  "luminance": 0.05801
}

Semantic roles & 50–950 ramp

primary
#711B7E
secondary
#52B243
accent
#E84056
background
#FAF6FA
surface
#F3EBF4
border
#CDC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #711B7E

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

Preview Lab → · Contrast checker → · Palette generator →

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