#752A8E#752A8E

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

Color values

HEX#752A8E
RGBrgb(117, 42, 142)
HSLhsl(285, 54%, 36%)
HSVhsv(285, 70%, 56%)
CMYKcmyk(17.6%, 70.4%, 0%, 44.3%)
CIE-LABlab(32.68, 48.08, -40.66)
CIE-LCHlch(32.68, 62.97, 319.78°)
OKLaboklab(44.07% 0.12 -0.1143)
OKLCHoklch(44.07% 0.166 316.4)
XYZxyz(13.0458, 7.3913, 26.3254)
Luminance0.0739 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752A8E #438E2A
analogous
#432A8E #752A8E #8E2A75
triadic
#752A8E #8E752A #2A8E75
tetradic
#752A8E #8E432A #438E2A #2A758E
square
#752A8E #8E432A #438E2A #2A758E
split-complementary
#752A8E #758E2A #2A8E43
monochromatic
#270E30 #4E1C5F #752A8E #9C38BD #B562D1

Accessibility & contrast

On white

8.47
#752A8E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #752A8E
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752A8E#FFFFFF#000000##FFFFFF
##752A8E1.008.472.488.47
#FFFFFF8.471.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004891
Deuteranopia (green-blind)
#2A4F8C
Tritanopia (blue-blind)
#743E59
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #752a8e;
/* rgb */ color: rgb(117, 42, 142);
/* oklch */ color: oklch(44.1% 0.166 316.4);
Tailwind
colors: {
  custom: {
    50: '#a06ab0',
    500: '#752a8e',
    950: '#000000',
  },
}
SCSS
$custom: #752a8e;
$custom-light: #a06ab0;
$custom-dark: #000000;
JSON
{
  "hex": "#752a8e",
  "rgb": {
    "r": 117,
    "g": 42,
    "b": 142
  },
  "hsl": {
    "h": 285,
    "s": 54.348,
    "l": 36.078
  },
  "oklch": {
    "l": 0.44072,
    "c": 0.16573,
    "h": 316.4
  },
  "luminance": 0.07391
}

Semantic roles & 50–950 ramp

primary
#752A8E
secondary
#74B65D
accent
#DE4A6F
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #752A8E

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

Preview Lab → · Contrast checker → · Palette generator →

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