#71126F#71126F

#71126F is a dark, vivid purple. Relative luminance 0.051; OKLCH L 39.2% C 0.164 H 329.1°. Best body text is #FFFFFF at 10.41:1 contrast (WCAG AA passes).

Color values

HEX#71126F
RGBrgb(113, 18, 111)
HSLhsl(301, 73%, 26%)
HSVhsv(301, 84%, 44%)
CMYKcmyk(0%, 84.1%, 1.8%, 55.7%)
CIE-LABlab(26.99, 49.90, -30.29)
CIE-LCHlch(26.99, 58.37, 328.74°)
OKLaboklab(39.25% 0.1404 -0.0839)
OKLCHoklch(39.25% 0.164 329.1)
XYZxyz(9.8955, 5.0918, 15.4975)
Luminance0.0509 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#71126F #127114
analogous
#431271 #71126F #71123F
triadic
#71126F #6F7112 #126F71
tetradic
#71126F #714312 #127114 #123F71
square
#71126F #714312 #127114 #123F71
split-complementary
#71126F #3F7112 #127143
monochromatic
#1A041A #3C0A3B #71126F #A61AA3 #DB23D7

Accessibility & contrast

On white

10.41
#71126F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#71126F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #71126F
10.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##71126F#FFFFFF#000000##FFFFFF
##71126F1.0010.412.0210.41
#FFFFFF10.411.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003871
Deuteranopia (green-blind)
#30446D
Tritanopia (blue-blind)
#752241
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #71126f;
/* rgb */ color: rgb(113, 18, 111);
/* oklch */ color: oklch(39.2% 0.164 329.1);
Tailwind
colors: {
  custom: {
    50: '#9d5e99',
    500: '#71126f',
    950: '#000000',
  },
}
SCSS
$custom: #71126f;
$custom-light: #9d5e99;
$custom-dark: #000000;
JSON
{
  "hex": "#71126f",
  "rgb": {
    "r": 113,
    "g": 18,
    "b": 111
  },
  "hsl": {
    "h": 301.263,
    "s": 72.519,
    "l": 25.686
  },
  "oklch": {
    "l": 0.39246,
    "c": 0.16355,
    "h": 329.1
  },
  "luminance": 0.05091
}

Semantic roles & 50–950 ramp

primary
#71126F
secondary
#37A839
accent
#EF3C39
background
#FAF5F9
surface
#F3EAF2
border
#CDC6CC
text
#0F050E
muted
#7F797E

Preview Lab

Preview with #71126F

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

Preview Lab → · Contrast checker → · Palette generator →

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