#752A8F#752A8F

#752A8F is a dark, vivid purple. Relative luminance 0.074; OKLCH L 44.1% C 0.167 H 316.0°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#752A8F
RGBrgb(117, 42, 143)
HSLhsl(285, 55%, 36%)
HSVhsv(285, 71%, 56%)
CMYKcmyk(18.2%, 70.6%, 0%, 43.9%)
CIE-LABlab(32.75, 48.29, -41.17)
CIE-LCHlch(32.75, 63.46, 319.55°)
OKLaboklab(44.14% 0.12 -0.1157)
OKLCHoklch(44.14% 0.167 316)
XYZxyz(13.1212, 7.4215, 26.7226)
Luminance0.0742 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752A8F #448F2A
analogous
#422A8F #752A8F #8F2A77
triadic
#752A8F #8F752A #2A8F75
tetradic
#752A8F #8F422A #448F2A #2A778F
square
#752A8F #8F422A #448F2A #2A778F
split-complementary
#752A8F #778F2A #2A8F42
monochromatic
#280E30 #4E1C60 #752A8F #9C38BE #B562D1

Accessibility & contrast

On white

8.45
#752A8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#752A8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752A8F
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752A8F#FFFFFF#000000##FFFFFF
##752A8F1.008.452.488.45
#FFFFFF8.451.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004992
Deuteranopia (green-blind)
#294F8D
Tritanopia (blue-blind)
#733E59
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #752a8f;
/* rgb */ color: rgb(117, 42, 143);
/* oklch */ color: oklch(44.1% 0.167 316.0);
Tailwind
colors: {
  custom: {
    50: '#a06ab0',
    500: '#752a8f',
    950: '#000000',
  },
}
SCSS
$custom: #752a8f;
$custom-light: #a06ab0;
$custom-dark: #000000;
JSON
{
  "hex": "#752a8f",
  "rgb": {
    "r": 117,
    "g": 42,
    "b": 143
  },
  "hsl": {
    "h": 284.554,
    "s": 54.595,
    "l": 36.275
  },
  "oklch": {
    "l": 0.4414,
    "c": 0.16671,
    "h": 316
  },
  "luminance": 0.07421
}

Semantic roles & 50–950 ramp

primary
#752A8F
secondary
#75B75E
accent
#DE4A70
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #752A8F

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

Preview Lab → · Contrast checker → · Palette generator →

#752A8F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva