#72248B#72248B

#72248B is a dark, vivid purple. Relative luminance 0.067; OKLCH L 42.8% C 0.169 H 316.6°. Best body text is #FFFFFF at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#72248B
RGBrgb(114, 36, 139)
HSLhsl(285, 59%, 34%)
HSVhsv(285, 74%, 55%)
CMYKcmyk(18%, 74.1%, 0%, 45.5%)
CIE-LABlab(31.12, 49.31, -41.34)
CIE-LCHlch(31.12, 64.34, 320.03°)
OKLaboklab(42.8% 0.1229 -0.1163)
OKLCHoklch(42.8% 0.169 316.6)
XYZxyz(12.2298, 6.7037, 25.0708)
Luminance0.0670 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#72248B #3D8B24
analogous
#3F248B #72248B #8B2471
triadic
#72248B #8B7224 #248B72
tetradic
#72248B #8B3F24 #3D8B24 #24718B
square
#72248B #8B3F24 #3D8B24 #24718B
split-complementary
#72248B #718B24 #248B3F
monochromatic
#220B2A #4A175A #72248B #9A31BC #B556D3

Accessibility & contrast

On white

8.97
#72248B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#72248B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #72248B
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##72248B#FFFFFF#000000##FFFFFF
##72248B1.008.972.348.97
#FFFFFF8.971.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458E
Deuteranopia (green-blind)
#254B89
Tritanopia (blue-blind)
#713955
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #72248b;
/* rgb */ color: rgb(114, 36, 139);
/* oklch */ color: oklch(42.8% 0.169 316.6);
Tailwind
colors: {
  custom: {
    50: '#9e67ad',
    500: '#72248b',
    950: '#000000',
  },
}
SCSS
$custom: #72248b;
$custom-light: #9e67ad;
$custom-dark: #000000;
JSON
{
  "hex": "#72248b",
  "rgb": {
    "r": 114,
    "g": 36,
    "b": 139
  },
  "hsl": {
    "h": 285.437,
    "s": 58.857,
    "l": 34.314
  },
  "oklch": {
    "l": 0.428,
    "c": 0.1692,
    "h": 316.6
  },
  "luminance": 0.06703
}

Semantic roles & 50–950 ramp

primary
#72248B
secondary
#6CB753
accent
#E2466C
background
#FAF6FA
surface
#F3EBF4
border
#CDC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #72248B

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

Preview Lab → · Contrast checker → · Palette generator →

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