#732F8A#732F8A

#732F8A is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.1% C 0.154 H 316.5°. Best body text is #FFFFFF at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#732F8A
RGBrgb(115, 47, 138)
HSLhsl(285, 49%, 36%)
HSVhsv(285, 66%, 54%)
CMYKcmyk(16.7%, 65.9%, 0%, 45.9%)
CIE-LABlab(32.95, 44.46, -37.78)
CIE-LCHlch(32.95, 58.35, 319.64°)
OKLaboklab(44.12% 0.1117 -0.1059)
OKLCHoklch(44.12% 0.154 316.5)
XYZxyz(12.6735, 7.5133, 24.8225)
Luminance0.0751 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#732F8A #468A2F
analogous
#462F8A #732F8A #8A2F74
triadic
#732F8A #8A732F #2F8A73
tetradic
#732F8A #8A462F #468A2F #2F748A
square
#732F8A #8A462F #468A2F #2F748A
split-complementary
#732F8A #748A2F #2F8A46
monochromatic
#27102F #4D1F5C #732F8A #993FB8 #B268CC

Accessibility & contrast

On white

8.39
#732F8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#732F8A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #732F8A
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##732F8A#FFFFFF#000000##FFFFFF
##732F8A1.008.392.508.39
#FFFFFF8.391.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D498D
Deuteranopia (green-blind)
#304F88
Tritanopia (blue-blind)
#724058
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #732f8a;
/* rgb */ color: rgb(115, 47, 138);
/* oklch */ color: oklch(44.1% 0.154 316.5);
Tailwind
colors: {
  custom: {
    50: '#9e6cad',
    500: '#732f8a',
    950: '#000000',
  },
}
SCSS
$custom: #732f8a;
$custom-light: #9e6cad;
$custom-dark: #000000;
JSON
{
  "hex": "#732f8a",
  "rgb": {
    "r": 115,
    "g": 47,
    "b": 138
  },
  "hsl": {
    "h": 284.835,
    "s": 49.189,
    "l": 36.275
  },
  "oklch": {
    "l": 0.44119,
    "c": 0.15395,
    "h": 316.5
  },
  "luminance": 0.07513
}

Semantic roles & 50–950 ramp

primary
#732F8A
secondary
#77B362
accent
#D94F72
background
#FAF6FA
surface
#F3ECF4
border
#CDC7CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #732F8A

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

Preview Lab → · Contrast checker → · Palette generator →

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