#721D8D#721D8D

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

Color values

HEX#721D8D
RGBrgb(114, 29, 141)
HSLhsl(286, 66%, 33%)
HSVhsv(286, 79%, 55%)
CMYKcmyk(19.1%, 79.4%, 0%, 44.7%)
CIE-LABlab(30.35, 52.33, -43.82)
CIE-LCHlch(30.35, 68.26, 320.06°)
OKLaboklab(42.3% 0.1293 -0.1235)
OKLCHoklch(42.3% 0.179 316.3)
XYZxyz(12.1858, 6.3797, 25.7837)
Luminance0.0638 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#721D8D #388D1D
analogous
#3A1D8D #721D8D #8D1D70
triadic
#721D8D #8D721D #1D8D72
tetradic
#721D8D #8D3A1D #388D1D #1D708D
square
#721D8D #8D3A1D #388D1D #1D708D
split-complementary
#721D8D #708D1D #1D8D3A
monochromatic
#200827 #49135A #721D8D #9B27C0 #B74BDA

Accessibility & contrast

On white

9.23
#721D8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #721D8D
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##721D8D#FFFFFF#000000##FFFFFF
##721D8D1.009.232.289.23
#FFFFFF9.231.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004390
Deuteranopia (green-blind)
#1C4A8B
Tritanopia (blue-blind)
#703755
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #721d8d;
/* rgb */ color: rgb(114, 29, 141);
/* oklch */ color: oklch(42.3% 0.179 316.3);
Tailwind
colors: {
  custom: {
    50: '#9e64af',
    500: '#721d8d',
    950: '#000000',
  },
}
SCSS
$custom: #721d8d;
$custom-light: #9e64af;
$custom-dark: #000000;
JSON
{
  "hex": "#721d8d",
  "rgb": {
    "r": 114,
    "g": 29,
    "b": 141
  },
  "hsl": {
    "h": 285.536,
    "s": 65.882,
    "l": 33.333
  },
  "oklch": {
    "l": 0.42298,
    "c": 0.17882,
    "h": 316.3
  },
  "luminance": 0.06379
}

Semantic roles & 50–950 ramp

primary
#721D8D
secondary
#65BC4A
accent
#E93F68
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #721D8D

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

Preview Lab → · Contrast checker → · Palette generator →

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