#721171#721171

#721171 is a dark, vivid purple. Relative luminance 0.052; OKLCH L 39.5% C 0.166 H 328.7°. Best body text is #FFFFFF at 10.32:1 contrast (WCAG AA passes).

Color values

HEX#721171
RGBrgb(114, 17, 113)
HSLhsl(301, 74%, 26%)
HSVhsv(301, 85%, 45%)
CMYKcmyk(0%, 85.1%, 0.9%, 55.3%)
CIE-LABlab(27.22, 50.70, -31.21)
CIE-LCHlch(27.22, 59.54, 328.38°)
OKLaboklab(39.48% 0.1421 -0.0866)
OKLCHoklch(39.48% 0.166 328.7)
XYZxyz(10.1204, 5.1713, 16.0847)
Luminance0.0517 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#721171 #117212
analogous
#431172 #721171 #721140
triadic
#721171 #717211 #117172
tetradic
#721171 #724311 #117212 #114072
square
#721171 #724311 #117212 #114072
split-complementary
#721171 #407211 #117243
monochromatic
#1B041A #3D093C #721171 #A719A6 #DD21DB

Accessibility & contrast

On white

10.32
#721171 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #721171
10.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##721171#FFFFFF#000000##FFFFFF
##7211711.0010.322.0310.32
#FFFFFF10.321.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003873
Deuteranopia (green-blind)
#30456F
Tritanopia (blue-blind)
#762242
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #721171;
/* rgb */ color: rgb(114, 17, 113);
/* oklch */ color: oklch(39.5% 0.166 328.7);
Tailwind
colors: {
  custom: {
    50: '#9e5e9a',
    500: '#721171',
    950: '#000000',
  },
}
SCSS
$custom: #721171;
$custom-light: #9e5e9a;
$custom-dark: #000000;
JSON
{
  "hex": "#721171",
  "rgb": {
    "r": 114,
    "g": 17,
    "b": 113
  },
  "hsl": {
    "h": 300.619,
    "s": 74.046,
    "l": 25.686
  },
  "oklch": {
    "l": 0.39479,
    "c": 0.16641,
    "h": 328.7
  },
  "luminance": 0.05171
}

Semantic roles & 50–950 ramp

primary
#721171
secondary
#36A937
accent
#F13937
background
#FAF5F9
surface
#F3EAF2
border
#CDC6CC
text
#0F050E
muted
#7F797E

Preview Lab

Preview with #721171

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

Preview Lab → · Contrast checker → · Palette generator →

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