#711F7B#711F7B

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

Color values

HEX#711F7B
RGBrgb(113, 31, 123)
HSLhsl(293, 60%, 30%)
HSVhsv(293, 75%, 48%)
CMYKcmyk(8.1%, 74.8%, 0%, 51.8%)
CIE-LABlab(29.21, 47.85, -34.40)
CIE-LCHlch(29.21, 58.93, 324.28°)
OKLaboklab(41.07% 0.1281 -0.096)
OKLCHoklch(41.07% 0.16 323.2)
XYZxyz(10.8749, 5.9214, 19.3052)
Luminance0.0592 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#711F7B #297B1F
analogous
#431F7B #711F7B #7B1F57
triadic
#711F7B #7B711F #1F7B71
tetradic
#711F7B #7B431F #297B1F #1F577B
square
#711F7B #7B431F #297B1F #1F577B
split-complementary
#711F7B #577B1F #1F7B43
monochromatic
#170619 #44134A #711F7B #9E2BAC #C144D0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##711F7B#FFFFFF#000000##FFFFFF
##711F7B1.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)
#003F7E
Deuteranopia (green-blind)
#2E4879
Tritanopia (blue-blind)
#73304B
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #711f7b;
/* rgb */ color: rgb(113, 31, 123);
/* oklch */ color: oklch(41.1% 0.160 323.2);
Tailwind
colors: {
  custom: {
    50: '#9d64a2',
    500: '#711f7b',
    950: '#000000',
  },
}
SCSS
$custom: #711f7b;
$custom-light: #9d64a2;
$custom-dark: #000000;
JSON
{
  "hex": "#711f7b",
  "rgb": {
    "r": 113,
    "g": 31,
    "b": 123
  },
  "hsl": {
    "h": 293.478,
    "s": 59.74,
    "l": 30.196
  },
  "oklch": {
    "l": 0.41068,
    "c": 0.16008,
    "h": 323.2
  },
  "luminance": 0.05921
}

Semantic roles & 50–950 ramp

primary
#711F7B
secondary
#53AE48
accent
#E34556
background
#F9F6FA
surface
#F2EBF3
border
#CCC6CD
text
#0F060F
muted
#7E7A7F

Preview Lab

Preview with #711F7B

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

Preview Lab → · Contrast checker → · Palette generator →

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