#711B8B#711B8B

#711B8B is a dark, vivid purple. Relative luminance 0.062; OKLCH L 41.8% C 0.179 H 316.7°. Best body text is #FFFFFF at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#711B8B
RGBrgb(113, 27, 139)
HSLhsl(286, 67%, 33%)
HSVhsv(286, 81%, 55%)
CMYKcmyk(18.7%, 80.6%, 0%, 45.5%)
CIE-LABlab(29.81, 52.40, -43.46)
CIE-LCHlch(29.81, 68.08, 320.33°)
OKLaboklab(41.84% 0.1301 -0.1225)
OKLCHoklch(41.84% 0.179 316.7)
XYZxyz(11.8615, 6.1592, 24.9851)
Luminance0.0616 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#711B8B #358B1B
analogous
#391B8B #711B8B #8B1B6D
triadic
#711B8B #8B711B #1B8B71
tetradic
#711B8B #8B391B #358B1B #1B6D8B
square
#711B8B #8B391B #358B1B #1B6D8B
split-complementary
#711B8B #6D8B1B #1B8B39
monochromatic
#1E0725 #471158 #711B8B #9B25BE #B845DB

Accessibility & contrast

On white

9.41
#711B8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#711B8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #711B8B
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##711B8B#FFFFFF#000000##FFFFFF
##711B8B1.009.412.239.41
#FFFFFF9.411.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00418E
Deuteranopia (green-blind)
#1B4989
Tritanopia (blue-blind)
#6F3553
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #711b8b;
/* rgb */ color: rgb(113, 27, 139);
/* oklch */ color: oklch(41.8% 0.179 316.7);
Tailwind
colors: {
  custom: {
    50: '#9e63ae',
    500: '#711b8b',
    950: '#000000',
  },
}
SCSS
$custom: #711b8b;
$custom-light: #9e63ae;
$custom-dark: #000000;
JSON
{
  "hex": "#711b8b",
  "rgb": {
    "r": 113,
    "g": 27,
    "b": 139
  },
  "hsl": {
    "h": 286.071,
    "s": 67.47,
    "l": 32.549
  },
  "oklch": {
    "l": 0.41839,
    "c": 0.17866,
    "h": 316.7
  },
  "luminance": 0.06159
}

Semantic roles & 50–950 ramp

primary
#711B8B
secondary
#61BC45
accent
#EA3D66
background
#FAF6FA
surface
#F3EBF4
border
#CDC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #711B8B

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

Preview Lab → · Contrast checker → · Palette generator →

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