#732E8A#732E8A

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

Color values

HEX#732E8A
RGBrgb(115, 46, 138)
HSLhsl(285, 50%, 36%)
HSVhsv(285, 67%, 54%)
CMYKcmyk(16.7%, 66.7%, 0%, 45.9%)
CIE-LABlab(32.78, 44.93, -38.06)
CIE-LCHlch(32.78, 58.89, 319.74°)
OKLaboklab(43.99% 0.1129 -0.1067)
OKLCHoklch(43.99% 0.155 316.6)
XYZxyz(12.6340, 7.4343, 24.8093)
Luminance0.0743 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#732E8A #458A2E
analogous
#452E8A #732E8A #8A2E73
triadic
#732E8A #8A732E #2E8A73
tetradic
#732E8A #8A452E #458A2E #2E738A
square
#732E8A #8A452E #458A2E #2E738A
split-complementary
#732E8A #738A2E #2E8A45
monochromatic
#260F2E #4D1F5C #732E8A #993DB8 #B366CC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##732E8A#FFFFFF#000000##FFFFFF
##732E8A1.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)
#09498D
Deuteranopia (green-blind)
#2F4F88
Tritanopia (blue-blind)
#723F58
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #732e8a;
/* rgb */ color: rgb(115, 46, 138);
/* oklch */ color: oklch(44.0% 0.155 316.6);
Tailwind
colors: {
  custom: {
    50: '#9e6cad',
    500: '#732e8a',
    950: '#000000',
  },
}
SCSS
$custom: #732e8a;
$custom-light: #9e6cad;
$custom-dark: #000000;
JSON
{
  "hex": "#732e8a",
  "rgb": {
    "r": 115,
    "g": 46,
    "b": 138
  },
  "hsl": {
    "h": 285,
    "s": 50,
    "l": 36.078
  },
  "oklch": {
    "l": 0.43994,
    "c": 0.15538,
    "h": 316.6
  },
  "luminance": 0.07434
}

Semantic roles & 50–950 ramp

primary
#732E8A
secondary
#75B361
accent
#DA4E71
background
#FAF6FA
surface
#F3ECF4
border
#CDC7CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #732E8A

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

Preview Lab → · Contrast checker → · Palette generator →

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