#721172#721172

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

Color values

HEX#721172
RGBrgb(114, 17, 114)
HSLhsl(300, 74%, 26%)
HSVhsv(300, 85%, 45%)
CMYKcmyk(0%, 85.1%, 0%, 55.3%)
CIE-LABlab(27.28, 50.87, -31.75)
CIE-LCHlch(27.28, 59.97, 328.03°)
OKLaboklab(39.54% 0.1421 -0.0882)
OKLCHoklch(39.54% 0.167 328.2)
XYZxyz(10.1770, 5.1940, 16.3829)
Luminance0.0519 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#721172 #117211
analogous
#411172 #721172 #721141
triadic
#721172 #727211 #117272
tetradic
#721172 #724111 #117211 #114172
square
#721172 #724111 #117211 #114172
split-complementary
#721172 #417211 #117241
monochromatic
#1B041B #3D093D #721172 #A719A7 #DD21DD

Accessibility & contrast

On white

10.30
#721172 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#721172 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #721172
10.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##721172#FFFFFF#000000##FFFFFF
##7211721.0010.302.0410.30
#FFFFFF10.301.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003974
Deuteranopia (green-blind)
#2F4570
Tritanopia (blue-blind)
#762343
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #721172;
/* rgb */ color: rgb(114, 17, 114);
/* oklch */ color: oklch(39.5% 0.167 328.2);
Tailwind
colors: {
  custom: {
    50: '#9e5e9b',
    500: '#721172',
    950: '#000000',
  },
}
SCSS
$custom: #721172;
$custom-light: #9e5e9b;
$custom-dark: #000000;
JSON
{
  "hex": "#721172",
  "rgb": {
    "r": 114,
    "g": 17,
    "b": 114
  },
  "hsl": {
    "h": 300,
    "s": 74.046,
    "l": 25.686
  },
  "oklch": {
    "l": 0.39544,
    "c": 0.1672,
    "h": 328.2
  },
  "luminance": 0.05193
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #721172

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

Preview Lab → · Contrast checker → · Palette generator →

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