#711E8B#711E8B

#711E8B is a dark, vivid purple. Relative luminance 0.063; OKLCH L 42.1% C 0.176 H 316.5°. Best body text is #FFFFFF at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#711E8B
RGBrgb(113, 30, 139)
HSLhsl(286, 64%, 33%)
HSVhsv(286, 78%, 55%)
CMYKcmyk(18.7%, 78.4%, 0%, 45.5%)
CIE-LABlab(30.17, 51.38, -42.89)
CIE-LCHlch(30.17, 66.92, 320.15°)
OKLaboklab(42.09% 0.1274 -0.1208)
OKLCHoklch(42.09% 0.176 316.5)
XYZxyz(11.9338, 6.3038, 25.0092)
Luminance0.0630 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#711E8B #388B1E
analogous
#3A1E8B #711E8B #8B1E6E
triadic
#711E8B #8B711E #1E8B71
tetradic
#711E8B #8B3A1E #388B1E #1E6E8B
square
#711E8B #8B3A1E #388B1E #1E6E8B
split-complementary
#711E8B #6E8B1E #1E8B3A
monochromatic
#1F0826 #481359 #711E8B #9A29BD #B74BD8

Accessibility & contrast

On white

9.29
#711E8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#711E8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #711E8B
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##711E8B#FFFFFF#000000##FFFFFF
##711E8B1.009.292.269.29
#FFFFFF9.291.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00428E
Deuteranopia (green-blind)
#1E4989
Tritanopia (blue-blind)
#6F3654
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #711e8b;
/* rgb */ color: rgb(113, 30, 139);
/* oklch */ color: oklch(42.1% 0.176 316.5);
Tailwind
colors: {
  custom: {
    50: '#9e64ad',
    500: '#711e8b',
    950: '#000000',
  },
}
SCSS
$custom: #711e8b;
$custom-light: #9e64ad;
$custom-dark: #000000;
JSON
{
  "hex": "#711e8b",
  "rgb": {
    "r": 113,
    "g": 30,
    "b": 139
  },
  "hsl": {
    "h": 285.688,
    "s": 64.497,
    "l": 33.137
  },
  "oklch": {
    "l": 0.4209,
    "c": 0.17561,
    "h": 316.5
  },
  "luminance": 0.06303
}

Semantic roles & 50–950 ramp

primary
#711E8B
secondary
#65BB4A
accent
#E74068
background
#FAF6FA
surface
#F3EBF4
border
#CDC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #711E8B

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

Preview Lab → · Contrast checker → · Palette generator →

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