#721F8A#721F8A

#721F8A is a dark, vivid purple. Relative luminance 0.064; OKLCH L 42.3% C 0.174 H 317.3°. Best body text is #FFFFFF at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#721F8A
RGBrgb(114, 31, 138)
HSLhsl(287, 63%, 33%)
HSVhsv(287, 78%, 54%)
CMYKcmyk(17.4%, 77.5%, 0%, 45.9%)
CIE-LABlab(30.38, 51.02, -41.91)
CIE-LCHlch(30.38, 66.03, 320.60°)
OKLaboklab(42.25% 0.128 -0.1179)
OKLCHoklch(42.25% 0.174 317.3)
XYZxyz(12.0162, 6.3929, 24.6408)
Luminance0.0639 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#721F8A #378A1F
analogous
#3C1F8A #721F8A #8A1F6C
triadic
#721F8A #8A721F #1F8A72
tetradic
#721F8A #8A3C1F #378A1F #1F6C8A
square
#721F8A #8A3C1F #378A1F #1F6C8A
split-complementary
#721F8A #6C8A1F #1F8A3C
monochromatic
#1F0926 #491458 #721F8A #9B2ABC #B84CD7

Accessibility & contrast

On white

9.22
#721F8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#721F8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #721F8A
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##721F8A#FFFFFF#000000##FFFFFF
##721F8A1.009.222.289.22
#FFFFFF9.221.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00428D
Deuteranopia (green-blind)
#224A88
Tritanopia (blue-blind)
#713653
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #721f8a;
/* rgb */ color: rgb(114, 31, 138);
/* oklch */ color: oklch(42.3% 0.174 317.3);
Tailwind
colors: {
  custom: {
    50: '#9e64ad',
    500: '#721f8a',
    950: '#000000',
  },
}
SCSS
$custom: #721f8a;
$custom-light: #9e64ad;
$custom-dark: #000000;
JSON
{
  "hex": "#721f8a",
  "rgb": {
    "r": 114,
    "g": 31,
    "b": 138
  },
  "hsl": {
    "h": 286.542,
    "s": 63.314,
    "l": 33.137
  },
  "oklch": {
    "l": 0.42253,
    "c": 0.17401,
    "h": 317.3
  },
  "luminance": 0.06392
}

Semantic roles & 50–950 ramp

primary
#721F8A
secondary
#64BA4B
accent
#E64166
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #721F8A

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

Preview Lab → · Contrast checker → · Palette generator →

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