#732D8D#732D8D

#732D8D is a dark, vivid purple. Relative luminance 0.074; OKLCH L 44.1% C 0.160 H 315.5°. Best body text is #FFFFFF at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#732D8D
RGBrgb(115, 45, 141)
HSLhsl(284, 52%, 36%)
HSVhsv(284, 68%, 55%)
CMYKcmyk(18.4%, 68.1%, 0%, 44.7%)
CIE-LABlab(32.80, 46.05, -39.87)
CIE-LCHlch(32.80, 60.91, 319.11°)
OKLaboklab(44.07% 0.114 -0.112)
OKLCHoklch(44.07% 0.16 315.5)
XYZxyz(12.8156, 7.4452, 25.9561)
Luminance0.0745 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#732D8D #478D2D
analogous
#432D8D #732D8D #8D2D77
triadic
#732D8D #8D732D #2D8D73
tetradic
#732D8D #8D432D #478D2D #2D778D
square
#732D8D #8D432D #478D2D #2D778D
split-complementary
#732D8D #778D2D #2D8D43
monochromatic
#270F30 #4D1E5F #732D8D #993CBB #B266CE

Accessibility & contrast

On white

8.44
#732D8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#732D8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #732D8D
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##732D8D#FFFFFF#000000##FFFFFF
##732D8D1.008.442.498.44
#FFFFFF8.441.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.441.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #732d8d;
/* rgb */ color: rgb(115, 45, 141);
/* oklch */ color: oklch(44.1% 0.160 315.5);
Tailwind
colors: {
  custom: {
    50: '#9e6baf',
    500: '#732d8d',
    950: '#000000',
  },
}
SCSS
$custom: #732d8d;
$custom-light: #9e6baf;
$custom-dark: #000000;
JSON
{
  "hex": "#732d8d",
  "rgb": {
    "r": 115,
    "g": 45,
    "b": 141
  },
  "hsl": {
    "h": 283.75,
    "s": 51.613,
    "l": 36.471
  },
  "oklch": {
    "l": 0.44073,
    "c": 0.15985,
    "h": 315.5
  },
  "luminance": 0.07445
}

Semantic roles & 50–950 ramp

primary
#732D8D
secondary
#78B561
accent
#DB4D73
background
#FAF6FA
surface
#F3ECF4
border
#CDC7CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #732D8D

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

Preview Lab → · Contrast checker → · Palette generator →

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