#752B7D#752B7D

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

Color values

HEX#752B7D
RGBrgb(117, 43, 125)
HSLhsl(294, 49%, 33%)
HSVhsv(294, 66%, 49%)
CMYKcmyk(6.4%, 65.6%, 0%, 51%)
CIE-LABlab(31.79, 44.17, -31.53)
CIE-LCHlch(31.79, 54.27, 324.48°)
OKLaboklab(43.09% 0.1192 -0.0876)
OKLCHoklch(43.09% 0.148 323.7)
XYZxyz(11.9013, 6.9910, 20.1206)
Luminance0.0699 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752B7D #337D2B
analogous
#4C2B7D #752B7D #7D2B5C
triadic
#752B7D #7D752B #2B7D75
tetradic
#752B7D #7D4C2B #337D2B #2B5C7D
square
#752B7D #7D4C2B #337D2B #2B5C7D
split-complementary
#752B7D #5C7D2B #2B7D4C
monochromatic
#200C22 #4A1B4F #752B7D #A03BAB #BC5CC7

Accessibility & contrast

On white

8.76
#752B7D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#752B7D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752B7D
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752B7D#FFFFFF#000000##FFFFFF
##752B7D1.008.762.408.76
#FFFFFF8.761.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A457F
Deuteranopia (green-blind)
#384E7B
Tritanopia (blue-blind)
#773750
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #752b7d;
/* rgb */ color: rgb(117, 43, 125);
/* oklch */ color: oklch(43.1% 0.148 323.7);
Tailwind
colors: {
  custom: {
    50: '#9f6aa3',
    500: '#752b7d',
    950: '#000000',
  },
}
SCSS
$custom: #752b7d;
$custom-light: #9f6aa3;
$custom-dark: #000000;
JSON
{
  "hex": "#752b7d",
  "rgb": {
    "r": 117,
    "g": 43,
    "b": 125
  },
  "hsl": {
    "h": 294.146,
    "s": 48.81,
    "l": 32.941
  },
  "oklch": {
    "l": 0.43088,
    "c": 0.14792,
    "h": 323.7
  },
  "luminance": 0.0699
}

Semantic roles & 50–950 ramp

primary
#752B7D
secondary
#5FAD57
accent
#D84F5D
background
#FAF6FA
surface
#F3EBF4
border
#CDC6CE
text
#0F070F
muted
#7F7A7F

Preview Lab

Preview with #752B7D

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

Preview Lab → · Contrast checker → · Palette generator →

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