#72277A#72277A

#72277A is a dark, vivid purple. Relative luminance 0.064; OKLCH L 42.0% C 0.149 H 323.7°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#72277A
RGBrgb(114, 39, 122)
HSLhsl(294, 52%, 32%)
HSVhsv(294, 68%, 48%)
CMYKcmyk(6.6%, 68%, 0%, 52.2%)
CIE-LABlab(30.48, 44.61, -31.74)
CIE-LCHlch(30.48, 54.75, 324.57°)
OKLaboklab(41.99% 0.1204 -0.0883)
OKLCHoklch(41.99% 0.149 323.7)
XYZxyz(11.1775, 6.4342, 19.0618)
Luminance0.0643 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#72277A #2F7A27
analogous
#49277A #72277A #7A2759
triadic
#72277A #7A7227 #277A72
tetradic
#72277A #7A4927 #2F7A27 #27597A
square
#72277A #7A4927 #2F7A27 #27597A
split-complementary
#72277A #597A27 #277A49
monochromatic
#1B091D #47184C #72277A #9D36A8 #BD53C8

Accessibility & contrast

On white

9.18
#72277A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#72277A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #72277A
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##72277A#FFFFFF#000000##FFFFFF
##72277A1.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#14427C
Deuteranopia (green-blind)
#344B78
Tritanopia (blue-blind)
#74344D
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #72277a;
/* rgb */ color: rgb(114, 39, 122);
/* oklch */ color: oklch(42.0% 0.149 323.7);
Tailwind
colors: {
  custom: {
    50: '#9d68a1',
    500: '#72277a',
    950: '#000000',
  },
}
SCSS
$custom: #72277a;
$custom-light: #9d68a1;
$custom-dark: #000000;
JSON
{
  "hex": "#72277a",
  "rgb": {
    "r": 114,
    "g": 39,
    "b": 122
  },
  "hsl": {
    "h": 294.217,
    "s": 51.553,
    "l": 31.569
  },
  "oklch": {
    "l": 0.41992,
    "c": 0.14925,
    "h": 323.7
  },
  "luminance": 0.06434
}

Semantic roles & 50–950 ramp

primary
#72277A
secondary
#5AAC51
accent
#DB4D5A
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0F060F
muted
#7E7A7E

Preview Lab

Preview with #72277A

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

Preview Lab → · Contrast checker → · Palette generator →

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