#72258D#72258D

#72258D is a dark, vivid purple. Relative luminance 0.068; OKLCH L 43.0% C 0.170 H 315.7°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#72258D
RGBrgb(114, 37, 141)
HSLhsl(284, 58%, 35%)
HSVhsv(284, 74%, 55%)
CMYKcmyk(19.1%, 73.8%, 0%, 44.7%)
CIE-LABlab(31.40, 49.32, -42.12)
CIE-LCHlch(31.40, 64.86, 319.50°)
OKLaboklab(43.04% 0.1216 -0.1186)
OKLCHoklch(43.04% 0.17 315.7)
XYZxyz(12.4080, 6.8241, 25.8577)
Luminance0.0682 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#72258D #408D25
analogous
#3E258D #72258D #8D2574
triadic
#72258D #8D7225 #258D72
tetradic
#72258D #8D3E25 #408D25 #25748D
square
#72258D #8D3E25 #408D25 #25748D
split-complementary
#72258D #748D25 #258D3E
monochromatic
#240C2C #4B185D #72258D #9932BD #B459D3

Accessibility & contrast

On white

8.88
#72258D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#72258D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #72258D
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##72258D#FFFFFF#000000##FFFFFF
##72258D1.008.882.368.88
#FFFFFF8.881.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004590
Deuteranopia (green-blind)
#234C8B
Tritanopia (blue-blind)
#703B57
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #72258d;
/* rgb */ color: rgb(114, 37, 141);
/* oklch */ color: oklch(43.0% 0.170 315.7);
Tailwind
colors: {
  custom: {
    50: '#9e67af',
    500: '#72258d',
    950: '#000000',
  },
}
SCSS
$custom: #72258d;
$custom-light: #9e67af;
$custom-dark: #000000;
JSON
{
  "hex": "#72258d",
  "rgb": {
    "r": 114,
    "g": 37,
    "b": 141
  },
  "hsl": {
    "h": 284.423,
    "s": 58.427,
    "l": 34.902
  },
  "oklch": {
    "l": 0.43043,
    "c": 0.1699,
    "h": 315.7
  },
  "luminance": 0.06824
}

Semantic roles & 50–950 ramp

primary
#72258D
secondary
#6FB856
accent
#E2466F
background
#FAF6FA
surface
#F3EBF4
border
#CDC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #72258D

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

Preview Lab → · Contrast checker → · Palette generator →

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