#71126A#71126A

#71126A is a dark, vivid purple. Relative luminance 0.050; OKLCH L 38.9% C 0.160 H 331.6°. Best body text is #FFFFFF at 10.52:1 contrast (WCAG AA passes).

Color values

HEX#71126A
RGBrgb(113, 18, 106)
HSLhsl(304, 73%, 26%)
HSVhsv(304, 84%, 44%)
CMYKcmyk(0%, 84.1%, 6.2%, 55.7%)
CIE-LABlab(26.69, 49.06, -27.55)
CIE-LCHlch(26.69, 56.27, 330.68°)
OKLaboklab(38.93% 0.1405 -0.076)
OKLCHoklch(38.93% 0.16 331.6)
XYZxyz(9.6279, 4.9847, 14.0879)
Luminance0.0498 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#71126A #127119
analogous
#481271 #71126A #71123A
triadic
#71126A #6A7112 #126A71
tetradic
#71126A #714812 #127119 #123A71
square
#71126A #714812 #127119 #123A71
split-complementary
#71126A #3A7112 #127148
monochromatic
#1A0419 #3C0A38 #71126A #A61A9C #DB23CD

Accessibility & contrast

On white

10.52
#71126A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#71126A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #71126A
10.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##71126A#FFFFFF#000000##FFFFFF
##71126A1.0010.522.0010.52
#FFFFFF10.521.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#07376C
Deuteranopia (green-blind)
#334468
Tritanopia (blue-blind)
#761F3E
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #71126a;
/* rgb */ color: rgb(113, 18, 106);
/* oklch */ color: oklch(38.9% 0.160 331.6);
Tailwind
colors: {
  custom: {
    50: '#9d5e95',
    500: '#71126a',
    950: '#000000',
  },
}
SCSS
$custom: #71126a;
$custom-light: #9d5e95;
$custom-dark: #000000;
JSON
{
  "hex": "#71126a",
  "rgb": {
    "r": 113,
    "g": 18,
    "b": 106
  },
  "hsl": {
    "h": 304.421,
    "s": 72.519,
    "l": 25.686
  },
  "oklch": {
    "l": 0.38932,
    "c": 0.15969,
    "h": 331.6
  },
  "luminance": 0.04984
}

Semantic roles & 50–950 ramp

primary
#71126A
secondary
#37A83F
accent
#EF4639
background
#FAF5F9
surface
#F3EAF1
border
#CDC6CB
text
#0F050D
muted
#7F797E

Preview Lab

Preview with #71126A

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

Preview Lab → · Contrast checker → · Palette generator →

#71126A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva