#711D97#711D97

#711D97 is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.9% C 0.188 H 312.2°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#711D97
RGBrgb(113, 29, 151)
HSLhsl(281, 68%, 35%)
HSVhsv(281, 81%, 59%)
CMYKcmyk(25.2%, 80.8%, 0%, 40.8%)
CIE-LABlab(30.94, 54.21, -49.04)
CIE-LCHlch(30.94, 73.10, 317.87°)
OKLaboklab(42.91% 0.1261 -0.1389)
OKLCHoklch(42.91% 0.188 312.2)
XYZxyz(12.8343, 6.6242, 29.8747)
Luminance0.0662 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#711D97 #43971D
analogous
#341D97 #711D97 #971D80
triadic
#711D97 #97711D #1D9771
tetradic
#711D97 #97341D #43971D #1D8097
square
#711D97 #97341D #43971D #1D8097
split-complementary
#711D97 #80971D #1D9734
monochromatic
#240930 #4B1364 #711D97 #9727CA #B251DE

Accessibility & contrast

On white

9.03
#711D97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#711D97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #711D97
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##711D97#FFFFFF#000000##FFFFFF
##711D971.009.032.329.03
#FFFFFF9.031.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00459A
Deuteranopia (green-blind)
#024A95
Tritanopia (blue-blind)
#6C3B5A
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #711d97;
/* rgb */ color: rgb(113, 29, 151);
/* oklch */ color: oklch(42.9% 0.188 312.2);
Tailwind
colors: {
  custom: {
    50: '#9e64b6',
    500: '#711d97',
    950: '#000000',
  },
}
SCSS
$custom: #711d97;
$custom-light: #9e64b6;
$custom-dark: #000000;
JSON
{
  "hex": "#711d97",
  "rgb": {
    "r": 113,
    "g": 29,
    "b": 151
  },
  "hsl": {
    "h": 281.311,
    "s": 67.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.42912,
    "c": 0.18757,
    "h": 312.2
  },
  "luminance": 0.06624
}

Semantic roles & 50–950 ramp

primary
#711D97
secondary
#73C04F
accent
#EB3D73
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #711D97

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

Preview Lab → · Contrast checker → · Palette generator →

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