#752188#752188

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

Color values

HEX#752188
RGBrgb(117, 33, 136)
HSLhsl(289, 61%, 33%)
HSVhsv(289, 76%, 53%)
CMYKcmyk(14%, 75.7%, 0%, 46.7%)
CIE-LABlab(30.99, 50.52, -39.66)
CIE-LCHlch(30.99, 64.23, 321.86°)
OKLaboklab(42.74% 0.1301 -0.1113)
OKLCHoklch(42.74% 0.171 319.5)
XYZxyz(12.3233, 6.6478, 23.9218)
Luminance0.0665 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752188 #348821
analogous
#412188 #752188 #882167
triadic
#752188 #887521 #218875
tetradic
#752188 #884121 #348821 #216788
square
#752188 #884121 #348821 #216788
split-complementary
#752188 #678821 #218841
monochromatic
#200925 #4B1557 #752188 #9F2DB9 #BC4FD4

Accessibility & contrast

On white

9.02
#752188 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#752188 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752188
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752188#FFFFFF#000000##FFFFFF
##7521881.009.022.339.02
#FFFFFF9.021.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438B
Deuteranopia (green-blind)
#294C86
Tritanopia (blue-blind)
#753653
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #752188;
/* rgb */ color: rgb(117, 33, 136);
/* oklch */ color: oklch(42.7% 0.171 319.5);
Tailwind
colors: {
  custom: {
    50: '#a066ab',
    500: '#752188',
    950: '#000000',
  },
}
SCSS
$custom: #752188;
$custom-light: #a066ab;
$custom-dark: #000000;
JSON
{
  "hex": "#752188",
  "rgb": {
    "r": 117,
    "g": 33,
    "b": 136
  },
  "hsl": {
    "h": 288.932,
    "s": 60.947,
    "l": 33.137
  },
  "oklch": {
    "l": 0.42738,
    "c": 0.17119,
    "h": 319.5
  },
  "luminance": 0.06647
}

Semantic roles & 50–950 ramp

primary
#752188
secondary
#61B84D
accent
#E44461
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #752188

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

Preview Lab → · Contrast checker → · Palette generator →

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