#752F8A#752F8A

#752F8A is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.4% C 0.155 H 317.6°. Best body text is #FFFFFF at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#752F8A
RGBrgb(117, 47, 138)
HSLhsl(286, 49%, 36%)
HSVhsv(286, 66%, 54%)
CMYKcmyk(15.2%, 65.9%, 0%, 45.9%)
CIE-LABlab(33.24, 44.96, -37.29)
CIE-LCHlch(33.24, 58.41, 320.32°)
OKLaboklab(44.39% 0.1143 -0.1044)
OKLCHoklch(44.39% 0.155 317.6)
XYZxyz(12.9394, 7.6504, 24.8349)
Luminance0.0765 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752F8A #448A2F
analogous
#482F8A #752F8A #8A2F72
triadic
#752F8A #8A752F #2F8A75
tetradic
#752F8A #8A482F #448A2F #2F728A
square
#752F8A #8A482F #448A2F #2F728A
split-complementary
#752F8A #728A2F #2F8A48
monochromatic
#28102F #4E1F5C #752F8A #9C3FB8 #B568CC

Accessibility & contrast

On white

8.30
#752F8A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #752F8A
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752F8A#FFFFFF#000000##FFFFFF
##752F8A1.008.302.538.30
#FFFFFF8.301.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F4A8D
Deuteranopia (green-blind)
#325088
Tritanopia (blue-blind)
#743F58
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #752f8a;
/* rgb */ color: rgb(117, 47, 138);
/* oklch */ color: oklch(44.4% 0.155 317.6);
Tailwind
colors: {
  custom: {
    50: '#a06dad',
    500: '#752f8a',
    950: '#000000',
  },
}
SCSS
$custom: #752f8a;
$custom-light: #a06dad;
$custom-dark: #000000;
JSON
{
  "hex": "#752f8a",
  "rgb": {
    "r": 117,
    "g": 47,
    "b": 138
  },
  "hsl": {
    "h": 286.154,
    "s": 49.189,
    "l": 36.275
  },
  "oklch": {
    "l": 0.44394,
    "c": 0.15482,
    "h": 317.6
  },
  "luminance": 0.0765
}

Semantic roles & 50–950 ramp

primary
#752F8A
secondary
#75B362
accent
#D94F6F
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #752F8A

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

Preview Lab → · Contrast checker → · Palette generator →

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