#721F87#721F87

#721F87 is a dark, vivid purple. Relative luminance 0.063; OKLCH L 42.0% C 0.171 H 318.5°. Best body text is #FFFFFF at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#721F87
RGBrgb(114, 31, 135)
HSLhsl(288, 63%, 33%)
HSVhsv(288, 77%, 53%)
CMYKcmyk(15.6%, 77%, 0%, 47.1%)
CIE-LABlab(30.17, 50.42, -40.38)
CIE-LCHlch(30.17, 64.59, 321.31°)
OKLaboklab(42.04% 0.1283 -0.1134)
OKLCHoklch(42.04% 0.171 318.5)
XYZxyz(11.8020, 6.3072, 23.5127)
Luminance0.0631 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#721F87 #34871F
analogous
#3E1F87 #721F87 #871F68
triadic
#721F87 #87721F #1F8772
tetradic
#721F87 #873E1F #34871F #1F6887
square
#721F87 #873E1F #34871F #1F6887
split-complementary
#721F87 #68871F #1F873E
monochromatic
#1E0823 #481455 #721F87 #9C2AB9 #BA4BD6

Accessibility & contrast

On white

9.29
#721F87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#721F87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #721F87
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##721F87#FFFFFF#000000##FFFFFF
##721F871.009.292.269.29
#FFFFFF9.291.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00428A
Deuteranopia (green-blind)
#254A85
Tritanopia (blue-blind)
#723552
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #721f87;
/* rgb */ color: rgb(114, 31, 135);
/* oklch */ color: oklch(42.0% 0.171 318.5);
Tailwind
colors: {
  custom: {
    50: '#9e64aa',
    500: '#721f87',
    950: '#000000',
  },
}
SCSS
$custom: #721f87;
$custom-light: #9e64aa;
$custom-dark: #000000;
JSON
{
  "hex": "#721f87",
  "rgb": {
    "r": 114,
    "g": 31,
    "b": 135
  },
  "hsl": {
    "h": 287.885,
    "s": 62.651,
    "l": 32.549
  },
  "oklch": {
    "l": 0.42039,
    "c": 0.17129,
    "h": 318.5
  },
  "luminance": 0.06307
}

Semantic roles & 50–950 ramp

primary
#721F87
secondary
#60B84A
accent
#E64263
background
#FAF6FA
surface
#F3EBF4
border
#CDC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #721F87

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

Preview Lab → · Contrast checker → · Palette generator →

#721F87 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva