#71126B#71126B

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

Color values

HEX#71126B
RGBrgb(113, 18, 107)
HSLhsl(304, 73%, 26%)
HSVhsv(304, 84%, 44%)
CMYKcmyk(0%, 84.1%, 5.3%, 55.7%)
CIE-LABlab(26.75, 49.23, -28.10)
CIE-LCHlch(26.75, 56.68, 330.28°)
OKLaboklab(38.99% 0.1405 -0.0776)
OKLCHoklch(38.99% 0.16 331.1)
XYZxyz(9.6802, 5.0057, 14.3634)
Luminance0.0500 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#71126B #127118
analogous
#471271 #71126B #71123C
triadic
#71126B #6B7112 #126B71
tetradic
#71126B #714712 #127118 #123C71
square
#71126B #714712 #127118 #123C71
split-complementary
#71126B #3C7112 #127147
monochromatic
#1A0419 #3C0A39 #71126B #A61A9D #DB23CF

Accessibility & contrast

On white

10.49
#71126B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #71126B
10.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##71126B#FFFFFF#000000##FFFFFF
##71126B1.0010.492.0010.49
#FFFFFF10.491.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#05376D
Deuteranopia (green-blind)
#324469
Tritanopia (blue-blind)
#76203F
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #71126b;
/* rgb */ color: rgb(113, 18, 107);
/* oklch */ color: oklch(39.0% 0.160 331.1);
Tailwind
colors: {
  custom: {
    50: '#9d5e96',
    500: '#71126b',
    950: '#000000',
  },
}
SCSS
$custom: #71126b;
$custom-light: #9d5e96;
$custom-dark: #000000;
JSON
{
  "hex": "#71126b",
  "rgb": {
    "r": 113,
    "g": 18,
    "b": 107
  },
  "hsl": {
    "h": 303.789,
    "s": 72.519,
    "l": 25.686
  },
  "oklch": {
    "l": 0.38994,
    "c": 0.16046,
    "h": 331.1
  },
  "luminance": 0.05005
}

Semantic roles & 50–950 ramp

primary
#71126B
secondary
#37A83E
accent
#EF4439
background
#FAF5F9
surface
#F3EAF2
border
#CDC6CC
text
#0F050D
muted
#7F797E

Preview Lab

Preview with #71126B

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

Preview Lab → · Contrast checker → · Palette generator →

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