#752E8D#752E8D

#752E8D is a dark, vivid purple. Relative luminance 0.077; OKLCH L 44.5% C 0.159 H 316.4°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#752E8D
RGBrgb(117, 46, 141)
HSLhsl(285, 51%, 37%)
HSVhsv(285, 67%, 55%)
CMYKcmyk(17%, 67.4%, 0%, 44.7%)
CIE-LABlab(33.26, 46.06, -39.11)
CIE-LCHlch(33.26, 60.43, 319.66°)
OKLaboklab(44.47% 0.1154 -0.1097)
OKLCHoklch(44.47% 0.159 316.4)
XYZxyz(13.1201, 7.6595, 25.9815)
Luminance0.0766 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752E8D #468D2E
analogous
#462E8D #752E8D #8D2E76
triadic
#752E8D #8D752E #2E8D75
tetradic
#752E8D #8D462E #468D2E #2E768D
square
#752E8D #8D462E #468D2E #2E768D
split-complementary
#752E8D #768D2E #2E8D46
monochromatic
#281031 #4F1F5F #752E8D #9B3DBB #B468CE

Accessibility & contrast

On white

8.29
#752E8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#752E8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752E8D
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752E8D#FFFFFF#000000##FFFFFF
##752E8D1.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#044A90
Deuteranopia (green-blind)
#2F508B
Tritanopia (blue-blind)
#744059
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #752e8d;
/* rgb */ color: rgb(117, 46, 141);
/* oklch */ color: oklch(44.5% 0.159 316.4);
Tailwind
colors: {
  custom: {
    50: '#a06caf',
    500: '#752e8d',
    950: '#000000',
  },
}
SCSS
$custom: #752e8d;
$custom-light: #a06caf;
$custom-dark: #000000;
JSON
{
  "hex": "#752e8d",
  "rgb": {
    "r": 117,
    "g": 46,
    "b": 141
  },
  "hsl": {
    "h": 284.842,
    "s": 50.802,
    "l": 36.667
  },
  "oklch": {
    "l": 0.44469,
    "c": 0.15928,
    "h": 316.4
  },
  "luminance": 0.07659
}

Semantic roles & 50–950 ramp

primary
#752E8D
secondary
#77B562
accent
#DA4E71
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #752E8D

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

Preview Lab → · Contrast checker → · Palette generator →

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