#752F7F#752F7F

#752F7F is a dark, vivid purple. Relative luminance 0.073; OKLCH L 43.7% C 0.144 H 322.5°. Best body text is #FFFFFF at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#752F7F
RGBrgb(117, 47, 127)
HSLhsl(293, 46%, 34%)
HSVhsv(293, 63%, 50%)
CMYKcmyk(7.9%, 63%, 0%, 50.2%)
CIE-LABlab(32.59, 42.68, -31.51)
CIE-LCHlch(32.59, 53.05, 323.56°)
OKLaboklab(43.71% 0.1141 -0.0876)
OKLCHoklch(43.71% 0.144 322.5)
XYZxyz(12.1830, 7.3479, 20.8511)
Luminance0.0735 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752F7F #397F2F
analogous
#4D2F7F #752F7F #7F2F61
triadic
#752F7F #7F752F #2F7F75
tetradic
#752F7F #7F4D2F #397F2F #2F617F
square
#752F7F #7F4D2F #397F2F #2F617F
split-complementary
#752F7F #617F2F #2F7F4D
monochromatic
#230E26 #4C1E52 #752F7F #9E40AC #B963C5

Accessibility & contrast

On white

8.50
#752F7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#752F7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752F7F
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752F7F#FFFFFF#000000##FFFFFF
##752F7F1.008.502.478.50
#FFFFFF8.501.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4781
Deuteranopia (green-blind)
#394F7D
Tritanopia (blue-blind)
#773B52
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #752f7f;
/* rgb */ color: rgb(117, 47, 127);
/* oklch */ color: oklch(43.7% 0.144 322.5);
Tailwind
colors: {
  custom: {
    50: '#9f6ca4',
    500: '#752f7f',
    950: '#000000',
  },
}
SCSS
$custom: #752f7f;
$custom-light: #9f6ca4;
$custom-dark: #000000;
JSON
{
  "hex": "#752f7f",
  "rgb": {
    "r": 117,
    "g": 47,
    "b": 127
  },
  "hsl": {
    "h": 292.5,
    "s": 45.977,
    "l": 34.118
  },
  "oklch": {
    "l": 0.43705,
    "c": 0.14384,
    "h": 322.5
  },
  "luminance": 0.07347
}

Semantic roles & 50–950 ramp

primary
#752F7F
secondary
#67AC5E
accent
#D65263
background
#FAF6FA
surface
#F3ECF4
border
#CDC7CE
text
#0F070F
muted
#7F7A7F

Preview Lab

Preview with #752F7F

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

Preview Lab → · Contrast checker → · Palette generator →

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