#72258B#72258B

#72258B is a dark, vivid purple. Relative luminance 0.068; OKLCH L 42.9% C 0.168 H 316.5°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#72258B
RGBrgb(114, 37, 139)
HSLhsl(285, 58%, 35%)
HSVhsv(285, 73%, 55%)
CMYKcmyk(18%, 73.4%, 0%, 45.5%)
CIE-LABlab(31.27, 48.90, -41.11)
CIE-LCHlch(31.27, 63.88, 319.95°)
OKLaboklab(42.9% 0.1219 -0.1156)
OKLCHoklch(42.9% 0.168 316.5)
XYZxyz(12.2605, 6.7651, 25.0811)
Luminance0.0677 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#72258B #3E8B25
analogous
#3F258B #72258B #8B2571
triadic
#72258B #8B7225 #258B72
tetradic
#72258B #8B3F25 #3E8B25 #25718B
square
#72258B #8B3F25 #3E8B25 #25718B
split-complementary
#72258B #718B25 #258B3F
monochromatic
#230B2A #4A185B #72258B #9A32BB #B458D3

Accessibility & contrast

On white

8.92
#72258B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #72258B
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##72258B#FFFFFF#000000##FFFFFF
##72258B1.008.922.358.92
#FFFFFF8.921.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458E
Deuteranopia (green-blind)
#254C89
Tritanopia (blue-blind)
#713A56
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #72258b;
/* rgb */ color: rgb(114, 37, 139);
/* oklch */ color: oklch(42.9% 0.168 316.5);
Tailwind
colors: {
  custom: {
    50: '#9e67ad',
    500: '#72258b',
    950: '#000000',
  },
}
SCSS
$custom: #72258b;
$custom-light: #9e67ad;
$custom-dark: #000000;
JSON
{
  "hex": "#72258b",
  "rgb": {
    "r": 114,
    "g": 37,
    "b": 139
  },
  "hsl": {
    "h": 285.294,
    "s": 57.955,
    "l": 34.51
  },
  "oklch": {
    "l": 0.42902,
    "c": 0.16799,
    "h": 316.5
  },
  "luminance": 0.06765
}

Semantic roles & 50–950 ramp

primary
#72258B
secondary
#6DB755
accent
#E1476D
background
#FAF6FA
surface
#F3EBF4
border
#CDC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #72258B

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

Preview Lab → · Contrast checker → · Palette generator →

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