#721C8A#721C8A

#721C8A is a dark, vivid purple. Relative luminance 0.062; OKLCH L 42.0% C 0.177 H 317.5°. Best body text is #FFFFFF at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#721C8A
RGBrgb(114, 28, 138)
HSLhsl(287, 66%, 33%)
HSVhsv(287, 80%, 54%)
CMYKcmyk(17.4%, 79.7%, 0%, 45.9%)
CIE-LABlab(30.02, 52.07, -42.50)
CIE-LCHlch(30.02, 67.21, 320.78°)
OKLaboklab(42% 0.1306 -0.1196)
OKLCHoklch(42% 0.177 317.5)
XYZxyz(11.9415, 6.2434, 24.6159)
Luminance0.0624 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#721C8A #348A1C
analogous
#3B1C8A #721C8A #8A1C6B
triadic
#721C8A #8A721C #1C8A72
tetradic
#721C8A #8A3B1C #348A1C #1C6B8A
square
#721C8A #8A3B1C #348A1C #1C6B8A
split-complementary
#721C8A #6B8A1C #1C8A3B
monochromatic
#1E0724 #481257 #721C8A #9C26BD #BA47DA

Accessibility & contrast

On white

9.34
#721C8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#721C8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #721C8A
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##721C8A#FFFFFF#000000##FFFFFF
##721C8A1.009.342.259.34
#FFFFFF9.341.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00418D
Deuteranopia (green-blind)
#1F4988
Tritanopia (blue-blind)
#713553
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #721c8a;
/* rgb */ color: rgb(114, 28, 138);
/* oklch */ color: oklch(42.0% 0.177 317.5);
Tailwind
colors: {
  custom: {
    50: '#9e63ad',
    500: '#721c8a',
    950: '#000000',
  },
}
SCSS
$custom: #721c8a;
$custom-light: #9e63ad;
$custom-dark: #000000;
JSON
{
  "hex": "#721c8a",
  "rgb": {
    "r": 114,
    "g": 28,
    "b": 138
  },
  "hsl": {
    "h": 286.909,
    "s": 66.265,
    "l": 32.549
  },
  "oklch": {
    "l": 0.41995,
    "c": 0.17715,
    "h": 317.5
  },
  "luminance": 0.06243
}

Semantic roles & 50–950 ramp

primary
#721C8A
secondary
#60BB46
accent
#E93F64
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #721C8A

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

Preview Lab → · Contrast checker → · Palette generator →

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