#72248D#72248D

#72248D is a dark, vivid purple. Relative luminance 0.068; OKLCH L 42.9% C 0.171 H 315.8°. Best body text is #FFFFFF at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#72248D
RGBrgb(114, 36, 141)
HSLhsl(285, 59%, 35%)
HSVhsv(285, 74%, 55%)
CMYKcmyk(19.1%, 74.5%, 0%, 44.7%)
CIE-LABlab(31.26, 49.73, -42.35)
CIE-LCHlch(31.26, 65.32, 319.58°)
OKLaboklab(42.94% 0.1227 -0.1193)
OKLCHoklch(42.94% 0.171 315.8)
XYZxyz(12.3773, 6.7627, 25.8475)
Luminance0.0676 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#72248D #3F8D24
analogous
#3D248D #72248D #8D2474
triadic
#72248D #8D7224 #248D72
tetradic
#72248D #8D3D24 #3F8D24 #24748D
square
#72248D #8D3D24 #3F8D24 #24748D
split-complementary
#72248D #748D24 #248D3D
monochromatic
#230B2B #4B185C #72248D #9930BE #B457D4

Accessibility & contrast

On white

8.93
#72248D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#72248D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #72248D
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##72248D#FFFFFF#000000##FFFFFF
##72248D1.008.932.358.93
#FFFFFF8.931.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004590
Deuteranopia (green-blind)
#224C8B
Tritanopia (blue-blind)
#703A56
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #72248d;
/* rgb */ color: rgb(114, 36, 141);
/* oklch */ color: oklch(42.9% 0.171 315.8);
Tailwind
colors: {
  custom: {
    50: '#9e67af',
    500: '#72248d',
    950: '#000000',
  },
}
SCSS
$custom: #72248d;
$custom-light: #9e67af;
$custom-dark: #000000;
JSON
{
  "hex": "#72248d",
  "rgb": {
    "r": 114,
    "g": 36,
    "b": 141
  },
  "hsl": {
    "h": 284.571,
    "s": 59.322,
    "l": 34.706
  },
  "oklch": {
    "l": 0.42942,
    "c": 0.1711,
    "h": 315.8
  },
  "luminance": 0.06762
}

Semantic roles & 50–950 ramp

primary
#72248D
secondary
#6EB854
accent
#E3456E
background
#FAF6FA
surface
#F3EBF4
border
#CDC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #72248D

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

Preview Lab → · Contrast checker → · Palette generator →

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