#711F97#711F97

#711F97 is a dark, vivid purple. Relative luminance 0.067; OKLCH L 43.1% C 0.186 H 312.1°. Best body text is #FFFFFF at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#711F97
RGBrgb(113, 31, 151)
HSLhsl(281, 66%, 36%)
HSVhsv(281, 79%, 59%)
CMYKcmyk(25.2%, 79.5%, 0%, 40.8%)
CIE-LABlab(31.17, 53.52, -48.65)
CIE-LCHlch(31.17, 72.33, 317.73°)
OKLaboklab(43.08% 0.1244 -0.1378)
OKLCHoklch(43.08% 0.186 312.1)
XYZxyz(12.8849, 6.7254, 29.8915)
Luminance0.0673 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#711F97 #45971F
analogous
#351F97 #711F97 #971F81
triadic
#711F97 #97711F #1F9771
tetradic
#711F97 #97351F #45971F #1F8197
square
#711F97 #97351F #45971F #1F8197
split-complementary
#711F97 #81971F #1F9735
monochromatic
#250A31 #4B1564 #711F97 #9729CA #B154DC

Accessibility & contrast

On white

8.96
#711F97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #711F97
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##711F97#FFFFFF#000000##FFFFFF
##711F971.008.962.358.96
#FFFFFF8.961.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00469A
Deuteranopia (green-blind)
#064B95
Tritanopia (blue-blind)
#6C3C5B
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #711f97;
/* rgb */ color: rgb(113, 31, 151);
/* oklch */ color: oklch(43.1% 0.186 312.1);
Tailwind
colors: {
  custom: {
    50: '#9e65b6',
    500: '#711f97',
    950: '#000000',
  },
}
SCSS
$custom: #711f97;
$custom-light: #9e65b6;
$custom-dark: #000000;
JSON
{
  "hex": "#711f97",
  "rgb": {
    "r": 113,
    "g": 31,
    "b": 151
  },
  "hsl": {
    "h": 281,
    "s": 65.934,
    "l": 35.686
  },
  "oklch": {
    "l": 0.43079,
    "c": 0.18562,
    "h": 312.1
  },
  "luminance": 0.06725
}

Semantic roles & 50–950 ramp

primary
#711F97
secondary
#75BF52
accent
#E93F75
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #711F97

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

Preview Lab → · Contrast checker → · Palette generator →

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