#72277C#72277C

#72277C is a dark, vivid purple. Relative luminance 0.065; OKLCH L 42.1% C 0.151 H 322.8°. Best body text is #FFFFFF at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#72277C
RGBrgb(114, 39, 124)
HSLhsl(293, 52%, 32%)
HSVhsv(293, 69%, 49%)
CMYKcmyk(8.1%, 68.5%, 0%, 51.4%)
CIE-LABlab(30.60, 45.00, -32.81)
CIE-LCHlch(30.60, 55.69, 323.91°)
OKLaboklab(42.12% 0.1204 -0.0914)
OKLCHoklch(42.12% 0.151 322.8)
XYZxyz(11.3027, 6.4843, 19.7211)
Luminance0.0648 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#72277C #317C27
analogous
#48277C #72277C #7C275C
triadic
#72277C #7C7227 #277C72
tetradic
#72277C #7C4827 #317C27 #275C7C
square
#72277C #7C4827 #317C27 #275C7C
split-complementary
#72277C #5C7C27 #277C48
monochromatic
#1C0A1F #47184D #72277C #9D36AB #BB54C9

Accessibility & contrast

On white

9.14
#72277C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #72277C
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##72277C#FFFFFF#000000##FFFFFF
##72277C1.009.142.309.14
#FFFFFF9.141.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#11427E
Deuteranopia (green-blind)
#334B7A
Tritanopia (blue-blind)
#74354E
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #72277c;
/* rgb */ color: rgb(114, 39, 124);
/* oklch */ color: oklch(42.1% 0.151 322.8);
Tailwind
colors: {
  custom: {
    50: '#9d68a2',
    500: '#72277c',
    950: '#000000',
  },
}
SCSS
$custom: #72277c;
$custom-light: #9d68a2;
$custom-dark: #000000;
JSON
{
  "hex": "#72277c",
  "rgb": {
    "r": 114,
    "g": 39,
    "b": 124
  },
  "hsl": {
    "h": 292.941,
    "s": 52.147,
    "l": 31.961
  },
  "oklch": {
    "l": 0.42117,
    "c": 0.15113,
    "h": 322.8
  },
  "luminance": 0.06484
}

Semantic roles & 50–950 ramp

primary
#72277C
secondary
#5CAE51
accent
#DC4C5D
background
#F9F6FA
surface
#F2EBF3
border
#CCC6CD
text
#0F060F
muted
#7E7A7F

Preview Lab

Preview with #72277C

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

Preview Lab → · Contrast checker → · Palette generator →

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