#721B8B#721B8B

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

Color values

HEX#721B8B
RGBrgb(114, 27, 139)
HSLhsl(287, 67%, 33%)
HSVhsv(287, 81%, 55%)
CMYKcmyk(18%, 80.6%, 0%, 45.5%)
CIE-LABlab(29.98, 52.60, -43.19)
CIE-LCHlch(29.98, 68.06, 320.61°)
OKLaboklab(41.99% 0.1313 -0.1217)
OKLCHoklch(41.99% 0.179 317.2)
XYZxyz(11.9909, 6.2259, 24.9912)
Luminance0.0622 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#721B8B #348B1B
analogous
#3A1B8B #721B8B #8B1B6C
triadic
#721B8B #8B721B #1B8B72
tetradic
#721B8B #8B3A1B #348B1B #1B6C8B
square
#721B8B #8B3A1B #348B1B #1B6C8B
split-complementary
#721B8B #6C8B1B #1B8B3A
monochromatic
#1E0725 #481158 #721B8B #9C25BE #BA45DB

Accessibility & contrast

On white

9.35
#721B8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #721B8B
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##721B8B#FFFFFF#000000##FFFFFF
##721B8B1.009.352.259.35
#FFFFFF9.351.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.351.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #721b8b;
/* rgb */ color: rgb(114, 27, 139);
/* oklch */ color: oklch(42.0% 0.179 317.2);
Tailwind
colors: {
  custom: {
    50: '#9e63ad',
    500: '#721b8b',
    950: '#000000',
  },
}
SCSS
$custom: #721b8b;
$custom-light: #9e63ad;
$custom-dark: #000000;
JSON
{
  "hex": "#721b8b",
  "rgb": {
    "r": 114,
    "g": 27,
    "b": 139
  },
  "hsl": {
    "h": 286.607,
    "s": 67.47,
    "l": 32.549
  },
  "oklch": {
    "l": 0.41988,
    "c": 0.17903,
    "h": 317.2
  },
  "luminance": 0.06225
}

Semantic roles & 50–950 ramp

primary
#721B8B
secondary
#60BC45
accent
#EA3D64
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #721B8B

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

Preview Lab → · Contrast checker → · Palette generator →

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