#752A9B#752A9B

#752A9B is a dark, vivid violet. Relative luminance 0.078; OKLCH L 45.0% C 0.179 H 311.7°. Best body text is #FFFFFF at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#752A9B
RGBrgb(117, 42, 155)
HSLhsl(280, 57%, 39%)
HSVhsv(280, 73%, 61%)
CMYKcmyk(24.5%, 72.9%, 0%, 39.2%)
CIE-LABlab(33.57, 50.88, -47.18)
CIE-LCHlch(33.57, 69.39, 317.16°)
OKLaboklab(44.99% 0.1187 -0.1334)
OKLCHoklch(44.99% 0.179 311.7)
XYZxyz(14.0794, 7.8048, 31.7688)
Luminance0.0780 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752A9B #509B2A
analogous
#3C2A9B #752A9B #9B2A88
triadic
#752A9B #9B752A #2A9B75
tetradic
#752A9B #9B3C2A #509B2A #2A889B
square
#752A9B #9B3C2A #509B2A #2A889B
split-complementary
#752A9B #889B2A #2A9B3C
monochromatic
#2C103B #511D6B #752A9B #9939C9 #B269D6

Accessibility & contrast

On white

8.20
#752A9B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#752A9B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752A9B
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752A9B#FFFFFF#000000##FFFFFF
##752A9B1.008.202.568.20
#FFFFFF8.201.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9E
Deuteranopia (green-blind)
#1A5099
Tritanopia (blue-blind)
#704360
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #752a9b;
/* rgb */ color: rgb(117, 42, 155);
/* oklch */ color: oklch(45.0% 0.179 311.7);
Tailwind
colors: {
  custom: {
    50: '#a16bb9',
    500: '#752a9b',
    950: '#000000',
  },
}
SCSS
$custom: #752a9b;
$custom-light: #a16bb9;
$custom-dark: #000000;
JSON
{
  "hex": "#752a9b",
  "rgb": {
    "r": 117,
    "g": 42,
    "b": 155
  },
  "hsl": {
    "h": 279.823,
    "s": 57.36,
    "l": 38.627
  },
  "oklch": {
    "l": 0.44991,
    "c": 0.17854,
    "h": 311.7
  },
  "luminance": 0.07804
}

Semantic roles & 50–950 ramp

primary
#752A9B
secondary
#82BD64
accent
#E1477B
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #752A9B

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

Preview Lab → · Contrast checker → · Palette generator →

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