#752587#752587

#752587 is a dark, vivid purple. Relative luminance 0.069; OKLCH L 43.1% C 0.165 H 319.6°. Best body text is #FFFFFF at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#752587
RGBrgb(117, 37, 135)
HSLhsl(289, 57%, 34%)
HSVhsv(289, 73%, 53%)
CMYKcmyk(13.3%, 72.6%, 0%, 47.1%)
CIE-LABlab(31.47, 48.76, -38.27)
CIE-LCHlch(31.47, 61.98, 321.87°)
OKLaboklab(43.06% 0.126 -0.1072)
OKLCHoklch(43.06% 0.165 319.6)
XYZxyz(12.3703, 6.8549, 23.5885)
Luminance0.0685 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752587 #378725
analogous
#442587 #752587 #872568
triadic
#752587 #877525 #258775
tetradic
#752587 #874425 #378725 #256887
square
#752587 #874425 #378725 #256887
split-complementary
#752587 #688725 #258744
monochromatic
#220B27 #4B1857 #752587 #9F32B7 #BA56D1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##752587#FFFFFF#000000##FFFFFF
##7525871.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)
#2D4D85
Tritanopia (blue-blind)
#753853
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #752587;
/* rgb */ color: rgb(117, 37, 135);
/* oklch */ color: oklch(43.1% 0.165 319.6);
Tailwind
colors: {
  custom: {
    50: '#a067aa',
    500: '#752587',
    950: '#000000',
  },
}
SCSS
$custom: #752587;
$custom-light: #a067aa;
$custom-dark: #000000;
JSON
{
  "hex": "#752587",
  "rgb": {
    "r": 117,
    "g": 37,
    "b": 135
  },
  "hsl": {
    "h": 288.98,
    "s": 56.977,
    "l": 33.725
  },
  "oklch": {
    "l": 0.43061,
    "c": 0.16547,
    "h": 319.6
  },
  "luminance": 0.06854
}

Semantic roles & 50–950 ramp

primary
#752587
secondary
#65B553
accent
#E04864
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #752587

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

Preview Lab → · Contrast checker → · Palette generator →

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