#721C8E#721C8E

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

Color values

HEX#721C8E
RGBrgb(114, 28, 142)
HSLhsl(285, 67%, 33%)
HSVhsv(285, 80%, 56%)
CMYKcmyk(19.7%, 80.3%, 0%, 44.3%)
CIE-LABlab(30.31, 52.87, -44.51)
CIE-LCHlch(30.31, 69.11, 319.91°)
OKLaboklab(42.29% 0.13 -0.1255)
OKLCHoklch(42.29% 0.181 316)
XYZxyz(12.2364, 6.3614, 26.1693)
Luminance0.0636 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#721C8E #388E1C
analogous
#391C8E #721C8E #8E1C71
triadic
#721C8E #8E721C #1C8E72
tetradic
#721C8E #8E391C #388E1C #1C718E
square
#721C8E #8E391C #388E1C #1C718E
split-complementary
#721C8E #718E1C #1C8E39
monochromatic
#200828 #49125B #721C8E #9B26C1 #B749DB

Accessibility & contrast

On white

9.24
#721C8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#721C8E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #721C8E
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##721C8E#FFFFFF#000000##FFFFFF
##721C8E1.009.242.279.24
#FFFFFF9.241.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004291
Deuteranopia (green-blind)
#1A4A8C
Tritanopia (blue-blind)
#703655
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #721c8e;
/* rgb */ color: rgb(114, 28, 142);
/* oklch */ color: oklch(42.3% 0.181 316.0);
Tailwind
colors: {
  custom: {
    50: '#9f63b0',
    500: '#721c8e',
    950: '#000000',
  },
}
SCSS
$custom: #721c8e;
$custom-light: #9f63b0;
$custom-dark: #000000;
JSON
{
  "hex": "#721c8e",
  "rgb": {
    "r": 114,
    "g": 28,
    "b": 142
  },
  "hsl": {
    "h": 285.263,
    "s": 67.059,
    "l": 33.333
  },
  "oklch": {
    "l": 0.4229,
    "c": 0.18072,
    "h": 316
  },
  "luminance": 0.06361
}

Semantic roles & 50–950 ramp

primary
#721C8E
secondary
#65BD49
accent
#EA3E68
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #721C8E

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

Preview Lab → · Contrast checker → · Palette generator →

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