#72187E#72187E

#72187E is a dark, vivid purple. Relative luminance 0.057; OKLCH L 40.8% C 0.171 H 322.6°. Best body text is #FFFFFF at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#72187E
RGBrgb(114, 24, 126)
HSLhsl(293, 68%, 29%)
HSVhsv(293, 81%, 49%)
CMYKcmyk(9.5%, 81%, 0%, 50.6%)
CIE-LABlab(28.74, 51.05, -37.04)
CIE-LCHlch(28.74, 63.07, 324.03°)
OKLaboklab(40.83% 0.1356 -0.1036)
OKLCHoklch(40.83% 0.171 322.6)
XYZxyz(11.0316, 5.7377, 20.2610)
Luminance0.0574 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#72187E #247E18
analogous
#3F187E #72187E #7E1857
triadic
#72187E #7E7218 #187E72
tetradic
#72187E #7E3F18 #247E18 #18577E
square
#72187E #7E3F18 #247E18 #18577E
split-complementary
#72187E #577E18 #187E3F
monochromatic
#17051A #430E4B #72187E #A122B1 #C637D9

Accessibility & contrast

On white

9.78
#72187E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#72187E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #72187E
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##72187E#FFFFFF#000000##FFFFFF
##72187E1.009.782.159.78
#FFFFFF9.781.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D81
Deuteranopia (green-blind)
#29477C
Tritanopia (blue-blind)
#742D4B
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #72187e;
/* rgb */ color: rgb(114, 24, 126);
/* oklch */ color: oklch(40.8% 0.171 322.6);
Tailwind
colors: {
  custom: {
    50: '#9e61a4',
    500: '#72187e',
    950: '#000000',
  },
}
SCSS
$custom: #72187e;
$custom-light: #9e61a4;
$custom-dark: #000000;
JSON
{
  "hex": "#72187e",
  "rgb": {
    "r": 114,
    "g": 24,
    "b": 126
  },
  "hsl": {
    "h": 292.941,
    "s": 68,
    "l": 29.412
  },
  "oklch": {
    "l": 0.40829,
    "c": 0.17069,
    "h": 322.6
  },
  "luminance": 0.05737
}

Semantic roles & 50–950 ramp

primary
#72187E
secondary
#4DB23F
accent
#EB3D51
background
#FAF6FA
surface
#F3EBF4
border
#CDC6CE
text
#0F050F
muted
#7F7A7F

Preview Lab

Preview with #72187E

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

Preview Lab → · Contrast checker → · Palette generator →

#72187E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva