#732873#732873

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

Color values

HEX#732873
RGBrgb(115, 40, 115)
HSLhsl(300, 48%, 30%)
HSVhsv(300, 65%, 45%)
CMYKcmyk(0%, 65.2%, 0%, 54.9%)
CIE-LABlab(30.40, 43.09, -27.43)
CIE-LCHlch(30.40, 51.08, 327.52°)
OKLaboklab(41.84% 0.12 -0.0757)
OKLCHoklch(41.84% 0.142 327.7)
XYZxyz(10.9234, 6.4009, 16.8765)
Luminance0.0640 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#732873 #287328
analogous
#4D2873 #732873 #73284D
triadic
#732873 #737328 #287373
tetradic
#732873 #734D28 #287328 #284D73
square
#732873 #734D28 #287328 #284D73
split-complementary
#732873 #4D7328 #28734D
monochromatic
#180818 #461846 #732873 #A038A0 #C352C3

Accessibility & contrast

On white

9.21
#732873 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #732873
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##732873#FFFFFF#000000##FFFFFF
##7328731.009.212.289.21
#FFFFFF9.211.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4175
Deuteranopia (green-blind)
#3A4B71
Tritanopia (blue-blind)
#77324A
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #732873;
/* rgb */ color: rgb(115, 40, 115);
/* oklch */ color: oklch(41.8% 0.142 327.7);
Tailwind
colors: {
  custom: {
    50: '#9e689b',
    500: '#732873',
    950: '#000000',
  },
}
SCSS
$custom: #732873;
$custom-light: #9e689b;
$custom-dark: #000000;
JSON
{
  "hex": "#732873",
  "rgb": {
    "r": 115,
    "g": 40,
    "b": 115
  },
  "hsl": {
    "h": 300,
    "s": 48.387,
    "l": 30.392
  },
  "oklch": {
    "l": 0.41836,
    "c": 0.14193,
    "h": 327.7
  },
  "luminance": 0.064
}

Semantic roles & 50–950 ramp

primary
#732873
secondary
#52A552
accent
#D85050
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0F060E
muted
#7E7A7E

Preview Lab

Preview with #732873

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

Preview Lab → · Contrast checker → · Palette generator →

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