#71126D#71126D

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

Color values

HEX#71126D
RGBrgb(113, 18, 109)
HSLhsl(303, 73%, 26%)
HSVhsv(303, 84%, 44%)
CMYKcmyk(0%, 84.1%, 3.5%, 55.7%)
CIE-LABlab(26.87, 49.56, -29.20)
CIE-LCHlch(26.87, 57.52, 329.49°)
OKLaboklab(39.12% 0.1404 -0.0808)
OKLCHoklch(39.12% 0.162 330.1)
XYZxyz(9.7866, 5.0482, 14.9240)
Luminance0.0505 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#71126D #127116
analogous
#451271 #71126D #71123D
triadic
#71126D #6D7112 #126D71
tetradic
#71126D #714512 #127116 #123D71
square
#71126D #714512 #127116 #123D71
split-complementary
#71126D #3D7112 #127145
monochromatic
#1A0419 #3C0A3A #71126D #A61AA0 #DB23D3

Accessibility & contrast

On white

10.45
#71126D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #71126D
10.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##71126D#FFFFFF#000000##FFFFFF
##71126D1.0010.452.0110.45
#FFFFFF10.451.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#01376F
Deuteranopia (green-blind)
#31446B
Tritanopia (blue-blind)
#762140
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #71126d;
/* rgb */ color: rgb(113, 18, 109);
/* oklch */ color: oklch(39.1% 0.162 330.1);
Tailwind
colors: {
  custom: {
    50: '#9d5e97',
    500: '#71126d',
    950: '#000000',
  },
}
SCSS
$custom: #71126d;
$custom-light: #9d5e97;
$custom-dark: #000000;
JSON
{
  "hex": "#71126d",
  "rgb": {
    "r": 113,
    "g": 18,
    "b": 109
  },
  "hsl": {
    "h": 302.526,
    "s": 72.519,
    "l": 25.686
  },
  "oklch": {
    "l": 0.39119,
    "c": 0.162,
    "h": 330.1
  },
  "luminance": 0.05047
}

Semantic roles & 50–950 ramp

primary
#71126D
secondary
#37A83C
accent
#EF4039
background
#FAF5F9
surface
#F3EAF2
border
#CDC6CC
text
#0F050D
muted
#7F797E

Preview Lab

Preview with #71126D

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

Preview Lab → · Contrast checker → · Palette generator →

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