#732C8D#732C8D

#732C8D is a dark, vivid purple. Relative luminance 0.074; OKLCH L 44.0% C 0.161 H 315.6°. Best body text is #FFFFFF at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#732C8D
RGBrgb(115, 44, 141)
HSLhsl(284, 52%, 36%)
HSVhsv(284, 69%, 55%)
CMYKcmyk(18.4%, 68.8%, 0%, 44.7%)
CIE-LABlab(32.63, 46.51, -40.14)
CIE-LCHlch(32.63, 61.43, 319.21°)
OKLaboklab(43.96% 0.1152 -0.1128)
OKLCHoklch(43.96% 0.161 315.6)
XYZxyz(12.7779, 7.3698, 25.9436)
Luminance0.0737 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#732C8D #468D2C
analogous
#432C8D #732C8D #8D2C77
triadic
#732C8D #8D732C #2C8D73
tetradic
#732C8D #8D432C #468D2C #2C778D
square
#732C8D #8D432C #468D2C #2C778D
split-complementary
#732C8D #778D2C #2C8D43
monochromatic
#270F30 #4D1D5E #732C8D #993BBC #B265CF

Accessibility & contrast

On white

8.49
#732C8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#732C8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #732C8D
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##732C8D#FFFFFF#000000##FFFFFF
##732C8D1.008.492.478.49
#FFFFFF8.491.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004990
Deuteranopia (green-blind)
#2B4F8B
Tritanopia (blue-blind)
#713F59
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #732c8d;
/* rgb */ color: rgb(115, 44, 141);
/* oklch */ color: oklch(44.0% 0.161 315.6);
Tailwind
colors: {
  custom: {
    50: '#9e6baf',
    500: '#732c8d',
    950: '#000000',
  },
}
SCSS
$custom: #732c8d;
$custom-light: #9e6baf;
$custom-dark: #000000;
JSON
{
  "hex": "#732c8d",
  "rgb": {
    "r": 115,
    "g": 44,
    "b": 141
  },
  "hsl": {
    "h": 283.918,
    "s": 52.432,
    "l": 36.275
  },
  "oklch": {
    "l": 0.43955,
    "c": 0.16123,
    "h": 315.6
  },
  "luminance": 0.07369
}

Semantic roles & 50–950 ramp

primary
#732C8D
secondary
#77B560
accent
#DC4C73
background
#FAF6FA
surface
#F3EBF4
border
#CDC6CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #732C8D

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

Preview Lab → · Contrast checker → · Palette generator →

#732C8D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva