#752A7D#752A7D

#752A7D is a dark, vivid purple. Relative luminance 0.069; OKLCH L 43.0% C 0.149 H 323.7°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#752A7D
RGBrgb(117, 42, 125)
HSLhsl(294, 50%, 33%)
HSVhsv(294, 66%, 49%)
CMYKcmyk(6.4%, 66.4%, 0%, 51%)
CIE-LABlab(31.62, 44.62, -31.79)
CIE-LCHlch(31.62, 54.79, 324.54°)
OKLaboklab(42.97% 0.1204 -0.0883)
OKLCHoklch(42.97% 0.149 323.7)
XYZxyz(11.8654, 6.9192, 20.1086)
Luminance0.0692 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752A7D #327D2A
analogous
#4B2A7D #752A7D #7D2A5B
triadic
#752A7D #7D752A #2A7D75
tetradic
#752A7D #7D4B2A #327D2A #2A5B7D
square
#752A7D #7D4B2A #327D2A #2A5B7D
split-complementary
#752A7D #5B7D2A #2A7D4B
monochromatic
#1F0B21 #4A1B4F #752A7D #A039AB #BD5AC8

Accessibility & contrast

On white

8.81
#752A7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#752A7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752A7D
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752A7D#FFFFFF#000000##FFFFFF
##752A7D1.008.812.388.81
#FFFFFF8.811.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#19457F
Deuteranopia (green-blind)
#374D7B
Tritanopia (blue-blind)
#77374F
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #752a7d;
/* rgb */ color: rgb(117, 42, 125);
/* oklch */ color: oklch(43.0% 0.149 323.7);
Tailwind
colors: {
  custom: {
    50: '#9f6aa3',
    500: '#752a7d',
    950: '#000000',
  },
}
SCSS
$custom: #752a7d;
$custom-light: #9f6aa3;
$custom-dark: #000000;
JSON
{
  "hex": "#752a7d",
  "rgb": {
    "r": 117,
    "g": 42,
    "b": 125
  },
  "hsl": {
    "h": 294.217,
    "s": 49.701,
    "l": 32.745
  },
  "oklch": {
    "l": 0.42969,
    "c": 0.14937,
    "h": 323.7
  },
  "luminance": 0.06919
}

Semantic roles & 50–950 ramp

primary
#752A7D
secondary
#5EAD56
accent
#D94F5C
background
#FAF6FA
surface
#F3EBF4
border
#CDC6CE
text
#0F070F
muted
#7F7A7F

Preview Lab

Preview with #752A7D

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

Preview Lab → · Contrast checker → · Palette generator →

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