#711D8E#711D8E

#711D8E is a dark, vivid purple. Relative luminance 0.063; OKLCH L 42.2% C 0.179 H 315.5°. Best body text is #FFFFFF at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#711D8E
RGBrgb(113, 29, 142)
HSLhsl(285, 66%, 34%)
HSVhsv(285, 80%, 56%)
CMYKcmyk(20.4%, 79.6%, 0%, 44.3%)
CIE-LABlab(30.26, 52.34, -44.59)
CIE-LCHlch(30.26, 68.76, 319.57°)
OKLaboklab(42.23% 0.1278 -0.1258)
OKLCHoklch(42.23% 0.179 315.5)
XYZxyz(12.1311, 6.3429, 26.1712)
Luminance0.0634 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#711D8E #3A8E1D
analogous
#381D8E #711D8E #8E1D72
triadic
#711D8E #8E711D #1D8E71
tetradic
#711D8E #8E381D #3A8E1D #1D728E
square
#711D8E #8E381D #3A8E1D #1D728E
split-complementary
#711D8E #728E1D #1D8E38
monochromatic
#200828 #49135B #711D8E #9927C1 #B64BDA

Accessibility & contrast

On white

9.26
#711D8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #711D8E
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##711D8E#FFFFFF#000000##FFFFFF
##711D8E1.009.262.279.26
#FFFFFF9.261.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004391
Deuteranopia (green-blind)
#19498C
Tritanopia (blue-blind)
#6F3755
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #711d8e;
/* rgb */ color: rgb(113, 29, 142);
/* oklch */ color: oklch(42.2% 0.179 315.5);
Tailwind
colors: {
  custom: {
    50: '#9e64b0',
    500: '#711d8e',
    950: '#000000',
  },
}
SCSS
$custom: #711d8e;
$custom-light: #9e64b0;
$custom-dark: #000000;
JSON
{
  "hex": "#711d8e",
  "rgb": {
    "r": 113,
    "g": 29,
    "b": 142
  },
  "hsl": {
    "h": 284.602,
    "s": 66.082,
    "l": 33.529
  },
  "oklch": {
    "l": 0.42226,
    "c": 0.17937,
    "h": 315.5
  },
  "luminance": 0.06342
}

Semantic roles & 50–950 ramp

primary
#711D8E
secondary
#68BD4A
accent
#E93F6A
background
#FAF6FA
surface
#F3EBF5
border
#CDC6CF
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #711D8E

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

Preview Lab → · Contrast checker → · Palette generator →

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