#72278F#72278F

#72278F is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.4% C 0.169 H 314.8°. Best body text is #FFFFFF at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#72278F
RGBrgb(114, 39, 143)
HSLhsl(283, 57%, 36%)
HSVhsv(283, 73%, 56%)
CMYKcmyk(20.3%, 72.7%, 0%, 43.9%)
CIE-LABlab(31.83, 48.91, -42.66)
CIE-LCHlch(31.83, 64.90, 318.90°)
OKLaboklab(43.39% 0.1193 -0.1202)
OKLCHoklch(43.39% 0.169 314.8)
XYZxyz(12.6221, 7.0121, 26.6699)
Luminance0.0701 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#72278F #448F27
analogous
#3E278F #72278F #8F2778
triadic
#72278F #8F7227 #278F72
tetradic
#72278F #8F3E27 #448F27 #27788F
square
#72278F #8F3E27 #448F27 #27788F
split-complementary
#72278F #788F27 #278F3E
monochromatic
#250D2F #4C1A5F #72278F #9834BF #B25DD3

Accessibility & contrast

On white

8.74
#72278F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#72278F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #72278F
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##72278F#FFFFFF#000000##FFFFFF
##72278F1.008.742.408.74
#FFFFFF8.741.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004792
Deuteranopia (green-blind)
#234D8D
Tritanopia (blue-blind)
#703D58
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #72278f;
/* rgb */ color: rgb(114, 39, 143);
/* oklch */ color: oklch(43.4% 0.169 314.8);
Tailwind
colors: {
  custom: {
    50: '#9e68b0',
    500: '#72278f',
    950: '#000000',
  },
}
SCSS
$custom: #72278f;
$custom-light: #9e68b0;
$custom-dark: #000000;
JSON
{
  "hex": "#72278f",
  "rgb": {
    "r": 114,
    "g": 39,
    "b": 143
  },
  "hsl": {
    "h": 283.269,
    "s": 57.143,
    "l": 35.686
  },
  "oklch": {
    "l": 0.43394,
    "c": 0.16937,
    "h": 314.8
  },
  "luminance": 0.07012
}

Semantic roles & 50–950 ramp

primary
#72278F
secondary
#74B85A
accent
#E04772
background
#FAF6FA
surface
#F3EBF5
border
#CDC6CF
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #72278F

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

Preview Lab → · Contrast checker → · Palette generator →

#72278F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva