#752B7E#752B7E

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

Color values

HEX#752B7E
RGBrgb(117, 43, 126)
HSLhsl(293, 49%, 33%)
HSVhsv(293, 66%, 49%)
CMYKcmyk(7.1%, 65.9%, 0%, 50.6%)
CIE-LABlab(31.84, 44.36, -32.06)
CIE-LCHlch(31.84, 54.74, 324.15°)
OKLaboklab(43.15% 0.1192 -0.0891)
OKLCHoklch(43.15% 0.149 323.2)
XYZxyz(11.9655, 7.0167, 20.4587)
Luminance0.0702 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752B7E #347E2B
analogous
#4B2B7E #752B7E #7E2B5D
triadic
#752B7E #7E752B #2B7E75
tetradic
#752B7E #7E4B2B #347E2B #2B5D7E
square
#752B7E #7E4B2B #347E2B #2B5D7E
split-complementary
#752B7E #5D7E2B #2B7E4B
monochromatic
#200C23 #4B1B50 #752B7E #9F3BAC #BC5CC7

Accessibility & contrast

On white

8.74
#752B7E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #752B7E
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752B7E#FFFFFF#000000##FFFFFF
##752B7E1.008.742.408.74
#FFFFFF8.741.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#194580
Deuteranopia (green-blind)
#374E7C
Tritanopia (blue-blind)
#773850
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #752b7e;
/* rgb */ color: rgb(117, 43, 126);
/* oklch */ color: oklch(43.1% 0.149 323.2);
Tailwind
colors: {
  custom: {
    50: '#9f6aa4',
    500: '#752b7e',
    950: '#000000',
  },
}
SCSS
$custom: #752b7e;
$custom-light: #9f6aa4;
$custom-dark: #000000;
JSON
{
  "hex": "#752b7e",
  "rgb": {
    "r": 117,
    "g": 43,
    "b": 126
  },
  "hsl": {
    "h": 293.494,
    "s": 49.112,
    "l": 33.137
  },
  "oklch": {
    "l": 0.43149,
    "c": 0.14887,
    "h": 323.2
  },
  "luminance": 0.07016
}

Semantic roles & 50–950 ramp

primary
#752B7E
secondary
#61AD58
accent
#D94F5E
background
#FAF6FA
surface
#F3EBF4
border
#CDC6CE
text
#0F070F
muted
#7F7A7F

Preview Lab

Preview with #752B7E

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

Preview Lab → · Contrast checker → · Palette generator →

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