#752F91#752F91

#752F91 is a dark, vivid purple. Relative luminance 0.079; OKLCH L 44.9% C 0.162 H 314.8°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#752F91
RGBrgb(117, 47, 145)
HSLhsl(283, 51%, 38%)
HSVhsv(283, 68%, 57%)
CMYKcmyk(19.3%, 67.6%, 0%, 43.1%)
CIE-LABlab(33.69, 46.46, -40.89)
CIE-LCHlch(33.69, 61.89, 318.65°)
OKLaboklab(44.86% 0.1141 -0.115)
OKLCHoklch(44.86% 0.162 314.8)
XYZxyz(13.4626, 7.8597, 27.5905)
Luminance0.0786 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752F91 #4B912F
analogous
#442F91 #752F91 #912F7C
triadic
#752F91 #91752F #2F9175
tetradic
#752F91 #91442F #4B912F #2F7C91
square
#752F91 #91442F #4B912F #2F7C91
split-complementary
#752F91 #7C912F #2F9144
monochromatic
#2A1135 #502063 #752F91 #9A3EBF #B36BCF

Accessibility & contrast

On white

8.17
#752F91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#752F91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752F91
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752F91#FFFFFF#000000##FFFFFF
##752F911.008.172.578.17
#FFFFFF8.171.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B94
Deuteranopia (green-blind)
#2C518F
Tritanopia (blue-blind)
#73425C
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #752f91;
/* rgb */ color: rgb(117, 47, 145);
/* oklch */ color: oklch(44.9% 0.162 314.8);
Tailwind
colors: {
  custom: {
    50: '#a06db2',
    500: '#752f91',
    950: '#000000',
  },
}
SCSS
$custom: #752f91;
$custom-light: #a06db2;
$custom-dark: #000000;
JSON
{
  "hex": "#752f91",
  "rgb": {
    "r": 117,
    "g": 47,
    "b": 145
  },
  "hsl": {
    "h": 282.857,
    "s": 51.042,
    "l": 37.647
  },
  "oklch": {
    "l": 0.44857,
    "c": 0.16194,
    "h": 314.8
  },
  "luminance": 0.07859
}

Semantic roles & 50–950 ramp

primary
#752F91
secondary
#7DB665
accent
#DB4D76
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #752F91

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

Preview Lab → · Contrast checker → · Palette generator →

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