#732B97#732B97

#732B97 is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.5% C 0.173 H 312.0°. Best body text is #FFFFFF at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#732B97
RGBrgb(115, 43, 151)
HSLhsl(280, 56%, 38%)
HSVhsv(280, 72%, 59%)
CMYKcmyk(23.8%, 71.5%, 0%, 40.8%)
CIE-LABlab(33.15, 49.14, -45.44)
CIE-LCHlch(33.15, 66.93, 317.24°)
OKLaboklab(44.54% 0.1154 -0.1283)
OKLCHoklch(44.54% 0.173 312)
XYZxyz(13.5190, 7.6073, 30.0284)
Luminance0.0761 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#732B97 #4F972B
analogous
#3D2B97 #732B97 #972B85
triadic
#732B97 #97732B #2B9773
tetradic
#732B97 #973D2B #4F972B #2B8597
square
#732B97 #973D2B #4F972B #2B8597
split-complementary
#732B97 #85972B #2B973D
monochromatic
#2A1038 #4F1D67 #732B97 #9739C7 #B068D4

Accessibility & contrast

On white

8.33
#732B97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#732B97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #732B97
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##732B97#FFFFFF#000000##FFFFFF
##732B971.008.332.528.33
#FFFFFF8.331.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9A
Deuteranopia (green-blind)
#1E4F95
Tritanopia (blue-blind)
#6F425E
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #732b97;
/* rgb */ color: rgb(115, 43, 151);
/* oklch */ color: oklch(44.5% 0.173 312.0);
Tailwind
colors: {
  custom: {
    50: '#9f6bb6',
    500: '#732b97',
    950: '#000000',
  },
}
SCSS
$custom: #732b97;
$custom-light: #9f6bb6;
$custom-dark: #000000;
JSON
{
  "hex": "#732b97",
  "rgb": {
    "r": 115,
    "g": 43,
    "b": 151
  },
  "hsl": {
    "h": 280,
    "s": 55.67,
    "l": 38.039
  },
  "oklch": {
    "l": 0.44541,
    "c": 0.17263,
    "h": 312
  },
  "luminance": 0.07607
}

Semantic roles & 50–950 ramp

primary
#732B97
secondary
#80BB63
accent
#DF497B
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #732B97

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

Preview Lab → · Contrast checker → · Palette generator →

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