#711D8F#711D8F

#711D8F is a dark, vivid purple. Relative luminance 0.064; OKLCH L 42.3% C 0.180 H 315.1°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#711D8F
RGBrgb(113, 29, 143)
HSLhsl(284, 66%, 34%)
HSVhsv(284, 80%, 56%)
CMYKcmyk(21%, 79.7%, 0%, 43.9%)
CIE-LABlab(30.33, 52.54, -45.09)
CIE-LCHlch(30.33, 69.24, 319.37°)
OKLaboklab(42.3% 0.1277 -0.1273)
OKLCHoklch(42.3% 0.18 315.1)
XYZxyz(12.2065, 6.3731, 26.5684)
Luminance0.0637 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#711D8F #3B8F1D
analogous
#381D8F #711D8F #8F1D74
triadic
#711D8F #8F711D #1D8F71
tetradic
#711D8F #8F381D #3B8F1D #1D748F
square
#711D8F #8F381D #3B8F1D #1D748F
split-complementary
#711D8F #748F1D #1D8F38
monochromatic
#210829 #49135C #711D8F #9927C2 #B54CDB

Accessibility & contrast

On white

9.23
#711D8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#711D8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #711D8F
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##711D8F#FFFFFF#000000##FFFFFF
##711D8F1.009.232.279.23
#FFFFFF9.231.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004392
Deuteranopia (green-blind)
#17498D
Tritanopia (blue-blind)
#6E3856
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #711d8f;
/* rgb */ color: rgb(113, 29, 143);
/* oklch */ color: oklch(42.3% 0.180 315.1);
Tailwind
colors: {
  custom: {
    50: '#9e64b0',
    500: '#711d8f',
    950: '#000000',
  },
}
SCSS
$custom: #711d8f;
$custom-light: #9e64b0;
$custom-dark: #000000;
JSON
{
  "hex": "#711d8f",
  "rgb": {
    "r": 113,
    "g": 29,
    "b": 143
  },
  "hsl": {
    "h": 284.211,
    "s": 66.279,
    "l": 33.725
  },
  "oklch": {
    "l": 0.423,
    "c": 0.18028,
    "h": 315.1
  },
  "luminance": 0.06373
}

Semantic roles & 50–950 ramp

primary
#711D8F
secondary
#69BD4B
accent
#E93F6B
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #711D8F

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

Preview Lab → · Contrast checker → · Palette generator →

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