#72247F#72247F

#72247F is a dark, vivid purple. Relative luminance 0.064; OKLCH L 42.0% C 0.158 H 321.6°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#72247F
RGBrgb(114, 36, 127)
HSLhsl(291, 56%, 32%)
HSVhsv(291, 72%, 50%)
CMYKcmyk(10.2%, 71.7%, 0%, 50.2%)
CIE-LABlab(30.33, 46.88, -35.12)
CIE-LCHlch(30.33, 58.58, 323.16°)
OKLaboklab(41.98% 0.1238 -0.0981)
OKLCHoklch(41.98% 0.158 321.6)
XYZxyz(11.4007, 6.3721, 20.7040)
Luminance0.0637 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#72247F #317F24
analogous
#45247F #72247F #7F245E
triadic
#72247F #7F7224 #247F72
tetradic
#72247F #7F4524 #317F24 #245E7F
square
#72247F #7F4524 #317F24 #245E7F
split-complementary
#72247F #5E7F24 #247F45
monochromatic
#1C0920 #47164F #72247F #9D32AF #BB50CD

Accessibility & contrast

On white

9.23
#72247F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#72247F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #72247F
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##72247F#FFFFFF#000000##FFFFFF
##72247F1.009.232.279.23
#FFFFFF9.231.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#024282
Deuteranopia (green-blind)
#2F4A7D
Tritanopia (blue-blind)
#73344F
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #72247f;
/* rgb */ color: rgb(114, 36, 127);
/* oklch */ color: oklch(42.0% 0.158 321.6);
Tailwind
colors: {
  custom: {
    50: '#9e66a4',
    500: '#72247f',
    950: '#000000',
  },
}
SCSS
$custom: #72247f;
$custom-light: #9e66a4;
$custom-dark: #000000;
JSON
{
  "hex": "#72247f",
  "rgb": {
    "r": 114,
    "g": 36,
    "b": 127
  },
  "hsl": {
    "h": 291.429,
    "s": 55.828,
    "l": 31.961
  },
  "oklch": {
    "l": 0.41983,
    "c": 0.15795,
    "h": 321.6
  },
  "luminance": 0.06371
}

Semantic roles & 50–950 ramp

primary
#72247F
secondary
#5CB14E
accent
#DF495E
background
#FAF6FA
surface
#F3EBF4
border
#CDC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #72247F

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

Preview Lab → · Contrast checker → · Palette generator →

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