#752A8C#752A8C

#752A8C is a dark, vivid purple. Relative luminance 0.073; OKLCH L 43.9% C 0.164 H 317.2°. Best body text is #FFFFFF at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#752A8C
RGBrgb(117, 42, 140)
HSLhsl(286, 54%, 36%)
HSVhsv(286, 70%, 55%)
CMYKcmyk(16.4%, 70%, 0%, 45.1%)
CIE-LABlab(32.55, 47.66, -39.64)
CIE-LCHlch(32.55, 61.99, 320.25°)
OKLaboklab(43.94% 0.1202 -0.1113)
OKLCHoklch(43.94% 0.164 317.2)
XYZxyz(12.8970, 7.3318, 25.5417)
Luminance0.0733 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752A8C #418C2A
analogous
#442A8C #752A8C #8C2A72
triadic
#752A8C #8C752A #2A8C75
tetradic
#752A8C #8C442A #418C2A #2A728C
square
#752A8C #8C442A #418C2A #2A728C
split-complementary
#752A8C #728C2A #2A8C44
monochromatic
#260E2E #4E1C5D #752A8C #9C38BB #B661D0

Accessibility & contrast

On white

8.52
#752A8C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#752A8C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752A8C
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752A8C#FFFFFF#000000##FFFFFF
##752A8C1.008.522.478.52
#FFFFFF8.521.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00488F
Deuteranopia (green-blind)
#2C4F8A
Tritanopia (blue-blind)
#743D58
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #752a8c;
/* rgb */ color: rgb(117, 42, 140);
/* oklch */ color: oklch(43.9% 0.164 317.2);
Tailwind
colors: {
  custom: {
    50: '#a06aae',
    500: '#752a8c',
    950: '#000000',
  },
}
SCSS
$custom: #752a8c;
$custom-light: #a06aae;
$custom-dark: #000000;
JSON
{
  "hex": "#752a8c",
  "rgb": {
    "r": 117,
    "g": 42,
    "b": 140
  },
  "hsl": {
    "h": 285.918,
    "s": 53.846,
    "l": 35.686
  },
  "oklch": {
    "l": 0.43936,
    "c": 0.16377,
    "h": 317.2
  },
  "luminance": 0.07331
}

Semantic roles & 50–950 ramp

primary
#752A8C
secondary
#71B55C
accent
#DD4B6D
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #752A8C

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

Preview Lab → · Contrast checker → · Palette generator →

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