#72287D#72287D

#72287D is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.3% C 0.151 H 322.3°. Best body text is #FFFFFF at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#72287D
RGBrgb(114, 40, 125)
HSLhsl(292, 52%, 32%)
HSVhsv(292, 68%, 49%)
CMYKcmyk(8.8%, 68%, 0%, 51%)
CIE-LABlab(30.82, 44.76, -33.09)
CIE-LCHlch(30.82, 55.66, 323.52°)
OKLaboklab(42.3% 0.1192 -0.0922)
OKLCHoklch(42.3% 0.151 322.3)
XYZxyz(11.3995, 6.5763, 20.0670)
Luminance0.0658 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#72287D #337D28
analogous
#47287D #72287D #7D285E
triadic
#72287D #7D7228 #287D72
tetradic
#72287D #7D4728 #337D28 #285E7D
square
#72287D #7D4728 #337D28 #285E7D
split-complementary
#72287D #5E7D28 #287D47
monochromatic
#1D0A20 #48194F #72287D #9C37AB #BA56C9

Accessibility & contrast

On white

9.07
#72287D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#72287D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #72287D
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##72287D#FFFFFF#000000##FFFFFF
##72287D1.009.072.329.07
#FFFFFF9.071.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#124380
Deuteranopia (green-blind)
#334B7B
Tritanopia (blue-blind)
#73364F
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #72287d;
/* rgb */ color: rgb(114, 40, 125);
/* oklch */ color: oklch(42.3% 0.151 322.3);
Tailwind
colors: {
  custom: {
    50: '#9d68a3',
    500: '#72287d',
    950: '#000000',
  },
}
SCSS
$custom: #72287d;
$custom-light: #9d68a3;
$custom-dark: #000000;
JSON
{
  "hex": "#72287d",
  "rgb": {
    "r": 114,
    "g": 40,
    "b": 125
  },
  "hsl": {
    "h": 292.235,
    "s": 51.515,
    "l": 32.353
  },
  "oklch": {
    "l": 0.42295,
    "c": 0.15067,
    "h": 322.3
  },
  "luminance": 0.06576
}

Semantic roles & 50–950 ramp

primary
#72287D
secondary
#5FAE53
accent
#DB4D5F
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F060F
muted
#7E7A7F

Preview Lab

Preview with #72287D

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

Preview Lab → · Contrast checker → · Palette generator →

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