#75178E#75178E

#75178E is a dark, vivid purple. Relative luminance 0.063; OKLCH L 42.4% C 0.186 H 317.7°. Best body text is #FFFFFF at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#75178E
RGBrgb(117, 23, 142)
HSLhsl(287, 72%, 32%)
HSVhsv(287, 84%, 56%)
CMYKcmyk(17.6%, 83.8%, 0%, 44.3%)
CIE-LABlab(30.27, 54.97, -44.54)
CIE-LCHlch(30.27, 70.75, 320.99°)
OKLaboklab(42.37% 0.1378 -0.1255)
OKLCHoklch(42.37% 0.186 317.7)
XYZxyz(12.5243, 6.3483, 26.1516)
Luminance0.0635 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#75178E #308E17
analogous
#3A178E #75178E #8E176C
triadic
#75178E #8E7517 #178E75
tetradic
#75178E #8E3A17 #308E17 #176C8E
square
#75178E #8E3A17 #308E17 #176C8E
split-complementary
#75178E #6C8E17 #178E3A
monochromatic
#1E0625 #4A0E59 #75178E #A020C3 #BE3FE0

Accessibility & contrast

On white

9.25
#75178E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#75178E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #75178E
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##75178E#FFFFFF#000000##FFFFFF
##75178E1.009.252.279.25
#FFFFFF9.251.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004291
Deuteranopia (green-blind)
#1B4A8C
Tritanopia (blue-blind)
#743454
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #75178e;
/* rgb */ color: rgb(117, 23, 142);
/* oklch */ color: oklch(42.4% 0.186 317.7);
Tailwind
colors: {
  custom: {
    50: '#a162b0',
    500: '#75178e',
    950: '#000000',
  },
}
SCSS
$custom: #75178e;
$custom-light: #a162b0;
$custom-dark: #000000;
JSON
{
  "hex": "#75178e",
  "rgb": {
    "r": 117,
    "g": 23,
    "b": 142
  },
  "hsl": {
    "h": 287.395,
    "s": 72.121,
    "l": 32.353
  },
  "oklch": {
    "l": 0.42366,
    "c": 0.18635,
    "h": 317.7
  },
  "luminance": 0.06348
}

Semantic roles & 50–950 ramp

primary
#75178E
secondary
#5BC040
accent
#EF395F
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #75178E

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

Preview Lab → · Contrast checker → · Palette generator →

#75178E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva