#752688#752688

#752688 is a dark, vivid purple. Relative luminance 0.069; OKLCH L 43.2% C 0.165 H 319.1°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#752688
RGBrgb(117, 38, 136)
HSLhsl(288, 56%, 34%)
HSVhsv(288, 72%, 53%)
CMYKcmyk(14%, 72.1%, 0%, 46.7%)
CIE-LABlab(31.68, 48.55, -38.55)
CIE-LCHlch(31.68, 61.99, 321.55°)
OKLaboklab(43.23% 0.1249 -0.108)
OKLCHoklch(43.23% 0.165 319.1)
XYZxyz(12.4726, 6.9463, 23.9716)
Luminance0.0695 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752688 #398826
analogous
#442688 #752688 #88266A
triadic
#752688 #887526 #268875
tetradic
#752688 #884426 #398826 #266A88
square
#752688 #884426 #398826 #266A88
split-complementary
#752688 #6A8826 #268844
monochromatic
#230B28 #4C1958 #752688 #9E33B8 #B958D0

Accessibility & contrast

On white

8.79
#752688 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#752688 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752688
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752688#FFFFFF#000000##FFFFFF
##7526881.008.792.398.79
#FFFFFF8.791.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458B
Deuteranopia (green-blind)
#2D4D86
Tritanopia (blue-blind)
#753954
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #752688;
/* rgb */ color: rgb(117, 38, 136);
/* oklch */ color: oklch(43.2% 0.165 319.1);
Tailwind
colors: {
  custom: {
    50: '#a068ab',
    500: '#752688',
    950: '#000000',
  },
}
SCSS
$custom: #752688;
$custom-light: #a068ab;
$custom-dark: #000000;
JSON
{
  "hex": "#752688",
  "rgb": {
    "r": 117,
    "g": 38,
    "b": 136
  },
  "hsl": {
    "h": 288.367,
    "s": 56.322,
    "l": 34.118
  },
  "oklch": {
    "l": 0.43232,
    "c": 0.16515,
    "h": 319.1
  },
  "luminance": 0.06946
}

Semantic roles & 50–950 ramp

primary
#752688
secondary
#67B555
accent
#E04866
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #752688

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

Preview Lab → · Contrast checker → · Palette generator →

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