#72227F#72227F

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

Color values

HEX#72227F
RGBrgb(114, 34, 127)
HSLhsl(292, 58%, 32%)
HSVhsv(292, 73%, 50%)
CMYKcmyk(10.2%, 73.2%, 0%, 50.2%)
CIE-LABlab(30.05, 47.69, -35.58)
CIE-LCHlch(30.05, 59.50, 323.27°)
OKLaboklab(41.78% 0.126 -0.0994)
OKLCHoklch(41.78% 0.16 321.7)
XYZxyz(11.3418, 6.2544, 20.6844)
Luminance0.0625 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#72227F #2F7F22
analogous
#44227F #72227F #7F225E
triadic
#72227F #7F7222 #227F72
tetradic
#72227F #7F4422 #2F7F22 #225E7F
square
#72227F #7F4422 #2F7F22 #225E7F
split-complementary
#72227F #5E7F22 #227F44
monochromatic
#1B081E #47154F #72227F #9D2FAF #BD4CCF

Accessibility & contrast

On white

9.33
#72227F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#72227F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #72227F
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##72227F#FFFFFF#000000##FFFFFF
##72227F1.009.332.259.33
#FFFFFF9.331.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.331.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #72227f;
/* rgb */ color: rgb(114, 34, 127);
/* oklch */ color: oklch(41.8% 0.160 321.7);
Tailwind
colors: {
  custom: {
    50: '#9e65a4',
    500: '#72227f',
    950: '#000000',
  },
}
SCSS
$custom: #72227f;
$custom-light: #9e65a4;
$custom-dark: #000000;
JSON
{
  "hex": "#72227f",
  "rgb": {
    "r": 114,
    "g": 34,
    "b": 127
  },
  "hsl": {
    "h": 291.613,
    "s": 57.764,
    "l": 31.569
  },
  "oklch": {
    "l": 0.41777,
    "c": 0.16049,
    "h": 321.7
  },
  "luminance": 0.06254
}

Semantic roles & 50–950 ramp

primary
#72227F
secondary
#5AB24B
accent
#E1475C
background
#FAF6FA
surface
#F3EBF4
border
#CDC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #72227F

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

Preview Lab → · Contrast checker → · Palette generator →

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