#711172#711172

#711172 is a dark, vivid purple. Relative luminance 0.051; OKLCH L 39.4% C 0.167 H 327.7°. Best body text is #FFFFFF at 10.37:1 contrast (WCAG AA passes).

Color values

HEX#711172
RGBrgb(113, 17, 114)
HSLhsl(299, 74%, 26%)
HSVhsv(299, 85%, 45%)
CMYKcmyk(0.9%, 85.1%, 0%, 55.3%)
CIE-LABlab(27.09, 50.66, -32.06)
CIE-LCHlch(27.09, 59.96, 327.67°)
OKLaboklab(39.38% 0.141 -0.0891)
OKLCHoklch(39.38% 0.167 327.7)
XYZxyz(10.0476, 5.1273, 16.3768)
Luminance0.0513 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#711172 #127211
analogous
#401172 #711172 #721143
triadic
#711172 #727111 #117271
tetradic
#711172 #724011 #127211 #114372
square
#711172 #724011 #127211 #114372
split-complementary
#711172 #437211 #117240
monochromatic
#1A041B #3C093D #711172 #A619A7 #DB21DD

Accessibility & contrast

On white

10.37
#711172 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#711172 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #711172
10.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##711172#FFFFFF#000000##FFFFFF
##7111721.0010.372.0310.37
#FFFFFF10.371.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003874
Deuteranopia (green-blind)
#2E4470
Tritanopia (blue-blind)
#752343
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #711172;
/* rgb */ color: rgb(113, 17, 114);
/* oklch */ color: oklch(39.4% 0.167 327.7);
Tailwind
colors: {
  custom: {
    50: '#9d5e9b',
    500: '#711172',
    950: '#000000',
  },
}
SCSS
$custom: #711172;
$custom-light: #9d5e9b;
$custom-dark: #000000;
JSON
{
  "hex": "#711172",
  "rgb": {
    "r": 113,
    "g": 17,
    "b": 114
  },
  "hsl": {
    "h": 299.381,
    "s": 74.046,
    "l": 25.686
  },
  "oklch": {
    "l": 0.39377,
    "c": 0.16673,
    "h": 327.7
  },
  "luminance": 0.05127
}

Semantic roles & 50–950 ramp

primary
#711172
secondary
#37A936
accent
#F13739
background
#FAF5F9
surface
#F3EAF2
border
#CDC6CC
text
#0F050E
muted
#7F797E

Preview Lab

Preview with #711172

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

Preview Lab → · Contrast checker → · Palette generator →

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