#721271#721271

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

Color values

HEX#721271
RGBrgb(114, 18, 113)
HSLhsl(301, 73%, 26%)
HSVhsv(301, 84%, 45%)
CMYKcmyk(0%, 84.2%, 0.9%, 55.3%)
CIE-LABlab(27.31, 50.45, -31.07)
CIE-LCHlch(27.31, 59.25, 328.37°)
OKLaboklab(39.54% 0.1414 -0.0862)
OKLCHoklch(39.54% 0.166 328.6)
XYZxyz(10.1363, 5.2031, 16.0900)
Luminance0.0520 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#721271 #127213
analogous
#431272 #721271 #721241
triadic
#721271 #717212 #127172
tetradic
#721271 #724312 #127213 #124172
square
#721271 #724312 #127213 #124172
split-complementary
#721271 #417212 #127243
monochromatic
#1A041A #3D0A3D #721271 #A71AA5 #DC23DA

Accessibility & contrast

On white

10.29
#721271 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #721271
10.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##721271#FFFFFF#000000##FFFFFF
##7212711.0010.292.0410.29
#FFFFFF10.291.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.291.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #721271;
/* rgb */ color: rgb(114, 18, 113);
/* oklch */ color: oklch(39.5% 0.166 328.6);
Tailwind
colors: {
  custom: {
    50: '#9e5e9a',
    500: '#721271',
    950: '#000000',
  },
}
SCSS
$custom: #721271;
$custom-light: #9e5e9a;
$custom-dark: #000000;
JSON
{
  "hex": "#721271",
  "rgb": {
    "r": 114,
    "g": 18,
    "b": 113
  },
  "hsl": {
    "h": 300.625,
    "s": 72.727,
    "l": 25.882
  },
  "oklch": {
    "l": 0.39542,
    "c": 0.16559,
    "h": 328.6
  },
  "luminance": 0.05202
}

Semantic roles & 50–950 ramp

primary
#721271
secondary
#37A938
accent
#EF3A38
background
#FAF5F9
surface
#F3EAF2
border
#CDC6CC
text
#0F050E
muted
#7F797E

Preview Lab

Preview with #721271

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

Preview Lab → · Contrast checker → · Palette generator →

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