#721871#721871

#721871 is a dark, vivid purple. Relative luminance 0.054; OKLCH L 40.0% C 0.160 H 328.6°. Best body text is #FFFFFF at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#721871
RGBrgb(114, 24, 113)
HSLhsl(301, 65%, 27%)
HSVhsv(301, 79%, 45%)
CMYKcmyk(0%, 78.9%, 0.9%, 55.3%)
CIE-LABlab(27.91, 48.70, -30.11)
CIE-LCHlch(27.91, 57.26, 328.27°)
OKLaboklab(39.97% 0.1364 -0.0834)
OKLCHoklch(39.97% 0.16 328.6)
XYZxyz(10.2466, 5.4237, 16.1268)
Luminance0.0542 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#721871 #187219
analogous
#461872 #721871 #721844
triadic
#721871 #717218 #187172
tetradic
#721871 #724618 #187219 #184472
square
#721871 #724618 #187219 #184472
split-complementary
#721871 #447218 #187246
monochromatic
#190519 #3F0D3F #721871 #A523A3 #D431D2

Accessibility & contrast

On white

10.07
#721871 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#721871 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #721871
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##721871#FFFFFF#000000##FFFFFF
##7218711.0010.072.0810.07
#FFFFFF10.071.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#053A73
Deuteranopia (green-blind)
#32466F
Tritanopia (blue-blind)
#762644
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #721871;
/* rgb */ color: rgb(114, 24, 113);
/* oklch */ color: oklch(40.0% 0.160 328.6);
Tailwind
colors: {
  custom: {
    50: '#9e609a',
    500: '#721871',
    950: '#000000',
  },
}
SCSS
$custom: #721871;
$custom-light: #9e609a;
$custom-dark: #000000;
JSON
{
  "hex": "#721871",
  "rgb": {
    "r": 114,
    "g": 24,
    "b": 113
  },
  "hsl": {
    "h": 300.667,
    "s": 65.217,
    "l": 27.059
  },
  "oklch": {
    "l": 0.39971,
    "c": 0.15992,
    "h": 328.6
  },
  "luminance": 0.05423
}

Semantic roles & 50–950 ramp

primary
#721871
secondary
#3EA740
accent
#E84140
background
#FAF6F9
surface
#F3EBF2
border
#CDC6CC
text
#0F050E
muted
#7F7A7E

Preview Lab

Preview with #721871

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

Preview Lab → · Contrast checker → · Palette generator →

#721871 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva