#752A7F#752A7F

#752A7F is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.1% C 0.151 H 322.8°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#752A7F
RGBrgb(117, 42, 127)
HSLhsl(293, 50%, 33%)
HSVhsv(293, 67%, 50%)
CMYKcmyk(7.9%, 66.9%, 0%, 50.2%)
CIE-LABlab(31.74, 45.02, -32.85)
CIE-LCHlch(31.74, 55.73, 323.88°)
OKLaboklab(43.09% 0.1205 -0.0914)
OKLCHoklch(43.09% 0.151 322.8)
XYZxyz(11.9945, 6.9708, 20.7883)
Luminance0.0697 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752A7F #347F2A
analogous
#4A2A7F #752A7F #7F2A5E
triadic
#752A7F #7F752A #2A7F75
tetradic
#752A7F #7F4A2A #347F2A #2A5E7F
square
#752A7F #7F4A2A #347F2A #2A5E7F
split-complementary
#752A7F #5E7F2A #2A7F4A
monochromatic
#200C23 #4B1B51 #752A7F #9F39AD #BC5BC9

Accessibility & contrast

On white

8.77
#752A7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#752A7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752A7F
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752A7F#FFFFFF#000000##FFFFFF
##752A7F1.008.772.398.77
#FFFFFF8.771.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#164582
Deuteranopia (green-blind)
#364E7D
Tritanopia (blue-blind)
#773851
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #752a7f;
/* rgb */ color: rgb(117, 42, 127);
/* oklch */ color: oklch(43.1% 0.151 322.8);
Tailwind
colors: {
  custom: {
    50: '#9f6aa4',
    500: '#752a7f',
    950: '#000000',
  },
}
SCSS
$custom: #752a7f;
$custom-light: #9f6aa4;
$custom-dark: #000000;
JSON
{
  "hex": "#752a7f",
  "rgb": {
    "r": 117,
    "g": 42,
    "b": 127
  },
  "hsl": {
    "h": 292.941,
    "s": 50.296,
    "l": 33.137
  },
  "oklch": {
    "l": 0.43092,
    "c": 0.15126,
    "h": 322.8
  },
  "luminance": 0.0697
}

Semantic roles & 50–950 ramp

primary
#752A7F
secondary
#61AE57
accent
#DA4E5E
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F070F
muted
#7F7A7F

Preview Lab

Preview with #752A7F

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

Preview Lab → · Contrast checker → · Palette generator →

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