#71157B#71157B

#71157B is a dark, vivid purple. Relative luminance 0.055; OKLCH L 40.2% C 0.171 H 323.5°. Best body text is #FFFFFF at 10.02:1 contrast (WCAG AA passes).

Color values

HEX#71157B
RGBrgb(113, 21, 123)
HSLhsl(294, 71%, 28%)
HSVhsv(294, 83%, 48%)
CMYKcmyk(8.1%, 82.9%, 0%, 51.8%)
CIE-LABlab(28.05, 51.18, -36.26)
CIE-LCHlch(28.05, 62.72, 324.69°)
OKLaboklab(40.24% 0.1372 -0.1013)
OKLCHoklch(40.24% 0.171 323.5)
XYZxyz(10.6530, 5.4778, 19.2313)
Luminance0.0548 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#71157B #1F7B15
analogous
#3E157B #71157B #7B1552
triadic
#71157B #7B7115 #157B71
tetradic
#71157B #7B3E15 #1F7B15 #15527B
square
#71157B #7B3E15 #1F7B15 #15527B
split-complementary
#71157B #527B15 #157B3E
monochromatic
#18041A #410C47 #71157B #A11EAF #CB2FDB

Accessibility & contrast

On white

10.02
#71157B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#71157B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #71157B
10.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##71157B#FFFFFF#000000##FFFFFF
##71157B1.0010.022.1010.02
#FFFFFF10.021.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B7E
Deuteranopia (green-blind)
#294679
Tritanopia (blue-blind)
#732A49
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #71157b;
/* rgb */ color: rgb(113, 21, 123);
/* oklch */ color: oklch(40.2% 0.171 323.5);
Tailwind
colors: {
  custom: {
    50: '#9d60a2',
    500: '#71157b',
    950: '#000000',
  },
}
SCSS
$custom: #71157b;
$custom-light: #9d60a2;
$custom-dark: #000000;
JSON
{
  "hex": "#71157b",
  "rgb": {
    "r": 113,
    "g": 21,
    "b": 123
  },
  "hsl": {
    "h": 294.118,
    "s": 70.833,
    "l": 28.235
  },
  "oklch": {
    "l": 0.40245,
    "c": 0.17056,
    "h": 323.5
  },
  "luminance": 0.05477
}

Semantic roles & 50–950 ramp

primary
#71157B
secondary
#47B03B
accent
#EE3A4C
background
#FAF6FA
surface
#F3EBF3
border
#CDC6CD
text
#0F050F
muted
#7F7A7F

Preview Lab

Preview with #71157B

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

Preview Lab → · Contrast checker → · Palette generator →

#71157B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva