#72257D#72257D

#72257D is a dark, vivid purple. Relative luminance 0.064; OKLCH L 42.0% C 0.155 H 322.4°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#72257D
RGBrgb(114, 37, 125)
HSLhsl(293, 54%, 32%)
HSVhsv(293, 70%, 49%)
CMYKcmyk(8.8%, 70.4%, 0%, 51%)
CIE-LABlab(30.36, 46.06, -33.83)
CIE-LCHlch(30.36, 57.15, 323.71°)
OKLaboklab(41.96% 0.1227 -0.0943)
OKLCHoklch(41.96% 0.155 322.4)
XYZxyz(11.3023, 6.3818, 20.0346)
Luminance0.0638 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#72257D #307D25
analogous
#46257D #72257D #7D255C
triadic
#72257D #7D7225 #257D72
tetradic
#72257D #7D4625 #307D25 #255C7D
square
#72257D #7D4625 #307D25 #255C7D
split-complementary
#72257D #5C7D25 #257D46
monochromatic
#1C091F #47174E #72257D #9D33AC #BC51CB

Accessibility & contrast

On white

9.23
#72257D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#72257D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #72257D
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##72257D#FFFFFF#000000##FFFFFF
##72257D1.009.232.289.23
#FFFFFF9.231.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A4280
Deuteranopia (green-blind)
#314A7B
Tritanopia (blue-blind)
#74344E
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #72257d;
/* rgb */ color: rgb(114, 37, 125);
/* oklch */ color: oklch(42.0% 0.155 322.4);
Tailwind
colors: {
  custom: {
    50: '#9d67a3',
    500: '#72257d',
    950: '#000000',
  },
}
SCSS
$custom: #72257d;
$custom-light: #9d67a3;
$custom-dark: #000000;
JSON
{
  "hex": "#72257d",
  "rgb": {
    "r": 114,
    "g": 37,
    "b": 125
  },
  "hsl": {
    "h": 292.5,
    "s": 54.321,
    "l": 31.765
  },
  "oklch": {
    "l": 0.4196,
    "c": 0.15479,
    "h": 322.4
  },
  "luminance": 0.06381
}

Semantic roles & 50–950 ramp

primary
#72257D
secondary
#5BAF4F
accent
#DE4A5D
background
#FAF6FA
surface
#F3EBF4
border
#CDC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #72257D

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

Preview Lab → · Contrast checker → · Palette generator →

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