#72247B#72247B

#72247B is a dark, vivid purple. Relative luminance 0.063; OKLCH L 41.7% C 0.154 H 323.4°. Best body text is #FFFFFF at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#72247B
RGBrgb(114, 36, 123)
HSLhsl(294, 55%, 31%)
HSVhsv(294, 71%, 48%)
CMYKcmyk(7.3%, 70.7%, 0%, 51.8%)
CIE-LABlab(30.08, 46.09, -33.01)
CIE-LCHlch(30.08, 56.69, 324.39°)
OKLaboklab(41.72% 0.1239 -0.0919)
OKLCHoklch(41.72% 0.154 323.4)
XYZxyz(11.1451, 6.2699, 19.3582)
Luminance0.0627 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#72247B #2D7B24
analogous
#46247B #72247B #7B2458
triadic
#72247B #7B7224 #247B72
tetradic
#72247B #7B4624 #2D7B24 #24587B
square
#72247B #7B4624 #2D7B24 #24587B
split-complementary
#72247B #587B24 #247B46
monochromatic
#1A081C #46164C #72247B #9E32AA #BE4ECB

Accessibility & contrast

On white

9.32
#72247B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#72247B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #72247B
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##72247B#FFFFFF#000000##FFFFFF
##72247B1.009.322.259.32
#FFFFFF9.321.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C417E
Deuteranopia (green-blind)
#324A79
Tritanopia (blue-blind)
#74324C
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #72247b;
/* rgb */ color: rgb(114, 36, 123);
/* oklch */ color: oklch(41.7% 0.154 323.4);
Tailwind
colors: {
  custom: {
    50: '#9d66a1',
    500: '#72247b',
    950: '#000000',
  },
}
SCSS
$custom: #72247b;
$custom-light: #9d66a1;
$custom-dark: #000000;
JSON
{
  "hex": "#72247b",
  "rgb": {
    "r": 114,
    "g": 36,
    "b": 123
  },
  "hsl": {
    "h": 293.793,
    "s": 54.717,
    "l": 31.176
  },
  "oklch": {
    "l": 0.41724,
    "c": 0.15427,
    "h": 323.4
  },
  "luminance": 0.06269
}

Semantic roles & 50–950 ramp

primary
#72247B
secondary
#57AD4D
accent
#DE4A59
background
#FAF6FA
surface
#F3EBF3
border
#CDC6CD
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #72247B

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

Preview Lab → · Contrast checker → · Palette generator →

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