#752997#752997

#752997 is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.6% C 0.176 H 313.1°. Best body text is #FFFFFF at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#752997
RGBrgb(117, 41, 151)
HSLhsl(281, 57%, 38%)
HSVhsv(281, 73%, 59%)
CMYKcmyk(22.5%, 72.8%, 0%, 40.8%)
CIE-LABlab(33.14, 50.43, -45.44)
CIE-LCHlch(33.14, 67.88, 317.98°)
OKLaboklab(44.6% 0.1202 -0.1283)
OKLCHoklch(44.6% 0.176 313.1)
XYZxyz(13.7140, 7.6026, 30.0172)
Luminance0.0760 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752997 #4B9729
analogous
#3E2997 #752997 #972982
triadic
#752997 #977529 #299775
tetradic
#752997 #973E29 #4B9729 #298297
square
#752997 #973E29 #4B9729 #298297
split-complementary
#752997 #829729 #29973E
monochromatic
#2A0F37 #501C67 #752997 #9A36C7 #B365D5

Accessibility & contrast

On white

8.33
#752997 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#752997 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752997
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752997#FFFFFF#000000##FFFFFF
##7529971.008.332.528.33
#FFFFFF8.331.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9A
Deuteranopia (green-blind)
#1F5095
Tritanopia (blue-blind)
#71415D
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #752997;
/* rgb */ color: rgb(117, 41, 151);
/* oklch */ color: oklch(44.6% 0.176 313.1);
Tailwind
colors: {
  custom: {
    50: '#a16ab6',
    500: '#752997',
    950: '#000000',
  },
}
SCSS
$custom: #752997;
$custom-light: #a16ab6;
$custom-dark: #000000;
JSON
{
  "hex": "#752997",
  "rgb": {
    "r": 117,
    "g": 41,
    "b": 151
  },
  "hsl": {
    "h": 281.455,
    "s": 57.292,
    "l": 37.647
  },
  "oklch": {
    "l": 0.44595,
    "c": 0.17581,
    "h": 313.1
  },
  "luminance": 0.07602
}

Semantic roles & 50–950 ramp

primary
#752997
secondary
#7DBB61
accent
#E14777
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #752997

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

Preview Lab → · Contrast checker → · Palette generator →

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