#752E7F#752E7F

#752E7F is a dark, vivid purple. Relative luminance 0.073; OKLCH L 43.6% C 0.145 H 322.6°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#752E7F
RGBrgb(117, 46, 127)
HSLhsl(293, 47%, 34%)
HSVhsv(293, 64%, 50%)
CMYKcmyk(7.9%, 63.8%, 0%, 50.2%)
CIE-LABlab(32.41, 43.16, -31.79)
CIE-LCHlch(32.41, 53.60, 323.63°)
OKLaboklab(43.58% 0.1154 -0.0884)
OKLCHoklch(43.58% 0.145 322.6)
XYZxyz(12.1435, 7.2688, 20.8379)
Luminance0.0727 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752E7F #387F2E
analogous
#4D2E7F #752E7F #7F2E61
triadic
#752E7F #7F752E #2E7F75
tetradic
#752E7F #7F4D2E #387F2E #2E617F
square
#752E7F #7F4D2E #387F2E #2E617F
split-complementary
#752E7F #617F2E #2E7F4D
monochromatic
#220D25 #4C1E52 #752E7F #9E3EAC #BA61C6

Accessibility & contrast

On white

8.56
#752E7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#752E7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752E7F
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752E7F#FFFFFF#000000##FFFFFF
##752E7F1.008.562.458.56
#FFFFFF8.561.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D4781
Deuteranopia (green-blind)
#394F7D
Tritanopia (blue-blind)
#773A52
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #752e7f;
/* rgb */ color: rgb(117, 46, 127);
/* oklch */ color: oklch(43.6% 0.145 322.6);
Tailwind
colors: {
  custom: {
    50: '#9f6ca4',
    500: '#752e7f',
    950: '#000000',
  },
}
SCSS
$custom: #752e7f;
$custom-light: #9f6ca4;
$custom-dark: #000000;
JSON
{
  "hex": "#752e7f",
  "rgb": {
    "r": 117,
    "g": 46,
    "b": 127
  },
  "hsl": {
    "h": 292.593,
    "s": 46.821,
    "l": 33.922
  },
  "oklch": {
    "l": 0.43578,
    "c": 0.14537,
    "h": 322.6
  },
  "luminance": 0.07268
}

Semantic roles & 50–950 ramp

primary
#752E7F
secondary
#66AD5C
accent
#D65162
background
#FAF6FA
surface
#F3ECF4
border
#CDC7CE
text
#0F070F
muted
#7F7A7F

Preview Lab

Preview with #752E7F

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

Preview Lab → · Contrast checker → · Palette generator →

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