#752971#752971

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

Color values

HEX#752971
RGBrgb(117, 41, 113)
HSLhsl(303, 48%, 31%)
HSVhsv(303, 65%, 46%)
CMYKcmyk(0%, 65%, 3.4%, 54.1%)
CIE-LABlab(30.79, 42.81, -25.53)
CIE-LCHlch(30.79, 49.84, 329.19°)
OKLaboklab(42.14% 0.121 -0.0702)
OKLCHoklch(42.14% 0.14 329.9)
XYZxyz(11.1096, 6.5608, 16.3008)
Luminance0.0656 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752971 #29752D
analogous
#532975 #752971 #75294B
triadic
#752971 #717529 #297175
tetradic
#752971 #755329 #29752D #294B75
square
#752971 #755329 #29752D #294B75
split-complementary
#752971 #4B7529 #297553
monochromatic
#1A0919 #481945 #752971 #A2399D #C355BE

Accessibility & contrast

On white

9.08
#752971 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#752971 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##752971#FFFFFF#000000##FFFFFF
##7529711.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)
#234273
Deuteranopia (green-blind)
#3D4C6F
Tritanopia (blue-blind)
#793149
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #752971;
/* rgb */ color: rgb(117, 41, 113);
/* oklch */ color: oklch(42.1% 0.140 329.9);
Tailwind
colors: {
  custom: {
    50: '#9f699a',
    500: '#752971',
    950: '#000000',
  },
}
SCSS
$custom: #752971;
$custom-light: #9f699a;
$custom-dark: #000000;
JSON
{
  "hex": "#752971",
  "rgb": {
    "r": 117,
    "g": 41,
    "b": 113
  },
  "hsl": {
    "h": 303.158,
    "s": 48.101,
    "l": 30.98
  },
  "oklch": {
    "l": 0.42144,
    "c": 0.13988,
    "h": 329.9
  },
  "luminance": 0.0656
}

Semantic roles & 50–950 ramp

primary
#752971
secondary
#53A757
accent
#D85750
background
#FAF6F9
surface
#F3EBF2
border
#CDC6CC
text
#0F070E
muted
#7F7A7E

Preview Lab

Preview with #752971

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

Preview Lab → · Contrast checker → · Palette generator →

#752971 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva