#711171#711171

#711171 is a dark, vivid purple. Relative luminance 0.051; OKLCH L 39.3% C 0.166 H 328.2°. Best body text is #FFFFFF at 10.39:1 contrast (WCAG AA passes).

Color values

HEX#711171
RGBrgb(113, 17, 113)
HSLhsl(300, 74%, 25%)
HSVhsv(300, 85%, 44%)
CMYKcmyk(0%, 85%, 0%, 55.7%)
CIE-LABlab(27.03, 50.49, -31.52)
CIE-LCHlch(27.03, 59.53, 328.03°)
OKLaboklab(39.31% 0.141 -0.0875)
OKLCHoklch(39.31% 0.166 328.2)
XYZxyz(9.9910, 5.1046, 16.0787)
Luminance0.0510 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#711171 #117111
analogous
#411171 #711171 #711141
triadic
#711171 #717111 #117171
tetradic
#711171 #714111 #117111 #114171
square
#711171 #714111 #117111 #114171
split-complementary
#711171 #417111 #117141
monochromatic
#1B041B #3C093C #711171 #A619A6 #DB21DB

Accessibility & contrast

On white

10.39
#711171 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#711171 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #711171
10.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##711171#FFFFFF#000000##FFFFFF
##7111711.0010.392.0210.39
#FFFFFF10.391.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003873
Deuteranopia (green-blind)
#2E446F
Tritanopia (blue-blind)
#752342
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #711171;
/* rgb */ color: rgb(113, 17, 113);
/* oklch */ color: oklch(39.3% 0.166 328.2);
Tailwind
colors: {
  custom: {
    50: '#9d5e9a',
    500: '#711171',
    950: '#000000',
  },
}
SCSS
$custom: #711171;
$custom-light: #9d5e9a;
$custom-dark: #000000;
JSON
{
  "hex": "#711171",
  "rgb": {
    "r": 113,
    "g": 17,
    "b": 113
  },
  "hsl": {
    "h": 300,
    "s": 73.846,
    "l": 25.49
  },
  "oklch": {
    "l": 0.39312,
    "c": 0.16595,
    "h": 328.2
  },
  "luminance": 0.05104
}

Semantic roles & 50–950 ramp

primary
#711171
secondary
#36A836
accent
#F13737
background
#FAF5F9
surface
#F3EAF2
border
#CDC6CC
text
#0F050E
muted
#7F797E

Preview Lab

Preview with #711171

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

Preview Lab → · Contrast checker → · Palette generator →

#711171 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva