#72248A#72248A

#72248A is a dark, vivid purple. Relative luminance 0.067; OKLCH L 42.7% C 0.168 H 317.0°. Best body text is #FFFFFF at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#72248A
RGBrgb(114, 36, 138)
HSLhsl(286, 59%, 34%)
HSVhsv(286, 74%, 54%)
CMYKcmyk(17.4%, 73.9%, 0%, 45.9%)
CIE-LABlab(31.05, 49.10, -40.83)
CIE-LCHlch(31.05, 63.86, 320.26°)
OKLaboklab(42.73% 0.123 -0.1148)
OKLCHoklch(42.73% 0.168 317)
XYZxyz(12.1571, 6.6746, 24.6878)
Luminance0.0667 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#72248A #3C8A24
analogous
#3F248A #72248A #8A246F
triadic
#72248A #8A7224 #248A72
tetradic
#72248A #8A3F24 #3C8A24 #246F8A
square
#72248A #8A3F24 #3C8A24 #246F8A
split-complementary
#72248A #6F8A24 #248A3F
monochromatic
#220B29 #4A1759 #72248A #9A31BB #B556D3

Accessibility & contrast

On white

8.99
#72248A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#72248A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #72248A
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##72248A#FFFFFF#000000##FFFFFF
##72248A1.008.992.338.99
#FFFFFF8.991.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF8.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448D
Deuteranopia (green-blind)
#264B88
Tritanopia (blue-blind)
#713955
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #72248a;
/* rgb */ color: rgb(114, 36, 138);
/* oklch */ color: oklch(42.7% 0.168 317.0);
Tailwind
colors: {
  custom: {
    50: '#9e67ad',
    500: '#72248a',
    950: '#000000',
  },
}
SCSS
$custom: #72248a;
$custom-light: #9e67ad;
$custom-dark: #000000;
JSON
{
  "hex": "#72248a",
  "rgb": {
    "r": 114,
    "g": 36,
    "b": 138
  },
  "hsl": {
    "h": 285.882,
    "s": 58.621,
    "l": 34.118
  },
  "oklch": {
    "l": 0.4273,
    "c": 0.16826,
    "h": 317
  },
  "luminance": 0.06674
}

Semantic roles & 50–950 ramp

primary
#72248A
secondary
#6AB753
accent
#E2466B
background
#FAF6FA
surface
#F3EBF4
border
#CDC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #72248A

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

Preview Lab → · Contrast checker → · Palette generator →

#72248A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva