#732D7B#732D7B

#732D7B is a dark, vivid purple. Relative luminance 0.070; OKLCH L 42.9% C 0.142 H 323.5°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#732D7B
RGBrgb(115, 45, 123)
HSLhsl(294, 46%, 33%)
HSVhsv(294, 63%, 48%)
CMYKcmyk(6.5%, 63.4%, 0%, 51.8%)
CIE-LABlab(31.70, 42.30, -30.43)
CIE-LCHlch(31.70, 52.11, 324.27°)
OKLaboklab(42.92% 0.114 -0.0845)
OKLCHoklch(42.92% 0.142 323.5)
XYZxyz(11.5834, 6.9523, 19.4668)
Luminance0.0695 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#732D7B #357B2D
analogous
#4C2D7B #732D7B #7B2D5C
triadic
#732D7B #7B732D #2D7B73
tetradic
#732D7B #7B4C2D #357B2D #2D5C7B
square
#732D7B #7B4C2D #357B2D #2D5C7B
split-complementary
#732D7B #5C7B2D #2D7B4C
monochromatic
#1F0C21 #491D4E #732D7B #9D3DA8 #BA5EC4

Accessibility & contrast

On white

8.79
#732D7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#732D7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #732D7B
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##732D7B#FFFFFF#000000##FFFFFF
##732D7B1.008.792.398.79
#FFFFFF8.791.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E457D
Deuteranopia (green-blind)
#394D79
Tritanopia (blue-blind)
#75384F
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #732d7b;
/* rgb */ color: rgb(115, 45, 123);
/* oklch */ color: oklch(42.9% 0.142 323.5);
Tailwind
colors: {
  custom: {
    50: '#9e6ba1',
    500: '#732d7b',
    950: '#000000',
  },
}
SCSS
$custom: #732d7b;
$custom-light: #9e6ba1;
$custom-dark: #000000;
JSON
{
  "hex": "#732d7b",
  "rgb": {
    "r": 115,
    "g": 45,
    "b": 123
  },
  "hsl": {
    "h": 293.846,
    "s": 46.429,
    "l": 32.941
  },
  "oklch": {
    "l": 0.42923,
    "c": 0.14192,
    "h": 323.5
  },
  "luminance": 0.06952
}

Semantic roles & 50–950 ramp

primary
#732D7B
secondary
#62AB59
accent
#D6525F
background
#F9F6FA
surface
#F2EBF3
border
#CCC6CD
text
#0F070F
muted
#7E7A7F

Preview Lab

Preview with #732D7B

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

Preview Lab → · Contrast checker → · Palette generator →

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