#721D8B#721D8B

#721D8B is a dark, vivid purple. Relative luminance 0.063; OKLCH L 42.2% C 0.177 H 317.1°. Best body text is #FFFFFF at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#721D8B
RGBrgb(114, 29, 139)
HSLhsl(286, 65%, 33%)
HSVhsv(286, 79%, 55%)
CMYKcmyk(18%, 79.1%, 0%, 45.5%)
CIE-LABlab(30.21, 51.93, -42.81)
CIE-LCHlch(30.21, 67.30, 320.50°)
OKLaboklab(42.15% 0.1296 -0.1206)
OKLCHoklch(42.15% 0.177 317.1)
XYZxyz(12.0383, 6.3207, 25.0070)
Luminance0.0632 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#721D8B #368B1D
analogous
#3B1D8B #721D8B #8B1D6D
triadic
#721D8B #8B721D #1D8B72
tetradic
#721D8B #8B3B1D #368B1D #1D6D8B
square
#721D8B #8B3B1D #368B1D #1D6D8B
split-complementary
#721D8B #6D8B1D #1D8B3B
monochromatic
#1F0826 #481258 #721D8B #9C28BE #B849D9

Accessibility & contrast

On white

9.28
#721D8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #721D8B
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##721D8B#FFFFFF#000000##FFFFFF
##721D8B1.009.282.269.28
#FFFFFF9.281.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00428E
Deuteranopia (green-blind)
#1F4A89
Tritanopia (blue-blind)
#713654
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #721d8b;
/* rgb */ color: rgb(114, 29, 139);
/* oklch */ color: oklch(42.2% 0.177 317.1);
Tailwind
colors: {
  custom: {
    50: '#9e64ad',
    500: '#721d8b',
    950: '#000000',
  },
}
SCSS
$custom: #721d8b;
$custom-light: #9e64ad;
$custom-dark: #000000;
JSON
{
  "hex": "#721d8b",
  "rgb": {
    "r": 114,
    "g": 29,
    "b": 139
  },
  "hsl": {
    "h": 286.364,
    "s": 65.476,
    "l": 32.941
  },
  "oklch": {
    "l": 0.42152,
    "c": 0.17703,
    "h": 317.1
  },
  "luminance": 0.0632
}

Semantic roles & 50–950 ramp

primary
#721D8B
secondary
#63BB49
accent
#E83F66
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #721D8B

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

Preview Lab → · Contrast checker → · Palette generator →

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