#72187F#72187F

#72187F is a dark, vivid purple. Relative luminance 0.058; OKLCH L 40.9% C 0.172 H 322.2°. Best body text is #FFFFFF at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#72187F
RGBrgb(114, 24, 127)
HSLhsl(292, 68%, 30%)
HSVhsv(292, 81%, 50%)
CMYKcmyk(10.2%, 81.1%, 0%, 50.2%)
CIE-LABlab(28.81, 51.23, -37.56)
CIE-LCHlch(28.81, 63.53, 323.75°)
OKLaboklab(40.9% 0.1355 -0.1052)
OKLCHoklch(40.9% 0.172 322.2)
XYZxyz(11.0964, 5.7636, 20.6026)
Luminance0.0576 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#72187F #257F18
analogous
#3E187F #72187F #7F1859
triadic
#72187F #7F7218 #187F72
tetradic
#72187F #7F3E18 #257F18 #18597F
square
#72187F #7F3E18 #257F18 #18597F
split-complementary
#72187F #597F18 #187F3E
monochromatic
#17051A #440E4C #72187F #A022B2 #C538D9

Accessibility & contrast

On white

9.76
#72187F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #72187F
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##72187F#FFFFFF#000000##FFFFFF
##72187F1.009.762.159.76
#FFFFFF9.761.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E82
Deuteranopia (green-blind)
#28477D
Tritanopia (blue-blind)
#732D4C
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #72187f;
/* rgb */ color: rgb(114, 24, 127);
/* oklch */ color: oklch(40.9% 0.172 322.2);
Tailwind
colors: {
  custom: {
    50: '#9e61a5',
    500: '#72187f',
    950: '#000000',
  },
}
SCSS
$custom: #72187f;
$custom-light: #9e61a5;
$custom-dark: #000000;
JSON
{
  "hex": "#72187f",
  "rgb": {
    "r": 114,
    "g": 24,
    "b": 127
  },
  "hsl": {
    "h": 292.427,
    "s": 68.212,
    "l": 29.608
  },
  "oklch": {
    "l": 0.40898,
    "c": 0.17154,
    "h": 322.2
  },
  "luminance": 0.05763
}

Semantic roles & 50–950 ramp

primary
#72187F
secondary
#4EB33F
accent
#EB3D53
background
#FAF6FA
surface
#F3EBF4
border
#CDC6CE
text
#0F050F
muted
#7F7A7F

Preview Lab

Preview with #72187F

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

Preview Lab → · Contrast checker → · Palette generator →

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