#71157F#71157F

#71157F is a dark, vivid purple. Relative luminance 0.056; OKLCH L 40.5% C 0.174 H 321.8°. Best body text is #FFFFFF at 9.93:1 contrast (WCAG AA passes).

Color values

HEX#71157F
RGBrgb(113, 21, 127)
HSLhsl(292, 72%, 29%)
HSVhsv(292, 83%, 50%)
CMYKcmyk(11%, 83.5%, 0%, 50.2%)
CIE-LABlab(28.33, 51.92, -38.35)
CIE-LCHlch(28.33, 64.55, 323.55°)
OKLaboklab(40.52% 0.1367 -0.1075)
OKLCHoklch(40.52% 0.174 321.8)
XYZxyz(10.9086, 5.5800, 20.5770)
Luminance0.0558 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#71157F #237F15
analogous
#3C157F #71157F #7F1558
triadic
#71157F #7F7115 #157F71
tetradic
#71157F #7F3C15 #237F15 #15587F
square
#71157F #7F3C15 #237F15 #15587F
split-complementary
#71157F #587F15 #157F3C
monochromatic
#17041A #420C4A #71157F #A01EB4 #C631DD

Accessibility & contrast

On white

9.93
#71157F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#71157F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #71157F
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##71157F#FFFFFF#000000##FFFFFF
##71157F1.009.932.129.93
#FFFFFF9.931.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C82
Deuteranopia (green-blind)
#25467D
Tritanopia (blue-blind)
#722C4B
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #71157f;
/* rgb */ color: rgb(113, 21, 127);
/* oklch */ color: oklch(40.5% 0.174 321.8);
Tailwind
colors: {
  custom: {
    50: '#9e60a5',
    500: '#71157f',
    950: '#000000',
  },
}
SCSS
$custom: #71157f;
$custom-light: #9e60a5;
$custom-dark: #000000;
JSON
{
  "hex": "#71157f",
  "rgb": {
    "r": 113,
    "g": 21,
    "b": 127
  },
  "hsl": {
    "h": 292.075,
    "s": 71.622,
    "l": 29.02
  },
  "oklch": {
    "l": 0.40524,
    "c": 0.17387,
    "h": 321.8
  },
  "luminance": 0.05579
}

Semantic roles & 50–950 ramp

primary
#71157F
secondary
#4CB43C
accent
#EE3951
background
#FAF6FA
surface
#F3EBF4
border
#CDC6CE
text
#0F050F
muted
#7F7A7F

Preview Lab

Preview with #71157F

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

Preview Lab → · Contrast checker → · Palette generator →

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