#71177F#71177F

#71177F is a dark, vivid purple. Relative luminance 0.057; OKLCH L 40.7% C 0.172 H 321.7°. Best body text is #FFFFFF at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#71177F
RGBrgb(113, 23, 127)
HSLhsl(292, 69%, 29%)
HSVhsv(292, 82%, 50%)
CMYKcmyk(11%, 81.9%, 0%, 50.2%)
CIE-LABlab(28.53, 51.34, -38.02)
CIE-LCHlch(28.53, 63.88, 323.47°)
OKLaboklab(40.67% 0.1351 -0.1065)
OKLCHoklch(40.67% 0.172 321.7)
XYZxyz(10.9468, 5.6564, 20.5898)
Luminance0.0566 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#71177F #257F17
analogous
#3D177F #71177F #7F1759
triadic
#71177F #7F7117 #177F71
tetradic
#71177F #7F3D17 #257F17 #17597F
square
#71177F #7F3D17 #257F17 #17597F
split-complementary
#71177F #597F17 #177F3D
monochromatic
#17051A #430E4B #71177F #9F20B3 #C436DB

Accessibility & contrast

On white

9.85
#71177F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #71177F
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##71177F#FFFFFF#000000##FFFFFF
##71177F1.009.852.139.85
#FFFFFF9.851.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D82
Deuteranopia (green-blind)
#26467D
Tritanopia (blue-blind)
#722D4B
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #71177f;
/* rgb */ color: rgb(113, 23, 127);
/* oklch */ color: oklch(40.7% 0.172 321.7);
Tailwind
colors: {
  custom: {
    50: '#9d61a5',
    500: '#71177f',
    950: '#000000',
  },
}
SCSS
$custom: #71177f;
$custom-light: #9d61a5;
$custom-dark: #000000;
JSON
{
  "hex": "#71177f",
  "rgb": {
    "r": 113,
    "g": 23,
    "b": 127
  },
  "hsl": {
    "h": 291.923,
    "s": 69.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.40666,
    "c": 0.17207,
    "h": 321.7
  },
  "luminance": 0.05656
}

Semantic roles & 50–950 ramp

primary
#71177F
secondary
#4EB43E
accent
#EC3C53
background
#FAF6FA
surface
#F3EBF4
border
#CDC6CE
text
#0F050F
muted
#7F7A7F

Preview Lab

Preview with #71177F

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

Preview Lab → · Contrast checker → · Palette generator →

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