#732787#732787

#732787 is a dark, vivid purple. Relative luminance 0.068; OKLCH L 43.0% C 0.162 H 318.5°. Best body text is #FFFFFF at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#732787
RGBrgb(115, 39, 135)
HSLhsl(288, 55%, 34%)
HSVhsv(288, 71%, 53%)
CMYKcmyk(14.8%, 71.1%, 0%, 47.1%)
CIE-LABlab(31.45, 47.46, -38.32)
CIE-LCHlch(31.45, 61.00, 321.08°)
OKLaboklab(42.98% 0.1213 -0.1074)
OKLCHoklch(42.98% 0.162 318.5)
XYZxyz(12.1683, 6.8457, 23.5974)
Luminance0.0684 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#732787 #3B8727
analogous
#432787 #732787 #87276B
triadic
#732787 #877327 #278773
tetradic
#732787 #874327 #3B8727 #276B87
square
#732787 #874327 #3B8727 #276B87
split-complementary
#732787 #6B8727 #278743
monochromatic
#220C28 #4B1958 #732787 #9B35B6 #B759CF

Accessibility & contrast

On white

8.86
#732787 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #732787
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##732787#FFFFFF#000000##FFFFFF
##7327871.008.862.378.86
#FFFFFF8.861.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458A
Deuteranopia (green-blind)
#2C4C85
Tritanopia (blue-blind)
#733954
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #732787;
/* rgb */ color: rgb(115, 39, 135);
/* oklch */ color: oklch(43.0% 0.162 318.5);
Tailwind
colors: {
  custom: {
    50: '#9e68aa',
    500: '#732787',
    950: '#000000',
  },
}
SCSS
$custom: #732787;
$custom-light: #9e68aa;
$custom-dark: #000000;
JSON
{
  "hex": "#732787",
  "rgb": {
    "r": 115,
    "g": 39,
    "b": 135
  },
  "hsl": {
    "h": 287.5,
    "s": 55.172,
    "l": 34.118
  },
  "oklch": {
    "l": 0.42982,
    "c": 0.16204,
    "h": 318.5
  },
  "luminance": 0.06845
}

Semantic roles & 50–950 ramp

primary
#732787
secondary
#69B456
accent
#DF4968
background
#FAF6FA
surface
#F3EBF4
border
#CDC6CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #732787

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

Preview Lab → · Contrast checker → · Palette generator →

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