#721878#721878

#721878 is a dark, vivid purple. Relative luminance 0.056; OKLCH L 40.4% C 0.166 H 325.3°. Best body text is #FFFFFF at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#721878
RGBrgb(114, 24, 120)
HSLhsl(296, 67%, 28%)
HSVhsv(296, 80%, 47%)
CMYKcmyk(5%, 80%, 0%, 52.9%)
CIE-LABlab(28.35, 49.94, -33.88)
CIE-LCHlch(28.35, 60.35, 325.85°)
OKLaboklab(40.42% 0.1362 -0.0944)
OKLCHoklch(40.42% 0.166 325.3)
XYZxyz(10.6560, 5.5875, 18.2829)
Luminance0.0559 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#721878 #1E7818
analogous
#421878 #721878 #78184E
triadic
#721878 #787218 #187872
tetradic
#721878 #784218 #1E7818 #184E78
square
#721878 #784218 #1E7818 #184E78
split-complementary
#721878 #4E7818 #187842
monochromatic
#18051A #420E45 #721878 #A222AB #CC34D6

Accessibility & contrast

On white

9.92
#721878 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#721878 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #721878
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##721878#FFFFFF#000000##FFFFFF
##7218781.009.922.129.92
#FFFFFF9.921.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C7B
Deuteranopia (green-blind)
#2E4776
Tritanopia (blue-blind)
#752A48
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #721878;
/* rgb */ color: rgb(114, 24, 120);
/* oklch */ color: oklch(40.4% 0.166 325.3);
Tailwind
colors: {
  custom: {
    50: '#9e619f',
    500: '#721878',
    950: '#000000',
  },
}
SCSS
$custom: #721878;
$custom-light: #9e619f;
$custom-dark: #000000;
JSON
{
  "hex": "#721878",
  "rgb": {
    "r": 114,
    "g": 24,
    "b": 120
  },
  "hsl": {
    "h": 296.25,
    "s": 66.667,
    "l": 28.235
  },
  "oklch": {
    "l": 0.40423,
    "c": 0.16567,
    "h": 325.3
  },
  "luminance": 0.05587
}

Semantic roles & 50–950 ramp

primary
#721878
secondary
#46AD3F
accent
#EA3E49
background
#FAF6F9
surface
#F3EBF2
border
#CDC6CC
text
#0F050E
muted
#7F7A7E

Preview Lab

Preview with #721878

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

Preview Lab → · Contrast checker → · Palette generator →

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