#752178#752178

#752178 is a dark, vivid purple. Relative luminance 0.062; OKLCH L 41.7% C 0.157 H 326.5°. Best body text is #FFFFFF at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#752178
RGBrgb(117, 33, 120)
HSLhsl(298, 57%, 30%)
HSVhsv(298, 73%, 47%)
CMYKcmyk(2.5%, 72.5%, 0%, 52.9%)
CIE-LABlab(29.98, 47.46, -31.25)
CIE-LCHlch(29.98, 56.83, 326.64°)
OKLaboklab(41.69% 0.1309 -0.0867)
OKLCHoklch(41.69% 0.157 326.5)
XYZxyz(11.2699, 6.2264, 18.3739)
Luminance0.0623 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752178 #247821
analogous
#492178 #752178 #782150
triadic
#752178 #787521 #217875
tetradic
#752178 #784921 #247821 #215078
square
#752178 #784921 #247821 #215078
split-complementary
#752178 #507821 #217849
monochromatic
#170718 #461448 #752178 #A42EA8 #C847CC

Accessibility & contrast

On white

9.35
#752178 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#752178 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752178
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752178#FFFFFF#000000##FFFFFF
##7521781.009.352.259.35
#FFFFFF9.351.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F407A
Deuteranopia (green-blind)
#354A76
Tritanopia (blue-blind)
#782F4A
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #752178;
/* rgb */ color: rgb(117, 33, 120);
/* oklch */ color: oklch(41.7% 0.157 326.5);
Tailwind
colors: {
  custom: {
    50: '#a0659f',
    500: '#752178',
    950: '#000000',
  },
}
SCSS
$custom: #752178;
$custom-light: #a0659f;
$custom-dark: #000000;
JSON
{
  "hex": "#752178",
  "rgb": {
    "r": 117,
    "g": 33,
    "b": 120
  },
  "hsl": {
    "h": 297.931,
    "s": 56.863,
    "l": 30
  },
  "oklch": {
    "l": 0.41688,
    "c": 0.15699,
    "h": 326.5
  },
  "luminance": 0.06226
}

Semantic roles & 50–950 ramp

primary
#752178
secondary
#4DAB4A
accent
#E0484D
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #752178

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

Preview Lab → · Contrast checker → · Palette generator →

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