#72258A#72258A

#72258A is a dark, vivid purple. Relative luminance 0.067; OKLCH L 42.8% C 0.167 H 316.9°. Best body text is #FFFFFF at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#72258A
RGBrgb(114, 37, 138)
HSLhsl(286, 58%, 34%)
HSVhsv(286, 73%, 54%)
CMYKcmyk(17.4%, 73.2%, 0%, 45.9%)
CIE-LABlab(31.20, 48.69, -40.60)
CIE-LCHlch(31.20, 63.40, 320.18°)
OKLaboklab(42.83% 0.122 -0.1141)
OKLCHoklch(42.83% 0.167 316.9)
XYZxyz(12.1878, 6.7360, 24.6980)
Luminance0.0674 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#72258A #3D8A25
analogous
#40258A #72258A #8A2570
triadic
#72258A #8A7225 #258A72
tetradic
#72258A #8A4025 #3D8A25 #25708A
square
#72258A #8A4025 #3D8A25 #25708A
split-complementary
#72258A #708A25 #258A40
monochromatic
#220B29 #4A185A #72258A #9A32BA #B557D2

Accessibility & contrast

On white

8.95
#72258A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#72258A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #72258A
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##72258A#FFFFFF#000000##FFFFFF
##72258A1.008.952.358.95
#FFFFFF8.951.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458D
Deuteranopia (green-blind)
#264C88
Tritanopia (blue-blind)
#713955
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #72258a;
/* rgb */ color: rgb(114, 37, 138);
/* oklch */ color: oklch(42.8% 0.167 316.9);
Tailwind
colors: {
  custom: {
    50: '#9e67ad',
    500: '#72258a',
    950: '#000000',
  },
}
SCSS
$custom: #72258a;
$custom-light: #9e67ad;
$custom-dark: #000000;
JSON
{
  "hex": "#72258a",
  "rgb": {
    "r": 114,
    "g": 37,
    "b": 138
  },
  "hsl": {
    "h": 285.743,
    "s": 57.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.42832,
    "c": 0.16703,
    "h": 316.9
  },
  "luminance": 0.06736
}

Semantic roles & 50–950 ramp

primary
#72258A
secondary
#6CB754
accent
#E1476B
background
#FAF6FA
surface
#F3EBF4
border
#CDC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #72258A

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

Preview Lab → · Contrast checker → · Palette generator →

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