#711D7F#711D7F

#711D7F is a dark, vivid purple. Relative luminance 0.059; OKLCH L 41.2% C 0.166 H 321.5°. Best body text is #FFFFFF at 9.61:1 contrast (WCAG AA passes).

Color values

HEX#711D7F
RGBrgb(113, 29, 127)
HSLhsl(291, 63%, 31%)
HSVhsv(291, 77%, 50%)
CMYKcmyk(11%, 77.2%, 0%, 50.2%)
CIE-LABlab(29.22, 49.35, -36.92)
CIE-LCHlch(29.22, 61.64, 323.20°)
OKLaboklab(41.15% 0.1298 -0.1033)
OKLCHoklch(41.15% 0.166 321.5)
XYZxyz(11.0798, 5.9224, 20.6341)
Luminance0.0592 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#711D7F #2B7F1D
analogous
#401D7F #711D7F #7F1D5C
triadic
#711D7F #7F711D #1D7F71
tetradic
#711D7F #7F401D #2B7F1D #1D5C7F
square
#711D7F #7F401D #2B7F1D #1D5C7F
split-complementary
#711D7F #5C7F1D #1D7F40
monochromatic
#18061B #45124D #711D7F #9D28B1 #BF42D4

Accessibility & contrast

On white

9.61
#711D7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#711D7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #711D7F
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##711D7F#FFFFFF#000000##FFFFFF
##711D7F1.009.612.189.61
#FFFFFF9.611.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F82
Deuteranopia (green-blind)
#2A487D
Tritanopia (blue-blind)
#72304D
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #711d7f;
/* rgb */ color: rgb(113, 29, 127);
/* oklch */ color: oklch(41.2% 0.166 321.5);
Tailwind
colors: {
  custom: {
    50: '#9d63a5',
    500: '#711d7f',
    950: '#000000',
  },
}
SCSS
$custom: #711d7f;
$custom-light: #9d63a5;
$custom-dark: #000000;
JSON
{
  "hex": "#711d7f",
  "rgb": {
    "r": 113,
    "g": 29,
    "b": 127
  },
  "hsl": {
    "h": 291.429,
    "s": 62.821,
    "l": 30.588
  },
  "oklch": {
    "l": 0.41153,
    "c": 0.16592,
    "h": 321.5
  },
  "luminance": 0.05922
}

Semantic roles & 50–950 ramp

primary
#711D7F
secondary
#55B245
accent
#E64259
background
#FAF6FA
surface
#F3EBF4
border
#CDC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #711D7F

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

Preview Lab → · Contrast checker → · Palette generator →

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