#71156E#71156E

#71156E is a dark, vivid purple. Relative luminance 0.052; OKLCH L 39.4% C 0.160 H 329.6°. Best body text is #FFFFFF at 10.32:1 contrast (WCAG AA passes).

Color values

HEX#71156E
RGBrgb(113, 21, 110)
HSLhsl(302, 69%, 26%)
HSVhsv(302, 81%, 44%)
CMYKcmyk(0%, 81.4%, 2.7%, 55.7%)
CIE-LABlab(27.22, 48.89, -29.29)
CIE-LCHlch(27.22, 56.99, 329.07°)
OKLaboklab(39.39% 0.138 -0.081)
OKLCHoklch(39.39% 0.16 329.6)
XYZxyz(9.8926, 5.1736, 15.2264)
Luminance0.0517 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#71156E #157118
analogous
#461571 #71156E #711540
triadic
#71156E #6E7115 #156E71
tetradic
#71156E #714615 #157118 #154071
square
#71156E #714615 #157118 #154071
split-complementary
#71156E #407115 #157146
monochromatic
#1A0519 #3D0B3C #71156E #A51FA0 #D729D2

Accessibility & contrast

On white

10.32
#71156E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #71156E
10.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##71156E#FFFFFF#000000##FFFFFF
##71156E1.0010.322.0310.32
#FFFFFF10.321.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#043970
Deuteranopia (green-blind)
#32456C
Tritanopia (blue-blind)
#752341
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #71156e;
/* rgb */ color: rgb(113, 21, 110);
/* oklch */ color: oklch(39.4% 0.160 329.6);
Tailwind
colors: {
  custom: {
    50: '#9d5f98',
    500: '#71156e',
    950: '#000000',
  },
}
SCSS
$custom: #71156e;
$custom-light: #9d5f98;
$custom-dark: #000000;
JSON
{
  "hex": "#71156e",
  "rgb": {
    "r": 113,
    "g": 21,
    "b": 110
  },
  "hsl": {
    "h": 301.957,
    "s": 68.657,
    "l": 26.275
  },
  "oklch": {
    "l": 0.39389,
    "c": 0.16002,
    "h": 329.6
  },
  "luminance": 0.05173
}

Semantic roles & 50–950 ramp

primary
#71156E
secondary
#3BA73E
accent
#EB423C
background
#FAF5F9
surface
#F3EAF2
border
#CDC6CC
text
#0F050D
muted
#7F797E

Preview Lab

Preview with #71156E

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

Preview Lab → · Contrast checker → · Palette generator →

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