#72237F#72237F

#72237F is a dark, vivid purple. Relative luminance 0.063; OKLCH L 41.9% C 0.159 H 321.7°. Best body text is #FFFFFF at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#72237F
RGBrgb(114, 35, 127)
HSLhsl(292, 57%, 32%)
HSVhsv(292, 72%, 50%)
CMYKcmyk(10.2%, 72.4%, 0%, 50.2%)
CIE-LABlab(30.19, 47.29, -35.36)
CIE-LCHlch(30.19, 59.04, 323.21°)
OKLaboklab(41.88% 0.1249 -0.0988)
OKLCHoklch(41.88% 0.159 321.7)
XYZxyz(11.3708, 6.3124, 20.6940)
Luminance0.0631 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#72237F #307F23
analogous
#44237F #72237F #7F235E
triadic
#72237F #7F7223 #237F72
tetradic
#72237F #7F4423 #307F23 #235E7F
square
#72237F #7F4423 #307F23 #235E7F
split-complementary
#72237F #5E7F23 #237F44
monochromatic
#1C091F #47164F #72237F #9D30AF #BC4ECE

Accessibility & contrast

On white

9.28
#72237F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#72237F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #72237F
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##72237F#FFFFFF#000000##FFFFFF
##72237F1.009.282.269.28
#FFFFFF9.281.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004182
Deuteranopia (green-blind)
#2F4A7D
Tritanopia (blue-blind)
#73344E
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #72237f;
/* rgb */ color: rgb(114, 35, 127);
/* oklch */ color: oklch(41.9% 0.159 321.7);
Tailwind
colors: {
  custom: {
    50: '#9e66a4',
    500: '#72237f',
    950: '#000000',
  },
}
SCSS
$custom: #72237f;
$custom-light: #9e66a4;
$custom-dark: #000000;
JSON
{
  "hex": "#72237f",
  "rgb": {
    "r": 114,
    "g": 35,
    "b": 127
  },
  "hsl": {
    "h": 291.522,
    "s": 56.79,
    "l": 31.765
  },
  "oklch": {
    "l": 0.41879,
    "c": 0.15923,
    "h": 321.7
  },
  "luminance": 0.06312
}

Semantic roles & 50–950 ramp

primary
#72237F
secondary
#5BB14C
accent
#E0485D
background
#FAF6FA
surface
#F3EBF4
border
#CDC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #72237F

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

Preview Lab → · Contrast checker → · Palette generator →

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