#752791#752791

#752791 is a dark, vivid purple. Relative luminance 0.073; OKLCH L 44.0% C 0.172 H 315.5°. Best body text is #FFFFFF at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#752791
RGBrgb(117, 39, 145)
HSLhsl(284, 58%, 36%)
HSVhsv(284, 73%, 57%)
CMYKcmyk(19.3%, 73.1%, 0%, 43.1%)
CIE-LABlab(32.43, 49.99, -42.91)
CIE-LCHlch(32.43, 65.88, 319.36°)
OKLaboklab(43.96% 0.123 -0.1208)
OKLCHoklch(43.96% 0.172 315.5)
XYZxyz(13.1717, 7.2778, 27.4935)
Luminance0.0728 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752791 #439127
analogous
#402791 #752791 #912778
triadic
#752791 #917527 #279175
tetradic
#752791 #914027 #439127 #277891
square
#752791 #914027 #439127 #277891
split-complementary
#752791 #789127 #279140
monochromatic
#270D31 #4E1A61 #752791 #9C34C1 #B55FD4

Accessibility & contrast

On white

8.55
#752791 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#752791 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752791
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752791#FFFFFF#000000##FFFFFF
##7527911.008.552.468.55
#FFFFFF8.551.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004894
Deuteranopia (green-blind)
#254E8F
Tritanopia (blue-blind)
#733D59
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #752791;
/* rgb */ color: rgb(117, 39, 145);
/* oklch */ color: oklch(44.0% 0.172 315.5);
Tailwind
colors: {
  custom: {
    50: '#a069b2',
    500: '#752791',
    950: '#000000',
  },
}
SCSS
$custom: #752791;
$custom-light: #a069b2;
$custom-dark: #000000;
JSON
{
  "hex": "#752791",
  "rgb": {
    "r": 117,
    "g": 39,
    "b": 145
  },
  "hsl": {
    "h": 284.151,
    "s": 57.609,
    "l": 36.078
  },
  "oklch": {
    "l": 0.43957,
    "c": 0.17245,
    "h": 315.5
  },
  "luminance": 0.07277
}

Semantic roles & 50–950 ramp

primary
#752791
secondary
#74B95B
accent
#E14770
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #752791

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

Preview Lab → · Contrast checker → · Palette generator →

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