#711F7C#711F7C

#711F7C is a dark, vivid purple. Relative luminance 0.059; OKLCH L 41.1% C 0.161 H 322.7°. Best body text is #FFFFFF at 9.59:1 contrast (WCAG AA passes).

Color values

HEX#711F7C
RGBrgb(113, 31, 124)
HSLhsl(293, 60%, 30%)
HSVhsv(293, 75%, 49%)
CMYKcmyk(8.9%, 75%, 0%, 51.4%)
CIE-LABlab(29.28, 48.04, -34.93)
CIE-LCHlch(29.28, 59.40, 323.98°)
OKLaboklab(41.13% 0.128 -0.0975)
OKLCHoklch(41.13% 0.161 322.7)
XYZxyz(10.9378, 5.9466, 19.6366)
Luminance0.0595 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#711F7C #2A7C1F
analogous
#421F7C #711F7C #7C1F58
triadic
#711F7C #7C711F #1F7C71
tetradic
#711F7C #7C421F #2A7C1F #1F587C
square
#711F7C #7C421F #2A7C1F #1F587C
split-complementary
#711F7C #587C1F #1F7C42
monochromatic
#18071A #44134B #711F7C #9E2BAD #C045D0

Accessibility & contrast

On white

9.59
#711F7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#711F7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #711F7C
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##711F7C#FFFFFF#000000##FFFFFF
##711F7C1.009.592.199.59
#FFFFFF9.591.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F7F
Deuteranopia (green-blind)
#2D487A
Tritanopia (blue-blind)
#73304C
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #711f7c;
/* rgb */ color: rgb(113, 31, 124);
/* oklch */ color: oklch(41.1% 0.161 322.7);
Tailwind
colors: {
  custom: {
    50: '#9d64a2',
    500: '#711f7c',
    950: '#000000',
  },
}
SCSS
$custom: #711f7c;
$custom-light: #9d64a2;
$custom-dark: #000000;
JSON
{
  "hex": "#711f7c",
  "rgb": {
    "r": 113,
    "g": 31,
    "b": 124
  },
  "hsl": {
    "h": 292.903,
    "s": 60,
    "l": 30.392
  },
  "oklch": {
    "l": 0.41134,
    "c": 0.16097,
    "h": 322.7
  },
  "luminance": 0.05946
}

Semantic roles & 50–950 ramp

primary
#711F7C
secondary
#54AF48
accent
#E34557
background
#FAF6FA
surface
#F3EBF3
border
#CDC6CD
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #711F7C

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

Preview Lab → · Contrast checker → · Palette generator →

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