#752088#752088

#752088 is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.6% C 0.172 H 319.5°. Best body text is #FFFFFF at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#752088
RGBrgb(117, 32, 136)
HSLhsl(289, 62%, 33%)
HSVhsv(289, 76%, 53%)
CMYKcmyk(14%, 76.5%, 0%, 46.7%)
CIE-LABlab(30.86, 50.89, -39.87)
CIE-LCHlch(30.86, 64.65, 321.92°)
OKLaboklab(42.65% 0.1311 -0.1119)
OKLCHoklch(42.65% 0.172 319.5)
XYZxyz(12.2960, 6.5931, 23.9127)
Luminance0.0659 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752088 #338820
analogous
#412088 #752088 #882067
triadic
#752088 #887520 #208875
tetradic
#752088 #884120 #338820 #206788
square
#752088 #884120 #338820 #206788
split-complementary
#752088 #678820 #208841
monochromatic
#200925 #4A1456 #752088 #A02CBA #BC4DD5

Accessibility & contrast

On white

9.06
#752088 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#752088 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752088
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752088#FFFFFF#000000##FFFFFF
##7520881.009.062.329.06
#FFFFFF9.061.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438B
Deuteranopia (green-blind)
#284B86
Tritanopia (blue-blind)
#753553
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #752088;
/* rgb */ color: rgb(117, 32, 136);
/* oklch */ color: oklch(42.6% 0.172 319.5);
Tailwind
colors: {
  custom: {
    50: '#a065ab',
    500: '#752088',
    950: '#000000',
  },
}
SCSS
$custom: #752088;
$custom-light: #a065ab;
$custom-dark: #000000;
JSON
{
  "hex": "#752088",
  "rgb": {
    "r": 117,
    "g": 32,
    "b": 136
  },
  "hsl": {
    "h": 289.038,
    "s": 61.905,
    "l": 32.941
  },
  "oklch": {
    "l": 0.42647,
    "c": 0.17231,
    "h": 319.5
  },
  "luminance": 0.06593
}

Semantic roles & 50–950 ramp

primary
#752088
secondary
#5FB84C
accent
#E54360
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #752088

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

Preview Lab → · Contrast checker → · Palette generator →

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