#71126C#71126C

#71126C is a dark, vivid purple. Relative luminance 0.050; OKLCH L 39.1% C 0.161 H 330.6°. Best body text is #FFFFFF at 10.47:1 contrast (WCAG AA passes).

Color values

HEX#71126C
RGBrgb(113, 18, 108)
HSLhsl(303, 73%, 26%)
HSVhsv(303, 84%, 44%)
CMYKcmyk(0%, 84.1%, 4.4%, 55.7%)
CIE-LABlab(26.81, 49.39, -28.65)
CIE-LCHlch(26.81, 57.10, 329.88°)
OKLaboklab(39.06% 0.1405 -0.0792)
OKLCHoklch(39.06% 0.161 330.6)
XYZxyz(9.7331, 5.0268, 14.6421)
Luminance0.0503 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#71126C #127117
analogous
#461271 #71126C #71123C
triadic
#71126C #6C7112 #126C71
tetradic
#71126C #714612 #127117 #123C71
square
#71126C #714612 #127117 #123C71
split-complementary
#71126C #3C7112 #127146
monochromatic
#1A0419 #3C0A3A #71126C #A61A9E #DB23D1

Accessibility & contrast

On white

10.47
#71126C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#71126C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #71126C
10.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##71126C#FFFFFF#000000##FFFFFF
##71126C1.0010.472.0110.47
#FFFFFF10.471.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#03376E
Deuteranopia (green-blind)
#32446A
Tritanopia (blue-blind)
#762040
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #71126c;
/* rgb */ color: rgb(113, 18, 108);
/* oklch */ color: oklch(39.1% 0.161 330.6);
Tailwind
colors: {
  custom: {
    50: '#9d5e96',
    500: '#71126c',
    950: '#000000',
  },
}
SCSS
$custom: #71126c;
$custom-light: #9d5e96;
$custom-dark: #000000;
JSON
{
  "hex": "#71126c",
  "rgb": {
    "r": 113,
    "g": 18,
    "b": 108
  },
  "hsl": {
    "h": 303.158,
    "s": 72.519,
    "l": 25.686
  },
  "oklch": {
    "l": 0.39056,
    "c": 0.16123,
    "h": 330.6
  },
  "luminance": 0.05026
}

Semantic roles & 50–950 ramp

primary
#71126C
secondary
#37A83D
accent
#EF4239
background
#FAF5F9
surface
#F3EAF2
border
#CDC6CC
text
#0F050D
muted
#7F797E

Preview Lab

Preview with #71126C

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

Preview Lab → · Contrast checker → · Palette generator →

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