#732A97#732A97

#732A97 is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.4% C 0.174 H 312.1°. Best body text is #FFFFFF at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#732A97
RGBrgb(115, 42, 151)
HSLhsl(280, 56%, 38%)
HSVhsv(280, 72%, 59%)
CMYKcmyk(23.8%, 72.2%, 0%, 40.8%)
CIE-LABlab(33.00, 49.58, -45.69)
CIE-LCHlch(33.00, 67.42, 317.34°)
OKLaboklab(44.43% 0.1165 -0.1291)
OKLCHoklch(44.43% 0.174 312.1)
XYZxyz(13.4831, 7.5355, 30.0164)
Luminance0.0754 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#732A97 #4E972A
analogous
#3C2A97 #732A97 #972A85
triadic
#732A97 #97732A #2A9773
tetradic
#732A97 #973C2A #4E972A #2A8597
square
#732A97 #973C2A #4E972A #2A8597
split-complementary
#732A97 #85972A #2A973C
monochromatic
#2A0F37 #4F1D67 #732A97 #9737C7 #B067D5

Accessibility & contrast

On white

8.38
#732A97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#732A97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #732A97
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##732A97#FFFFFF#000000##FFFFFF
##732A971.008.382.518.38
#FFFFFF8.381.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9A
Deuteranopia (green-blind)
#1D4F95
Tritanopia (blue-blind)
#6F425E
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #732a97;
/* rgb */ color: rgb(115, 42, 151);
/* oklch */ color: oklch(44.4% 0.174 312.1);
Tailwind
colors: {
  custom: {
    50: '#9f6ab6',
    500: '#732a97',
    950: '#000000',
  },
}
SCSS
$custom: #732a97;
$custom-light: #9f6ab6;
$custom-dark: #000000;
JSON
{
  "hex": "#732a97",
  "rgb": {
    "r": 115,
    "g": 42,
    "b": 151
  },
  "hsl": {
    "h": 280.183,
    "s": 56.477,
    "l": 37.843
  },
  "oklch": {
    "l": 0.4443,
    "c": 0.17389,
    "h": 312.1
  },
  "luminance": 0.07535
}

Semantic roles & 50–950 ramp

primary
#732A97
secondary
#7FBB62
accent
#E0487A
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #732A97

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

Preview Lab → · Contrast checker → · Palette generator →

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