#732587#732587

#732587 is a dark, vivid purple. Relative luminance 0.067; OKLCH L 42.8% C 0.165 H 318.6°. Best body text is #FFFFFF at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#732587
RGBrgb(115, 37, 135)
HSLhsl(288, 57%, 34%)
HSVhsv(288, 73%, 53%)
CMYKcmyk(14.8%, 72.6%, 0%, 47.1%)
CIE-LABlab(31.16, 48.30, -38.79)
CIE-LCHlch(31.16, 61.95, 321.23°)
OKLaboklab(42.77% 0.1235 -0.1088)
OKLCHoklch(42.77% 0.165 318.6)
XYZxyz(12.1044, 6.7178, 23.5760)
Luminance0.0672 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#732587 #398725
analogous
#422587 #732587 #87256A
triadic
#732587 #877325 #258773
tetradic
#732587 #874225 #398725 #256A87
square
#732587 #874225 #398725 #256A87
split-complementary
#732587 #6A8725 #258742
monochromatic
#210B27 #4A1857 #732587 #9C32B7 #B856D1

Accessibility & contrast

On white

8.96
#732587 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#732587 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #732587
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##732587#FFFFFF#000000##FFFFFF
##7325871.008.962.348.96
#FFFFFF8.961.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448A
Deuteranopia (green-blind)
#2B4C85
Tritanopia (blue-blind)
#733853
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #732587;
/* rgb */ color: rgb(115, 37, 135);
/* oklch */ color: oklch(42.8% 0.165 318.6);
Tailwind
colors: {
  custom: {
    50: '#9f67aa',
    500: '#732587',
    950: '#000000',
  },
}
SCSS
$custom: #732587;
$custom-light: #9f67aa;
$custom-dark: #000000;
JSON
{
  "hex": "#732587",
  "rgb": {
    "r": 115,
    "g": 37,
    "b": 135
  },
  "hsl": {
    "h": 287.755,
    "s": 56.977,
    "l": 33.725
  },
  "oklch": {
    "l": 0.4277,
    "c": 0.1646,
    "h": 318.6
  },
  "luminance": 0.06717
}

Semantic roles & 50–950 ramp

primary
#732587
secondary
#67B553
accent
#E04867
background
#FAF6FA
surface
#F3EBF4
border
#CDC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #732587

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

Preview Lab → · Contrast checker → · Palette generator →

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