#72277D#72277D

#72277D is a dark, vivid purple. Relative luminance 0.065; OKLCH L 42.2% C 0.152 H 322.3°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#72277D
RGBrgb(114, 39, 125)
HSLhsl(292, 52%, 32%)
HSVhsv(292, 69%, 49%)
CMYKcmyk(8.8%, 68.8%, 0%, 51%)
CIE-LABlab(30.66, 45.20, -33.34)
CIE-LCHlch(30.66, 56.17, 323.59°)
OKLaboklab(42.18% 0.1204 -0.0929)
OKLCHoklch(42.18% 0.152 322.3)
XYZxyz(11.3662, 6.5097, 20.0559)
Luminance0.0651 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#72277D #327D27
analogous
#47277D #72277D #7D275D
triadic
#72277D #7D7227 #277D72
tetradic
#72277D #7D4727 #327D27 #275D7D
square
#72277D #7D4727 #327D27 #275D7D
split-complementary
#72277D #5D7D27 #277D47
monochromatic
#1D0A20 #47184E #72277D #9D36AC #BB55CA

Accessibility & contrast

On white

9.12
#72277D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#72277D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #72277D
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##72277D#FFFFFF#000000##FFFFFF
##72277D1.009.122.309.12
#FFFFFF9.121.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F4380
Deuteranopia (green-blind)
#334B7B
Tritanopia (blue-blind)
#74354E
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #72277d;
/* rgb */ color: rgb(114, 39, 125);
/* oklch */ color: oklch(42.2% 0.152 322.3);
Tailwind
colors: {
  custom: {
    50: '#9d68a3',
    500: '#72277d',
    950: '#000000',
  },
}
SCSS
$custom: #72277d;
$custom-light: #9d68a3;
$custom-dark: #000000;
JSON
{
  "hex": "#72277d",
  "rgb": {
    "r": 114,
    "g": 39,
    "b": 125
  },
  "hsl": {
    "h": 292.326,
    "s": 52.439,
    "l": 32.157
  },
  "oklch": {
    "l": 0.42181,
    "c": 0.15206,
    "h": 322.3
  },
  "luminance": 0.06509
}

Semantic roles & 50–950 ramp

primary
#72277D
secondary
#5DAF51
accent
#DC4C5E
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0F060F
muted
#7E7A7F

Preview Lab

Preview with #72277D

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

Preview Lab → · Contrast checker → · Palette generator →

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