#752A7A#752A7A

#752A7A is a dark, vivid purple. Relative luminance 0.068; OKLCH L 42.8% C 0.147 H 325.2°. Best body text is #FFFFFF at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#752A7A
RGBrgb(117, 42, 122)
HSLhsl(296, 49%, 32%)
HSVhsv(296, 66%, 48%)
CMYKcmyk(4.1%, 65.6%, 0%, 52.2%)
CIE-LABlab(31.45, 44.04, -30.18)
CIE-LCHlch(31.45, 53.39, 325.58°)
OKLaboklab(42.79% 0.1203 -0.0837)
OKLCHoklch(42.79% 0.147 325.2)
XYZxyz(11.6767, 6.8437, 19.1145)
Luminance0.0684 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752A7A #2F7A2A
analogous
#4D2A7A #752A7A #7A2A57
triadic
#752A7A #7A752A #2A7A75
tetradic
#752A7A #7A4D2A #2F7A2A #2A577A
square
#752A7A #7A4D2A #2F7A2A #2A577A
split-complementary
#752A7A #577A2A #2A7A4D
monochromatic
#1E0B1F #491A4C #752A7A #A13AA8 #BF59C6

Accessibility & contrast

On white

8.87
#752A7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#752A7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752A7A
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752A7A#FFFFFF#000000##FFFFFF
##752A7A1.008.872.378.87
#FFFFFF8.871.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C447C
Deuteranopia (green-blind)
#394D78
Tritanopia (blue-blind)
#78364E
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #752a7a;
/* rgb */ color: rgb(117, 42, 122);
/* oklch */ color: oklch(42.8% 0.147 325.2);
Tailwind
colors: {
  custom: {
    50: '#9f69a1',
    500: '#752a7a',
    950: '#000000',
  },
}
SCSS
$custom: #752a7a;
$custom-light: #9f69a1;
$custom-dark: #000000;
JSON
{
  "hex": "#752a7a",
  "rgb": {
    "r": 117,
    "g": 42,
    "b": 122
  },
  "hsl": {
    "h": 296.25,
    "s": 48.78,
    "l": 32.157
  },
  "oklch": {
    "l": 0.42787,
    "c": 0.14656,
    "h": 325.2
  },
  "luminance": 0.06843
}

Semantic roles & 50–950 ramp

primary
#752A7A
secondary
#5AAB55
accent
#D84F58
background
#FAF6F9
surface
#F3EBF2
border
#CDC6CC
text
#0F070F
muted
#7F7A7E

Preview Lab

Preview with #752A7A

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

Preview Lab → · Contrast checker → · Palette generator →

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