#71156C#71156C

#71156C is a dark, vivid purple. Relative luminance 0.051; OKLCH L 39.3% C 0.158 H 330.6°. Best body text is #FFFFFF at 10.37:1 contrast (WCAG AA passes).

Color values

HEX#71156C
RGBrgb(113, 21, 108)
HSLhsl(303, 69%, 26%)
HSVhsv(303, 81%, 44%)
CMYKcmyk(0%, 81.4%, 4.4%, 55.7%)
CIE-LABlab(27.10, 48.55, -28.19)
CIE-LCHlch(27.10, 56.14, 329.86°)
OKLaboklab(39.26% 0.138 -0.0778)
OKLCHoklch(39.26% 0.158 330.6)
XYZxyz(9.7850, 5.1305, 14.6594)
Luminance0.0513 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#71156C #15711A
analogous
#481571 #71156C #71153E
triadic
#71156C #6C7115 #156C71
tetradic
#71156C #714815 #15711A #153E71
square
#71156C #714815 #15711A #153E71
split-complementary
#71156C #3E7115 #157148
monochromatic
#1A0519 #3D0B3B #71156C #A51F9D #D729CE

Accessibility & contrast

On white

10.37
#71156C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#71156C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #71156C
10.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##71156C#FFFFFF#000000##FFFFFF
##71156C1.0010.372.0310.37
#FFFFFF10.371.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#08386E
Deuteranopia (green-blind)
#33446A
Tritanopia (blue-blind)
#762240
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #71156c;
/* rgb */ color: rgb(113, 21, 108);
/* oklch */ color: oklch(39.3% 0.158 330.6);
Tailwind
colors: {
  custom: {
    50: '#9d5f96',
    500: '#71156c',
    950: '#000000',
  },
}
SCSS
$custom: #71156c;
$custom-light: #9d5f96;
$custom-dark: #000000;
JSON
{
  "hex": "#71156c",
  "rgb": {
    "r": 113,
    "g": 21,
    "b": 108
  },
  "hsl": {
    "h": 303.261,
    "s": 68.657,
    "l": 26.275
  },
  "oklch": {
    "l": 0.39264,
    "c": 0.15845,
    "h": 330.6
  },
  "luminance": 0.0513
}

Semantic roles & 50–950 ramp

primary
#71156C
secondary
#3BA741
accent
#EB463C
background
#FAF5F9
surface
#F3EAF2
border
#CDC6CC
text
#0F050D
muted
#7F797E

Preview Lab

Preview with #71156C

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

Preview Lab → · Contrast checker → · Palette generator →

#71156C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva