#72258E#72258E

#72258E is a dark, vivid purple. Relative luminance 0.069; OKLCH L 43.1% C 0.171 H 315.3°. Best body text is #FFFFFF at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#72258E
RGBrgb(114, 37, 142)
HSLhsl(284, 59%, 35%)
HSVhsv(284, 74%, 56%)
CMYKcmyk(19.7%, 73.9%, 0%, 44.3%)
CIE-LABlab(31.47, 49.53, -42.63)
CIE-LCHlch(31.47, 65.35, 319.28°)
OKLaboklab(43.11% 0.1215 -0.1201)
OKLCHoklch(43.11% 0.171 315.3)
XYZxyz(12.4827, 6.8540, 26.2514)
Luminance0.0685 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#72258E #418E25
analogous
#3E258E #72258E #8E2575
triadic
#72258E #8E7225 #258E72
tetradic
#72258E #8E3E25 #418E25 #25758E
square
#72258E #8E3E25 #418E25 #25758E
split-complementary
#72258E #758E25 #258E3E
monochromatic
#240C2D #4B185D #72258E #9932BF #B35AD4

Accessibility & contrast

On white

8.86
#72258E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#72258E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #72258E
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##72258E#FFFFFF#000000##FFFFFF
##72258E1.008.862.378.86
#FFFFFF8.861.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004691
Deuteranopia (green-blind)
#224C8C
Tritanopia (blue-blind)
#703B57
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #72258e;
/* rgb */ color: rgb(114, 37, 142);
/* oklch */ color: oklch(43.1% 0.171 315.3);
Tailwind
colors: {
  custom: {
    50: '#9e67b0',
    500: '#72258e',
    950: '#000000',
  },
}
SCSS
$custom: #72258e;
$custom-light: #9e67b0;
$custom-dark: #000000;
JSON
{
  "hex": "#72258e",
  "rgb": {
    "r": 114,
    "g": 37,
    "b": 142
  },
  "hsl": {
    "h": 284,
    "s": 58.659,
    "l": 35.098
  },
  "oklch": {
    "l": 0.43115,
    "c": 0.17086,
    "h": 315.3
  },
  "luminance": 0.06854
}

Semantic roles & 50–950 ramp

primary
#72258E
secondary
#70B956
accent
#E24670
background
#FAF6FA
surface
#F3EBF5
border
#CDC6CF
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #72258E

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

Preview Lab → · Contrast checker → · Palette generator →

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