#752A7C#752A7C

#752A7C is a dark, vivid purple. Relative luminance 0.069; OKLCH L 42.9% C 0.148 H 324.2°. Best body text is #FFFFFF at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#752A7C
RGBrgb(117, 42, 124)
HSLhsl(295, 49%, 33%)
HSVhsv(295, 66%, 49%)
CMYKcmyk(5.6%, 66.1%, 0%, 51.4%)
CIE-LABlab(31.56, 44.43, -31.25)
CIE-LCHlch(31.56, 54.32, 324.88°)
OKLaboklab(42.91% 0.1204 -0.0868)
OKLCHoklch(42.91% 0.148 324.2)
XYZxyz(11.8019, 6.8938, 19.7739)
Luminance0.0689 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752A7C #317C2A
analogous
#4C2A7C #752A7C #7C2A5A
triadic
#752A7C #7C752A #2A7C75
tetradic
#752A7C #7C4C2A #317C2A #2A5A7C
square
#752A7C #7C4C2A #317C2A #2A5A7C
split-complementary
#752A7C #5A7C2A #2A7C4C
monochromatic
#1F0B21 #4A1B4E #752A7C #A039AA #BE59C7

Accessibility & contrast

On white

8.83
#752A7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #752A7C
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752A7C#FFFFFF#000000##FFFFFF
##752A7C1.008.832.388.83
#FFFFFF8.831.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A447E
Deuteranopia (green-blind)
#384D7A
Tritanopia (blue-blind)
#77364F
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #752a7c;
/* rgb */ color: rgb(117, 42, 124);
/* oklch */ color: oklch(42.9% 0.148 324.2);
Tailwind
colors: {
  custom: {
    50: '#9f69a2',
    500: '#752a7c',
    950: '#000000',
  },
}
SCSS
$custom: #752a7c;
$custom-light: #9f69a2;
$custom-dark: #000000;
JSON
{
  "hex": "#752a7c",
  "rgb": {
    "r": 117,
    "g": 42,
    "b": 124
  },
  "hsl": {
    "h": 294.878,
    "s": 49.398,
    "l": 32.549
  },
  "oklch": {
    "l": 0.42908,
    "c": 0.14843,
    "h": 324.2
  },
  "luminance": 0.06893
}

Semantic roles & 50–950 ramp

primary
#752A7C
secondary
#5DAD55
accent
#D94F5B
background
#FAF6FA
surface
#F3EBF3
border
#CDC6CD
text
#0F070F
muted
#7F7A7F

Preview Lab

Preview with #752A7C

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

Preview Lab → · Contrast checker → · Palette generator →

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