#711D98#711D98

#711D98 is a dark, vivid purple. Relative luminance 0.067; OKLCH L 43.0% C 0.188 H 311.9°. Best body text is #FFFFFF at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#711D98
RGBrgb(113, 29, 152)
HSLhsl(281, 68%, 35%)
HSVhsv(281, 81%, 60%)
CMYKcmyk(25.7%, 80.9%, 0%, 40.4%)
CIE-LABlab(31.01, 54.42, -49.52)
CIE-LCHlch(31.01, 73.58, 317.70°)
OKLaboklab(42.99% 0.1258 -0.1403)
OKLCHoklch(42.99% 0.188 311.9)
XYZxyz(12.9159, 6.6568, 30.3042)
Luminance0.0666 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#711D98 #44981D
analogous
#341D98 #711D98 #981D81
triadic
#711D98 #98711D #1D9871
tetradic
#711D98 #98341D #44981D #1D8198
square
#711D98 #98341D #44981D #1D8198
split-complementary
#711D98 #81981D #1D9834
monochromatic
#250931 #4B1365 #711D98 #9727CB #B152DE

Accessibility & contrast

On white

9.01
#711D98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#711D98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #711D98
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##711D98#FFFFFF#000000##FFFFFF
##711D981.009.012.339.01
#FFFFFF9.011.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00459B
Deuteranopia (green-blind)
#004A96
Tritanopia (blue-blind)
#6C3C5B
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #711d98;
/* rgb */ color: rgb(113, 29, 152);
/* oklch */ color: oklch(43.0% 0.188 311.9);
Tailwind
colors: {
  custom: {
    50: '#9e64b7',
    500: '#711d98',
    950: '#000000',
  },
}
SCSS
$custom: #711d98;
$custom-light: #9e64b7;
$custom-dark: #000000;
JSON
{
  "hex": "#711d98",
  "rgb": {
    "r": 113,
    "g": 29,
    "b": 152
  },
  "hsl": {
    "h": 280.976,
    "s": 67.956,
    "l": 35.49
  },
  "oklch": {
    "l": 0.4299,
    "c": 0.18848,
    "h": 311.9
  },
  "luminance": 0.06656
}

Semantic roles & 50–950 ramp

primary
#711D98
secondary
#74C150
accent
#EB3D74
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #711D98

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

Preview Lab → · Contrast checker → · Palette generator →

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