#752A9A#752A9A

#752A9A is a dark, vivid purple. Relative luminance 0.078; OKLCH L 44.9% C 0.178 H 312.0°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#752A9A
RGBrgb(117, 42, 154)
HSLhsl(280, 57%, 38%)
HSVhsv(280, 73%, 60%)
CMYKcmyk(24%, 72.7%, 0%, 39.6%)
CIE-LABlab(33.50, 50.66, -46.69)
CIE-LCHlch(33.50, 68.89, 317.34°)
OKLaboklab(44.92% 0.1188 -0.1319)
OKLCHoklch(44.92% 0.178 312)
XYZxyz(13.9957, 7.7713, 31.3283)
Luminance0.0777 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752A9A #4F9A2A
analogous
#3D2A9A #752A9A #9A2A87
triadic
#752A9A #9A752A #2A9A75
tetradic
#752A9A #9A3D2A #4F9A2A #2A879A
square
#752A9A #9A3D2A #4F9A2A #2A879A
split-complementary
#752A9A #879A2A #2A9A3D
monochromatic
#2C103A #501D6A #752A9A #9938C9 #B268D6

Accessibility & contrast

On white

8.22
#752A9A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#752A9A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752A9A
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752A9A#FFFFFF#000000##FFFFFF
##752A9A1.008.222.558.22
#FFFFFF8.221.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9D
Deuteranopia (green-blind)
#1C5098
Tritanopia (blue-blind)
#71425F
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #752a9a;
/* rgb */ color: rgb(117, 42, 154);
/* oklch */ color: oklch(44.9% 0.178 312.0);
Tailwind
colors: {
  custom: {
    50: '#a16bb8',
    500: '#752a9a',
    950: '#000000',
  },
}
SCSS
$custom: #752a9a;
$custom-light: #a16bb8;
$custom-dark: #000000;
JSON
{
  "hex": "#752a9a",
  "rgb": {
    "r": 117,
    "g": 42,
    "b": 154
  },
  "hsl": {
    "h": 280.179,
    "s": 57.143,
    "l": 38.431
  },
  "oklch": {
    "l": 0.44918,
    "c": 0.17755,
    "h": 312
  },
  "luminance": 0.07771
}

Semantic roles & 50–950 ramp

primary
#752A9A
secondary
#81BC63
accent
#E0477A
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #752A9A

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

Preview Lab → · Contrast checker → · Palette generator →

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