#711A8E#711A8E

#711A8E is a dark, vivid purple. Relative luminance 0.062; OKLCH L 42.0% C 0.182 H 315.6°. Best body text is #FFFFFF at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#711A8E
RGBrgb(113, 26, 142)
HSLhsl(285, 69%, 33%)
HSVhsv(285, 82%, 56%)
CMYKcmyk(20.4%, 81.7%, 0%, 44.3%)
CIE-LABlab(29.92, 53.33, -45.14)
CIE-LCHlch(29.92, 69.87, 319.75°)
OKLaboklab(41.99% 0.1303 -0.1274)
OKLCHoklch(41.99% 0.182 315.6)
XYZxyz(12.0611, 6.2030, 26.1479)
Luminance0.0620 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#711A8E #378E1A
analogous
#371A8E #711A8E #8E1A71
triadic
#711A8E #8E711A #1A8E71
tetradic
#711A8E #8E371A #378E1A #1A718E
square
#711A8E #8E371A #378E1A #1A718E
split-complementary
#711A8E #718E1A #1A8E37
monochromatic
#1F0727 #48115A #711A8E #9A23C2 #B745DD

Accessibility & contrast

On white

9.37
#711A8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#711A8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #711A8E
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##711A8E#FFFFFF#000000##FFFFFF
##711A8E1.009.372.249.37
#FFFFFF9.371.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004291
Deuteranopia (green-blind)
#16498C
Tritanopia (blue-blind)
#6F3655
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #711a8e;
/* rgb */ color: rgb(113, 26, 142);
/* oklch */ color: oklch(42.0% 0.182 315.6);
Tailwind
colors: {
  custom: {
    50: '#9e63b0',
    500: '#711a8e',
    950: '#000000',
  },
}
SCSS
$custom: #711a8e;
$custom-light: #9e63b0;
$custom-dark: #000000;
JSON
{
  "hex": "#711a8e",
  "rgb": {
    "r": 113,
    "g": 26,
    "b": 142
  },
  "hsl": {
    "h": 285,
    "s": 69.048,
    "l": 32.941
  },
  "oklch": {
    "l": 0.41985,
    "c": 0.18228,
    "h": 315.6
  },
  "luminance": 0.06202
}

Semantic roles & 50–950 ramp

primary
#711A8E
secondary
#64BE45
accent
#EC3C68
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #711A8E

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

Preview Lab → · Contrast checker → · Palette generator →

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