#71177E#71177E

#71177E is a dark, vivid purple. Relative luminance 0.056; OKLCH L 40.6% C 0.171 H 322.2°. Best body text is #FFFFFF at 9.88:1 contrast (WCAG AA passes).

Color values

HEX#71177E
RGBrgb(113, 23, 126)
HSLhsl(292, 69%, 29%)
HSVhsv(292, 82%, 49%)
CMYKcmyk(10.3%, 81.7%, 0%, 50.6%)
CIE-LABlab(28.46, 51.15, -37.50)
CIE-LCHlch(28.46, 63.42, 323.75°)
OKLaboklab(40.6% 0.1352 -0.105)
OKLCHoklch(40.6% 0.171 322.2)
XYZxyz(10.8820, 5.6305, 20.2482)
Luminance0.0563 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#71177E #247E17
analogous
#3E177E #71177E #7E1758
triadic
#71177E #7E7117 #177E71
tetradic
#71177E #7E3E17 #247E17 #17587E
square
#71177E #7E3E17 #247E17 #17587E
split-complementary
#71177E #587E17 #177E3E
monochromatic
#17051A #430E4A #71177E #9F20B2 #C535DA

Accessibility & contrast

On white

9.88
#71177E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#71177E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #71177E
9.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##71177E#FFFFFF#000000##FFFFFF
##71177E1.009.882.139.88
#FFFFFF9.881.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D81
Deuteranopia (green-blind)
#27467C
Tritanopia (blue-blind)
#722D4B
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #71177e;
/* rgb */ color: rgb(113, 23, 126);
/* oklch */ color: oklch(40.6% 0.171 322.2);
Tailwind
colors: {
  custom: {
    50: '#9d61a4',
    500: '#71177e',
    950: '#000000',
  },
}
SCSS
$custom: #71177e;
$custom-light: #9d61a4;
$custom-dark: #000000;
JSON
{
  "hex": "#71177e",
  "rgb": {
    "r": 113,
    "g": 23,
    "b": 126
  },
  "hsl": {
    "h": 292.427,
    "s": 69.128,
    "l": 29.216
  },
  "oklch": {
    "l": 0.40596,
    "c": 0.17122,
    "h": 322.2
  },
  "luminance": 0.0563
}

Semantic roles & 50–950 ramp

primary
#71177E
secondary
#4DB33E
accent
#EC3C52
background
#FAF6FA
surface
#F3EBF4
border
#CDC6CE
text
#0F050F
muted
#7F7A7F

Preview Lab

Preview with #71177E

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

Preview Lab → · Contrast checker → · Palette generator →

#71177E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva