#71156F#71156F

#71156F is a dark, vivid purple. Relative luminance 0.052; OKLCH L 39.5% C 0.161 H 329.1°. Best body text is #FFFFFF at 10.30:1 contrast (WCAG AA passes).

Color values

HEX#71156F
RGBrgb(113, 21, 111)
HSLhsl(301, 69%, 26%)
HSVhsv(301, 81%, 44%)
CMYKcmyk(0%, 81.4%, 1.8%, 55.7%)
CIE-LABlab(27.28, 49.06, -29.83)
CIE-LCHlch(27.28, 57.42, 328.69°)
OKLaboklab(39.45% 0.138 -0.0826)
OKLCHoklch(39.45% 0.161 329.1)
XYZxyz(9.9474, 5.1955, 15.5148)
Luminance0.0520 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#71156F #157117
analogous
#451571 #71156F #711541
triadic
#71156F #6F7115 #156F71
tetradic
#71156F #714515 #157117 #154171
square
#71156F #714515 #157117 #154171
split-complementary
#71156F #417115 #157145
monochromatic
#1A0519 #3D0B3C #71156F #A51FA2 #D729D3

Accessibility & contrast

On white

10.30
#71156F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#71156F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #71156F
10.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##71156F#FFFFFF#000000##FFFFFF
##71156F1.0010.302.0410.30
#FFFFFF10.301.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#023971
Deuteranopia (green-blind)
#31456D
Tritanopia (blue-blind)
#752442
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #71156f;
/* rgb */ color: rgb(113, 21, 111);
/* oklch */ color: oklch(39.5% 0.161 329.1);
Tailwind
colors: {
  custom: {
    50: '#9d5f99',
    500: '#71156f',
    950: '#000000',
  },
}
SCSS
$custom: #71156f;
$custom-light: #9d5f99;
$custom-dark: #000000;
JSON
{
  "hex": "#71156f",
  "rgb": {
    "r": 113,
    "g": 21,
    "b": 111
  },
  "hsl": {
    "h": 301.304,
    "s": 68.657,
    "l": 26.275
  },
  "oklch": {
    "l": 0.39452,
    "c": 0.16082,
    "h": 329.1
  },
  "luminance": 0.05195
}

Semantic roles & 50–950 ramp

primary
#71156F
secondary
#3BA73D
accent
#EB403C
background
#FAF5F9
surface
#F3EAF2
border
#CDC6CC
text
#0F050E
muted
#7F797E

Preview Lab

Preview with #71156F

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

Preview Lab → · Contrast checker → · Palette generator →

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