#72258C#72258C

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

Color values

HEX#72258C
RGBrgb(114, 37, 140)
HSLhsl(285, 58%, 35%)
HSVhsv(285, 74%, 55%)
CMYKcmyk(18.6%, 73.6%, 0%, 45.1%)
CIE-LABlab(31.33, 49.11, -41.62)
CIE-LCHlch(31.33, 64.37, 319.72°)
OKLaboklab(42.97% 0.1218 -0.1171)
OKLCHoklch(42.97% 0.169 316.1)
XYZxyz(12.3339, 6.7945, 25.4676)
Luminance0.0679 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#72258C #3F8C25
analogous
#3E258C #72258C #8C2573
triadic
#72258C #8C7225 #258C72
tetradic
#72258C #8C3E25 #3F8C25 #25738C
square
#72258C #8C3E25 #3F8C25 #25738C
split-complementary
#72258C #738C25 #258C3E
monochromatic
#230B2B #4B185C #72258C #9932BC #B458D3

Accessibility & contrast

On white

8.90
#72258C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #72258C
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##72258C#FFFFFF#000000##FFFFFF
##72258C1.008.902.368.90
#FFFFFF8.901.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458F
Deuteranopia (green-blind)
#244C8A
Tritanopia (blue-blind)
#703A56
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #72258c;
/* rgb */ color: rgb(114, 37, 140);
/* oklch */ color: oklch(43.0% 0.169 316.1);
Tailwind
colors: {
  custom: {
    50: '#9e67ae',
    500: '#72258c',
    950: '#000000',
  },
}
SCSS
$custom: #72258c;
$custom-light: #9e67ae;
$custom-dark: #000000;
JSON
{
  "hex": "#72258c",
  "rgb": {
    "r": 114,
    "g": 37,
    "b": 140
  },
  "hsl": {
    "h": 284.854,
    "s": 58.192,
    "l": 34.706
  },
  "oklch": {
    "l": 0.42973,
    "c": 0.16894,
    "h": 316.1
  },
  "luminance": 0.06794
}

Semantic roles & 50–950 ramp

primary
#72258C
secondary
#6EB855
accent
#E1466E
background
#FAF6FA
surface
#F3EBF4
border
#CDC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #72258C

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

Preview Lab → · Contrast checker → · Palette generator →

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