#752387#752387

#752387 is a dark, vivid purple. Relative luminance 0.067; OKLCH L 42.9% C 0.168 H 319.7°. Best body text is #FFFFFF at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#752387
RGBrgb(117, 35, 135)
HSLhsl(289, 59%, 33%)
HSVhsv(289, 74%, 53%)
CMYKcmyk(13.3%, 74.1%, 0%, 47.1%)
CIE-LABlab(31.19, 49.55, -38.72)
CIE-LCHlch(31.19, 62.89, 322.00°)
OKLaboklab(42.86% 0.1282 -0.1085)
OKLCHoklch(42.86% 0.168 319.7)
XYZxyz(12.3098, 6.7339, 23.5683)
Luminance0.0673 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752387 #358723
analogous
#432387 #752387 #872367
triadic
#752387 #877523 #238775
tetradic
#752387 #874323 #358723 #236787
square
#752387 #874323 #358723 #236787
split-complementary
#752387 #678723 #238743
monochromatic
#210A26 #4B1656 #752387 #9F30B8 #BB52D2

Accessibility & contrast

On white

8.95
#752387 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#752387 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752387
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752387#FFFFFF#000000##FFFFFF
##7523871.008.952.358.95
#FFFFFF8.951.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.951.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #752387;
/* rgb */ color: rgb(117, 35, 135);
/* oklch */ color: oklch(42.9% 0.168 319.7);
Tailwind
colors: {
  custom: {
    50: '#a066aa',
    500: '#752387',
    950: '#000000',
  },
}
SCSS
$custom: #752387;
$custom-light: #a066aa;
$custom-dark: #000000;
JSON
{
  "hex": "#752387",
  "rgb": {
    "r": 117,
    "g": 35,
    "b": 135
  },
  "hsl": {
    "h": 289.2,
    "s": 58.824,
    "l": 33.333
  },
  "oklch": {
    "l": 0.42861,
    "c": 0.16793,
    "h": 319.7
  },
  "luminance": 0.06733
}

Semantic roles & 50–950 ramp

primary
#752387
secondary
#62B650
accent
#E24662
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #752387

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

Preview Lab → · Contrast checker → · Palette generator →

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