#752F82#752F82

#752F82 is a dark, vivid purple. Relative luminance 0.074; OKLCH L 43.9% C 0.147 H 321.1°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#752F82
RGBrgb(117, 47, 130)
HSLhsl(291, 47%, 35%)
HSVhsv(291, 64%, 51%)
CMYKcmyk(10%, 63.8%, 0%, 49%)
CIE-LABlab(32.76, 43.29, -33.10)
CIE-LCHlch(32.76, 54.50, 322.59°)
OKLaboklab(43.89% 0.1142 -0.0922)
OKLCHoklch(43.89% 0.147 321.1)
XYZxyz(12.3814, 7.4272, 21.8962)
Luminance0.0743 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752F82 #3C822F
analogous
#4B2F82 #752F82 #822F66
triadic
#752F82 #82752F #2F8275
tetradic
#752F82 #824B2F #3C822F #2F6682
square
#752F82 #824B2F #3C822F #2F6682
split-complementary
#752F82 #66822F #2F824B
monochromatic
#240E28 #4D1F55 #752F82 #9D3FAF #B864C7

Accessibility & contrast

On white

8.45
#752F82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#752F82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752F82
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752F82#FFFFFF#000000##FFFFFF
##752F821.008.452.498.45
#FFFFFF8.451.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B4885
Deuteranopia (green-blind)
#385080
Tritanopia (blue-blind)
#763C54
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #752f82;
/* rgb */ color: rgb(117, 47, 130);
/* oklch */ color: oklch(43.9% 0.147 321.1);
Tailwind
colors: {
  custom: {
    50: '#9f6ca7',
    500: '#752f82',
    950: '#000000',
  },
}
SCSS
$custom: #752f82;
$custom-light: #9f6ca7;
$custom-dark: #000000;
JSON
{
  "hex": "#752f82",
  "rgb": {
    "r": 117,
    "g": 47,
    "b": 130
  },
  "hsl": {
    "h": 290.602,
    "s": 46.893,
    "l": 34.706
  },
  "oklch": {
    "l": 0.43888,
    "c": 0.14681,
    "h": 321.1
  },
  "luminance": 0.07427
}

Semantic roles & 50–950 ramp

primary
#752F82
secondary
#6BAE5F
accent
#D75166
background
#FAF6FA
surface
#F3ECF4
border
#CDC7CE
text
#0F070F
muted
#7F7A7F

Preview Lab

Preview with #752F82

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

Preview Lab → · Contrast checker → · Palette generator →

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