#711D9B#711D9B

#711D9B is a dark, vivid purple. Relative luminance 0.068; OKLCH L 43.2% C 0.191 H 310.9°. Best body text is #FFFFFF at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#711D9B
RGBrgb(113, 29, 155)
HSLhsl(280, 68%, 36%)
HSVhsv(280, 81%, 61%)
CMYKcmyk(27.1%, 81.3%, 0%, 39.2%)
CIE-LABlab(31.25, 55.05, -50.98)
CIE-LCHlch(31.25, 75.03, 317.20°)
OKLaboklab(43.23% 0.1251 -0.1446)
OKLCHoklch(43.23% 0.191 310.9)
XYZxyz(13.1647, 6.7563, 31.6146)
Luminance0.0676 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#711D9B #479B1D
analogous
#321D9B #711D9B #9B1D86
triadic
#711D9B #9B711D #1D9B71
tetradic
#711D9B #9B321D #479B1D #1D869B
square
#711D9B #9B321D #479B1D #1D869B
split-complementary
#711D9B #869B1D #1D9B32
monochromatic
#260A34 #4B1367 #711D9B #9727CF #B053DF

Accessibility & contrast

On white

8.93
#711D9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#711D9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #711D9B
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##711D9B#FFFFFF#000000##FFFFFF
##711D9B1.008.932.358.93
#FFFFFF8.931.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00469E
Deuteranopia (green-blind)
#004B98
Tritanopia (blue-blind)
#6B3D5D
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #711d9b;
/* rgb */ color: rgb(113, 29, 155);
/* oklch */ color: oklch(43.2% 0.191 310.9);
Tailwind
colors: {
  custom: {
    50: '#9f64b9',
    500: '#711d9b',
    950: '#000000',
  },
}
SCSS
$custom: #711d9b;
$custom-light: #9f64b9;
$custom-dark: #000000;
JSON
{
  "hex": "#711d9b",
  "rgb": {
    "r": 113,
    "g": 29,
    "b": 155
  },
  "hsl": {
    "h": 280,
    "s": 68.478,
    "l": 36.078
  },
  "oklch": {
    "l": 0.43226,
    "c": 0.19122,
    "h": 310.9
  },
  "luminance": 0.06756
}

Semantic roles & 50–950 ramp

primary
#711D9B
secondary
#77C252
accent
#EB3C77
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #711D9B

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

Preview Lab → · Contrast checker → · Palette generator →

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