#752B6E#752B6E

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

Color values

HEX#752B6E
RGBrgb(117, 43, 110)
HSLhsl(306, 46%, 31%)
HSVhsv(306, 63%, 46%)
CMYKcmyk(0%, 63.2%, 6%, 54.1%)
CIE-LABlab(30.96, 41.34, -23.34)
CIE-LCHlch(30.96, 47.47, 330.55°)
OKLaboklab(42.22% 0.118 -0.064)
OKLCHoklch(42.22% 0.134 331.5)
XYZxyz(11.0144, 6.6362, 15.4496)
Luminance0.0664 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752B6E #2B7532
analogous
#572B75 #752B6E #752B49
triadic
#752B6E #6E752B #2B6E75
tetradic
#752B6E #75572B #2B7532 #2B4975
square
#752B6E #75572B #2B7532 #2B4975
split-complementary
#752B6E #49752B #2B7557
monochromatic
#1B0A1A #481B44 #752B6E #A23B98 #C259B8

Accessibility & contrast

On white

9.02
#752B6E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#752B6E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752B6E
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752B6E#FFFFFF#000000##FFFFFF
##752B6E1.009.022.339.02
#FFFFFF9.021.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#274270
Deuteranopia (green-blind)
#404D6C
Tritanopia (blue-blind)
#7A3248
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #752b6e;
/* rgb */ color: rgb(117, 43, 110);
/* oklch */ color: oklch(42.2% 0.134 331.5);
Tailwind
colors: {
  custom: {
    50: '#9f6a98',
    500: '#752b6e',
    950: '#000000',
  },
}
SCSS
$custom: #752b6e;
$custom-light: #9f6a98;
$custom-dark: #000000;
JSON
{
  "hex": "#752b6e",
  "rgb": {
    "r": 117,
    "g": 43,
    "b": 110
  },
  "hsl": {
    "h": 305.676,
    "s": 46.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.42223,
    "c": 0.13418,
    "h": 331.5
  },
  "luminance": 0.06635
}

Semantic roles & 50–950 ramp

primary
#752B6E
secondary
#55A75D
accent
#D65E52
background
#FAF6F9
surface
#F3EBF2
border
#CDC6CC
text
#0F070D
muted
#7F7A7E

Preview Lab

Preview with #752B6E

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

Preview Lab → · Contrast checker → · Palette generator →

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