#752E7B#752E7B

#752E7B is a dark, vivid purple. Relative luminance 0.072; OKLCH L 43.3% C 0.141 H 324.5°. Best body text is #FFFFFF at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#752E7B
RGBrgb(117, 46, 123)
HSLhsl(295, 46%, 33%)
HSVhsv(295, 63%, 48%)
CMYKcmyk(4.9%, 62.6%, 0%, 51.8%)
CIE-LABlab(32.18, 42.36, -29.64)
CIE-LCHlch(32.18, 51.71, 325.02°)
OKLaboklab(43.34% 0.1152 -0.0821)
OKLCHoklch(43.34% 0.141 324.5)
XYZxyz(11.8880, 7.1666, 19.4922)
Luminance0.0717 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752E7B #347B2E
analogous
#4E2E7B #752E7B #7B2E5A
triadic
#752E7B #7B752E #2E7B75
tetradic
#752E7B #7B4E2E #347B2E #2E5A7B
square
#752E7B #7B4E2E #347B2E #2E5A7B
split-complementary
#752E7B #5A7B2E #2E7B4E
monochromatic
#200D22 #4B1D4E #752E7B #9F3FA8 #BC60C3

Accessibility & contrast

On white

8.63
#752E7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#752E7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752E7B
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752E7B#FFFFFF#000000##FFFFFF
##752E7B1.008.632.438.63
#FFFFFF8.631.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21467D
Deuteranopia (green-blind)
#3B4F79
Tritanopia (blue-blind)
#773950
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #752e7b;
/* rgb */ color: rgb(117, 46, 123);
/* oklch */ color: oklch(43.3% 0.141 324.5);
Tailwind
colors: {
  custom: {
    50: '#9f6ca1',
    500: '#752e7b',
    950: '#000000',
  },
}
SCSS
$custom: #752e7b;
$custom-light: #9f6ca1;
$custom-dark: #000000;
JSON
{
  "hex": "#752e7b",
  "rgb": {
    "r": 117,
    "g": 46,
    "b": 123
  },
  "hsl": {
    "h": 295.325,
    "s": 45.562,
    "l": 33.137
  },
  "oklch": {
    "l": 0.43338,
    "c": 0.14149,
    "h": 324.5
  },
  "luminance": 0.07166
}

Semantic roles & 50–950 ramp

primary
#752E7B
secondary
#61AA5B
accent
#D5535D
background
#FAF6FA
surface
#F3ECF3
border
#CDC7CD
text
#0F070F
muted
#7F7A7F

Preview Lab

Preview with #752E7B

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

Preview Lab → · Contrast checker → · Palette generator →

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