#722871#722871

#722871 is a dark, vivid purple. Relative luminance 0.063; OKLCH L 41.6% C 0.140 H 328.3°. Best body text is #FFFFFF at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#722871
RGBrgb(114, 40, 113)
HSLhsl(301, 48%, 30%)
HSVhsv(301, 65%, 45%)
CMYKcmyk(0%, 64.9%, 0.9%, 55.3%)
CIE-LABlab(30.13, 42.44, -26.60)
CIE-LCHlch(30.13, 50.09, 327.92°)
OKLaboklab(41.57% 0.1187 -0.0734)
OKLCHoklch(41.57% 0.14 328.3)
XYZxyz(10.6787, 6.2880, 16.2708)
Luminance0.0629 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#722871 #287229
analogous
#4E2872 #722871 #72284C
triadic
#722871 #717228 #287172
tetradic
#722871 #724E28 #287229 #284C72
square
#722871 #724E28 #287229 #284C72
split-complementary
#722871 #4C7228 #28724E
monochromatic
#170817 #451844 #722871 #9F389E #C252C1

Accessibility & contrast

On white

9.30
#722871 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#722871 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #722871
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##722871#FFFFFF#000000##FFFFFF
##7228711.009.302.269.30
#FFFFFF9.301.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204173
Deuteranopia (green-blind)
#3A4A6F
Tritanopia (blue-blind)
#763148
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #722871;
/* rgb */ color: rgb(114, 40, 113);
/* oklch */ color: oklch(41.6% 0.140 328.3);
Tailwind
colors: {
  custom: {
    50: '#9d689a',
    500: '#722871',
    950: '#000000',
  },
}
SCSS
$custom: #722871;
$custom-light: #9d689a;
$custom-dark: #000000;
JSON
{
  "hex": "#722871",
  "rgb": {
    "r": 114,
    "g": 40,
    "b": 113
  },
  "hsl": {
    "h": 300.811,
    "s": 48.052,
    "l": 30.196
  },
  "oklch": {
    "l": 0.41568,
    "c": 0.13952,
    "h": 328.3
  },
  "luminance": 0.06287
}

Semantic roles & 50–950 ramp

primary
#722871
secondary
#52A453
accent
#D85250
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0F060E
muted
#7E7A7E

Preview Lab

Preview with #722871

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

Preview Lab → · Contrast checker → · Palette generator →

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