#752B74#752B74

#752B74 is a dark, vivid purple. Relative luminance 0.068; OKLCH L 42.6% C 0.140 H 328.2°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#752B74
RGBrgb(117, 43, 116)
HSLhsl(301, 46%, 31%)
HSVhsv(301, 63%, 46%)
CMYKcmyk(0%, 63.2%, 0.9%, 54.1%)
CIE-LABlab(31.28, 42.44, -26.66)
CIE-LCHlch(31.28, 50.12, 327.87°)
OKLaboklab(42.56% 0.1186 -0.0735)
OKLCHoklch(42.56% 0.14 328.2)
XYZxyz(11.3522, 6.7714, 17.2287)
Luminance0.0677 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752B74 #2B752C
analogous
#512B75 #752B74 #752B4F
triadic
#752B74 #74752B #2B7475
tetradic
#752B74 #75512B #2B752C #2B4F75
square
#752B74 #75512B #2B752C #2B4F75
split-complementary
#752B74 #4F752B #2B7551
monochromatic
#1B0A1B #481B48 #752B74 #A23BA0 #C259C0

Accessibility & contrast

On white

8.92
#752B74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#752B74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752B74
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752B74#FFFFFF#000000##FFFFFF
##752B741.008.922.358.92
#FFFFFF8.921.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234376
Deuteranopia (green-blind)
#3D4D72
Tritanopia (blue-blind)
#79344B
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #752b74;
/* rgb */ color: rgb(117, 43, 116);
/* oklch */ color: oklch(42.6% 0.140 328.2);
Tailwind
colors: {
  custom: {
    50: '#9f6a9c',
    500: '#752b74',
    950: '#000000',
  },
}
SCSS
$custom: #752b74;
$custom-light: #9f6a9c;
$custom-dark: #000000;
JSON
{
  "hex": "#752b74",
  "rgb": {
    "r": 117,
    "g": 43,
    "b": 116
  },
  "hsl": {
    "h": 300.811,
    "s": 46.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.42557,
    "c": 0.13955,
    "h": 328.2
  },
  "luminance": 0.06771
}

Semantic roles & 50–950 ramp

primary
#752B74
secondary
#55A756
accent
#D65452
background
#FAF6F9
surface
#F3EBF2
border
#CDC6CC
text
#0F070E
muted
#7F7A7E

Preview Lab

Preview with #752B74

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

Preview Lab → · Contrast checker → · Palette generator →

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