#711B7F#711B7F

#711B7F is a dark, vivid purple. Relative luminance 0.058; OKLCH L 41.0% C 0.168 H 321.6°. Best body text is #FFFFFF at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#711B7F
RGBrgb(113, 27, 127)
HSLhsl(292, 65%, 30%)
HSVhsv(292, 79%, 50%)
CMYKcmyk(11%, 78.7%, 0%, 50.2%)
CIE-LABlab(28.97, 50.05, -37.31)
CIE-LCHlch(28.97, 62.43, 323.30°)
OKLaboklab(40.98% 0.1317 -0.1045)
OKLCHoklch(40.98% 0.168 321.6)
XYZxyz(11.0323, 5.8275, 20.6183)
Luminance0.0583 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#711B7F #297F1B
analogous
#3F1B7F #711B7F #7F1B5B
triadic
#711B7F #7F711B #1B7F71
tetradic
#711B7F #7F3F1B #297F1B #1B5B7F
square
#711B7F #7F3F1B #297F1B #1B5B7F
split-complementary
#711B7F #5B7F1B #1B7F3F
monochromatic
#17061A #44104D #711B7F #9E26B1 #C13ED6

Accessibility & contrast

On white

9.70
#711B7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#711B7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #711B7F
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##711B7F#FFFFFF#000000##FFFFFF
##711B7F1.009.702.179.70
#FFFFFF9.701.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.701.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #711b7f;
/* rgb */ color: rgb(113, 27, 127);
/* oklch */ color: oklch(41.0% 0.168 321.6);
Tailwind
colors: {
  custom: {
    50: '#9d62a5',
    500: '#711b7f',
    950: '#000000',
  },
}
SCSS
$custom: #711b7f;
$custom-light: #9d62a5;
$custom-dark: #000000;
JSON
{
  "hex": "#711b7f",
  "rgb": {
    "r": 113,
    "g": 27,
    "b": 127
  },
  "hsl": {
    "h": 291.6,
    "s": 64.935,
    "l": 30.196
  },
  "oklch": {
    "l": 0.40981,
    "c": 0.16809,
    "h": 321.6
  },
  "luminance": 0.05827
}

Semantic roles & 50–950 ramp

primary
#711B7F
secondary
#53B343
accent
#E84057
background
#FAF6FA
surface
#F3EBF4
border
#CDC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #711B7F

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

Preview Lab → · Contrast checker → · Palette generator →

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