#752A6E#752A6E

#752A6E is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.1% C 0.136 H 331.5°. Best body text is #FFFFFF at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#752A6E
RGBrgb(117, 42, 110)
HSLhsl(306, 47%, 31%)
HSVhsv(306, 64%, 46%)
CMYKcmyk(0%, 64.1%, 6%, 54.1%)
CIE-LABlab(30.79, 41.81, -23.61)
CIE-LCHlch(30.79, 48.01, 330.54°)
OKLaboklab(42.1% 0.1193 -0.0647)
OKLCHoklch(42.1% 0.136 331.5)
XYZxyz(10.9785, 6.5644, 15.4377)
Luminance0.0656 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752A6E #2A7531
analogous
#562A75 #752A6E #752A48
triadic
#752A6E #6E752A #2A6E75
tetradic
#752A6E #75562A #2A7531 #2A4875
square
#752A6E #75562A #2A7531 #2A4875
split-complementary
#752A6E #48752A #2A7556
monochromatic
#1B0A19 #481A44 #752A6E #A23A98 #C357B9

Accessibility & contrast

On white

9.08
#752A6E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#752A6E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752A6E
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752A6E#FFFFFF#000000##FFFFFF
##752A6E1.009.082.319.08
#FFFFFF9.081.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#264270
Deuteranopia (green-blind)
#3F4C6C
Tritanopia (blue-blind)
#7A3148
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #752a6e;
/* rgb */ color: rgb(117, 42, 110);
/* oklch */ color: oklch(42.1% 0.136 331.5);
Tailwind
colors: {
  custom: {
    50: '#9f6998',
    500: '#752a6e',
    950: '#000000',
  },
}
SCSS
$custom: #752a6e;
$custom-light: #9f6998;
$custom-dark: #000000;
JSON
{
  "hex": "#752a6e",
  "rgb": {
    "r": 117,
    "g": 42,
    "b": 110
  },
  "hsl": {
    "h": 305.6,
    "s": 47.17,
    "l": 31.176
  },
  "oklch": {
    "l": 0.42099,
    "c": 0.13572,
    "h": 331.5
  },
  "luminance": 0.06564
}

Semantic roles & 50–950 ramp

primary
#752A6E
secondary
#54A75C
accent
#D75D51
background
#FAF6F9
surface
#F3EBF2
border
#CDC6CC
text
#0F070D
muted
#7F7A7E

Preview Lab

Preview with #752A6E

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

Preview Lab → · Contrast checker → · Palette generator →

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