#72278B#72278B

#72278B is a dark, vivid purple. Relative luminance 0.069; OKLCH L 43.1% C 0.165 H 316.3°. Best body text is #FFFFFF at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#72278B
RGBrgb(114, 39, 139)
HSLhsl(285, 56%, 35%)
HSVhsv(285, 72%, 55%)
CMYKcmyk(18%, 71.9%, 0%, 45.5%)
CIE-LABlab(31.56, 48.06, -40.63)
CIE-LCHlch(31.56, 62.94, 319.79°)
OKLaboklab(43.11% 0.1197 -0.1142)
OKLCHoklch(43.11% 0.165 316.3)
XYZxyz(12.3244, 6.8930, 25.1024)
Luminance0.0689 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#72278B #408B27
analogous
#40278B #72278B #8B2772
triadic
#72278B #8B7227 #278B72
tetradic
#72278B #8B4027 #408B27 #27728B
square
#72278B #8B4027 #408B27 #27728B
split-complementary
#72278B #728B27 #278B40
monochromatic
#240C2B #4B1A5B #72278B #9934BB #B45BD1

Accessibility & contrast

On white

8.83
#72278B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#72278B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #72278B
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##72278B#FFFFFF#000000##FFFFFF
##72278B1.008.832.388.83
#FFFFFF8.831.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468E
Deuteranopia (green-blind)
#274C89
Tritanopia (blue-blind)
#703B56
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #72278b;
/* rgb */ color: rgb(114, 39, 139);
/* oklch */ color: oklch(43.1% 0.165 316.3);
Tailwind
colors: {
  custom: {
    50: '#9e68ad',
    500: '#72278b',
    950: '#000000',
  },
}
SCSS
$custom: #72278b;
$custom-light: #9e68ad;
$custom-dark: #000000;
JSON
{
  "hex": "#72278b",
  "rgb": {
    "r": 114,
    "g": 39,
    "b": 139
  },
  "hsl": {
    "h": 285,
    "s": 56.18,
    "l": 34.902
  },
  "oklch": {
    "l": 0.43113,
    "c": 0.16548,
    "h": 316.3
  },
  "luminance": 0.06893
}

Semantic roles & 50–950 ramp

primary
#72278B
secondary
#6FB658
accent
#DF486E
background
#FAF6FA
surface
#F3EBF4
border
#CDC6CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #72278B

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

Preview Lab → · Contrast checker → · Palette generator →

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