#711D9C#711D9C

#711D9C is a dark, vivid violet. Relative luminance 0.068; OKLCH L 43.3% C 0.192 H 310.5°. Best body text is #FFFFFF at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#711D9C
RGBrgb(113, 29, 156)
HSLhsl(280, 69%, 36%)
HSVhsv(280, 81%, 61%)
CMYKcmyk(27.6%, 81.4%, 0%, 38.8%)
CIE-LABlab(31.32, 55.27, -51.46)
CIE-LCHlch(31.32, 75.51, 317.04°)
OKLaboklab(43.31% 0.1249 -0.146)
OKLCHoklch(43.31% 0.192 310.5)
XYZxyz(13.2490, 6.7901, 32.0587)
Luminance0.0679 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#711D9C #489C1D
analogous
#321D9C #711D9C #9C1D88
triadic
#711D9C #9C711D #1D9C71
tetradic
#711D9C #9C321D #489C1D #1D889C
square
#711D9C #9C321D #489C1D #1D889C
split-complementary
#711D9C #889C1D #1D9C32
monochromatic
#260A35 #4C1368 #711D9C #9627D0 #B054DF

Accessibility & contrast

On white

8.91
#711D9C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#711D9C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #711D9C
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##711D9C#FFFFFF#000000##FFFFFF
##711D9C1.008.912.368.91
#FFFFFF8.911.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00469F
Deuteranopia (green-blind)
#004B99
Tritanopia (blue-blind)
#6B3E5D
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #711d9c;
/* rgb */ color: rgb(113, 29, 156);
/* oklch */ color: oklch(43.3% 0.192 310.5);
Tailwind
colors: {
  custom: {
    50: '#9f64ba',
    500: '#711d9c',
    950: '#000000',
  },
}
SCSS
$custom: #711d9c;
$custom-light: #9f64ba;
$custom-dark: #000000;
JSON
{
  "hex": "#711d9c",
  "rgb": {
    "r": 113,
    "g": 29,
    "b": 156
  },
  "hsl": {
    "h": 279.685,
    "s": 68.649,
    "l": 36.275
  },
  "oklch": {
    "l": 0.43305,
    "c": 0.19215,
    "h": 310.5
  },
  "luminance": 0.0679
}

Semantic roles & 50–950 ramp

primary
#711D9C
secondary
#78C252
accent
#EB3C78
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0612
muted
#7F7A81

Preview Lab

Preview with #711D9C

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

Preview Lab → · Contrast checker → · Palette generator →

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