#732872#732872

#732872 is a dark, vivid purple. Relative luminance 0.064; OKLCH L 41.8% C 0.141 H 328.3°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#732872
RGBrgb(115, 40, 114)
HSLhsl(301, 48%, 30%)
HSVhsv(301, 65%, 45%)
CMYKcmyk(0%, 65.2%, 0.9%, 54.9%)
CIE-LABlab(30.35, 42.90, -26.88)
CIE-LCHlch(30.35, 50.62, 327.93°)
OKLaboklab(41.78% 0.12 -0.0742)
OKLCHoklch(41.78% 0.141 328.3)
XYZxyz(10.8662, 6.3781, 16.5751)
Luminance0.0638 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#732872 #287329
analogous
#4E2873 #732872 #73284C
triadic
#732872 #727328 #287273
tetradic
#732872 #734E28 #287329 #284C73
square
#732872 #734E28 #287329 #284C73
split-complementary
#732872 #4C7328 #28734E
monochromatic
#180818 #461845 #732872 #A0389F #C352C1

Accessibility & contrast

On white

9.23
#732872 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#732872 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #732872
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##732872#FFFFFF#000000##FFFFFF
##7328721.009.232.289.23
#FFFFFF9.231.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4174
Deuteranopia (green-blind)
#3A4B70
Tritanopia (blue-blind)
#773149
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #732872;
/* rgb */ color: rgb(115, 40, 114);
/* oklch */ color: oklch(41.8% 0.141 328.3);
Tailwind
colors: {
  custom: {
    50: '#9e689b',
    500: '#732872',
    950: '#000000',
  },
}
SCSS
$custom: #732872;
$custom-light: #9e689b;
$custom-dark: #000000;
JSON
{
  "hex": "#732872",
  "rgb": {
    "r": 115,
    "g": 40,
    "b": 114
  },
  "hsl": {
    "h": 300.8,
    "s": 48.387,
    "l": 30.392
  },
  "oklch": {
    "l": 0.41778,
    "c": 0.14102,
    "h": 328.3
  },
  "luminance": 0.06377
}

Semantic roles & 50–950 ramp

primary
#732872
secondary
#52A553
accent
#D85250
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0F060E
muted
#7E7A7E

Preview Lab

Preview with #732872

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

Preview Lab → · Contrast checker → · Palette generator →

#732872 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva