#732788#732788

#732788 is a dark, vivid purple. Relative luminance 0.069; OKLCH L 43.0% C 0.163 H 318.1°. Best body text is #FFFFFF at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#732788
RGBrgb(115, 39, 136)
HSLhsl(287, 55%, 34%)
HSVhsv(287, 71%, 53%)
CMYKcmyk(15.4%, 71.3%, 0%, 46.7%)
CIE-LABlab(31.52, 47.67, -38.83)
CIE-LCHlch(31.52, 61.48, 320.83°)
OKLaboklab(43.05% 0.1212 -0.1089)
OKLCHoklch(43.05% 0.163 318.1)
XYZxyz(12.2391, 6.8740, 23.9699)
Luminance0.0687 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#732788 #3C8827
analogous
#422788 #732788 #88276D
triadic
#732788 #887327 #278873
tetradic
#732788 #884227 #3C8827 #276D88
square
#732788 #884227 #3C8827 #276D88
split-complementary
#732788 #6D8827 #278842
monochromatic
#230C29 #4B1958 #732788 #9B35B8 #B65AD0

Accessibility & contrast

On white

8.84
#732788 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#732788 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #732788
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##732788#FFFFFF#000000##FFFFFF
##7327881.008.842.378.84
#FFFFFF8.841.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458B
Deuteranopia (green-blind)
#2B4D86
Tritanopia (blue-blind)
#723A54
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #732788;
/* rgb */ color: rgb(115, 39, 136);
/* oklch */ color: oklch(43.0% 0.163 318.1);
Tailwind
colors: {
  custom: {
    50: '#9e68ab',
    500: '#732788',
    950: '#000000',
  },
}
SCSS
$custom: #732788;
$custom-light: #9e68ab;
$custom-dark: #000000;
JSON
{
  "hex": "#732788",
  "rgb": {
    "r": 115,
    "g": 39,
    "b": 136
  },
  "hsl": {
    "h": 287.01,
    "s": 55.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.4305,
    "c": 0.163,
    "h": 318.1
  },
  "luminance": 0.06873
}

Semantic roles & 50–950 ramp

primary
#732788
secondary
#6BB556
accent
#DF4969
background
#FAF6FA
surface
#F3EBF4
border
#CDC6CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #732788

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

Preview Lab → · Contrast checker → · Palette generator →

#732788 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva