#732A71#732A71

#732A71 is a dark, vivid purple. Relative luminance 0.065; OKLCH L 42.0% C 0.137 H 328.8°. Best body text is #FFFFFF at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#732A71
RGBrgb(115, 42, 113)
HSLhsl(302, 46%, 31%)
HSVhsv(302, 63%, 45%)
CMYKcmyk(0%, 63.5%, 1.7%, 54.9%)
CIE-LABlab(30.63, 41.79, -25.81)
CIE-LCHlch(30.63, 49.12, 328.30°)
OKLaboklab(41.96% 0.1173 -0.0711)
OKLCHoklch(41.96% 0.137 328.8)
XYZxyz(10.8787, 6.4937, 16.3000)
Luminance0.0649 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#732A71 #2A732C
analogous
#502A73 #732A71 #732A4C
triadic
#732A71 #71732A #2A7173
tetradic
#732A71 #73502A #2A732C #2A4C73
square
#732A71 #73502A #2A732C #2A4C73
split-complementary
#732A71 #4C732A #2A7350
monochromatic
#190919 #461A45 #732A71 #A03A9D #C156BE

Accessibility & contrast

On white

9.14
#732A71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#732A71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #732A71
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##732A71#FFFFFF#000000##FFFFFF
##732A711.009.142.309.14
#FFFFFF9.141.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234273
Deuteranopia (green-blind)
#3C4C6F
Tritanopia (blue-blind)
#773249
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #732a71;
/* rgb */ color: rgb(115, 42, 113);
/* oklch */ color: oklch(42.0% 0.137 328.8);
Tailwind
colors: {
  custom: {
    50: '#9e699a',
    500: '#732a71',
    950: '#000000',
  },
}
SCSS
$custom: #732a71;
$custom-light: #9e699a;
$custom-dark: #000000;
JSON
{
  "hex": "#732a71",
  "rgb": {
    "r": 115,
    "g": 42,
    "b": 113
  },
  "hsl": {
    "h": 301.644,
    "s": 46.497,
    "l": 30.784
  },
  "oklch": {
    "l": 0.41962,
    "c": 0.13711,
    "h": 328.8
  },
  "luminance": 0.06493
}

Semantic roles & 50–950 ramp

primary
#732A71
secondary
#54A556
accent
#D65552
background
#F9F6F9
surface
#F2EBF2
border
#CCC6CC
text
#0F070E
muted
#7E7A7E

Preview Lab

Preview with #732A71

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

Preview Lab → · Contrast checker → · Palette generator →

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