#72237D#72237D

#72237D is a dark, vivid purple. Relative luminance 0.063; OKLCH L 41.7% C 0.157 H 322.6°. Best body text is #FFFFFF at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#72237D
RGBrgb(114, 35, 125)
HSLhsl(293, 56%, 31%)
HSVhsv(293, 72%, 49%)
CMYKcmyk(8.8%, 72%, 0%, 51%)
CIE-LABlab(30.06, 46.90, -34.30)
CIE-LCHlch(30.06, 58.10, 323.82°)
OKLaboklab(41.75% 0.125 -0.0957)
OKLCHoklch(41.75% 0.157 322.6)
XYZxyz(11.2418, 6.2608, 20.0144)
Luminance0.0626 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#72237D #2E7D23
analogous
#45237D #72237D #7D235B
triadic
#72237D #7D7223 #237D72
tetradic
#72237D #7D4523 #2E7D23 #235B7D
square
#72237D #7D4523 #2E7D23 #235B7D
split-complementary
#72237D #5B7D23 #237D45
monochromatic
#1B081D #46164D #72237D #9E30AD #BE4DCD

Accessibility & contrast

On white

9.33
#72237D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#72237D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #72237D
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##72237D#FFFFFF#000000##FFFFFF
##72237D1.009.332.259.33
#FFFFFF9.331.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#044180
Deuteranopia (green-blind)
#304A7B
Tritanopia (blue-blind)
#74334D
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #72237d;
/* rgb */ color: rgb(114, 35, 125);
/* oklch */ color: oklch(41.7% 0.157 322.6);
Tailwind
colors: {
  custom: {
    50: '#9e66a3',
    500: '#72237d',
    950: '#000000',
  },
}
SCSS
$custom: #72237d;
$custom-light: #9e66a3;
$custom-dark: #000000;
JSON
{
  "hex": "#72237d",
  "rgb": {
    "r": 114,
    "g": 35,
    "b": 125
  },
  "hsl": {
    "h": 292.667,
    "s": 56.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.41748,
    "c": 0.1574,
    "h": 322.6
  },
  "luminance": 0.0626
}

Semantic roles & 50–950 ramp

primary
#72237D
secondary
#58AF4C
accent
#E0485B
background
#FAF6FA
surface
#F3EBF4
border
#CDC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #72237D

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

Preview Lab → · Contrast checker → · Palette generator →

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