#75178D#75178D

#75178D is a dark, vivid purple. Relative luminance 0.063; OKLCH L 42.3% C 0.185 H 318.0°. Best body text is #FFFFFF at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#75178D
RGBrgb(117, 23, 141)
HSLhsl(288, 72%, 32%)
HSVhsv(288, 84%, 55%)
CMYKcmyk(17%, 83.7%, 0%, 44.7%)
CIE-LABlab(30.20, 54.78, -44.03)
CIE-LCHlch(30.20, 70.29, 321.21°)
OKLaboklab(42.29% 0.138 -0.124)
OKLCHoklch(42.29% 0.186 318)
XYZxyz(12.4496, 6.3184, 25.7579)
Luminance0.0632 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#75178D #2F8D17
analogous
#3A178D #75178D #8D176A
triadic
#75178D #8D7517 #178D75
tetradic
#75178D #8D3A17 #2F8D17 #176A8D
square
#75178D #8D3A17 #2F8D17 #176A8D
split-complementary
#75178D #6A8D17 #178D3A
monochromatic
#1E0624 #490E58 #75178D #A120C2 #BF3FE0

Accessibility & contrast

On white

9.28
#75178D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#75178D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #75178D
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##75178D#FFFFFF#000000##FFFFFF
##75178D1.009.282.269.28
#FFFFFF9.281.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004190
Deuteranopia (green-blind)
#1D4A8B
Tritanopia (blue-blind)
#743354
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #75178d;
/* rgb */ color: rgb(117, 23, 141);
/* oklch */ color: oklch(42.3% 0.185 318.0);
Tailwind
colors: {
  custom: {
    50: '#a162af',
    500: '#75178d',
    950: '#000000',
  },
}
SCSS
$custom: #75178d;
$custom-light: #a162af;
$custom-dark: #000000;
JSON
{
  "hex": "#75178d",
  "rgb": {
    "r": 117,
    "g": 23,
    "b": 141
  },
  "hsl": {
    "h": 287.797,
    "s": 71.951,
    "l": 32.157
  },
  "oklch": {
    "l": 0.42292,
    "c": 0.1855,
    "h": 318
  },
  "luminance": 0.06318
}

Semantic roles & 50–950 ramp

primary
#75178D
secondary
#5AC040
accent
#EF395E
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #75178D

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

Preview Lab → · Contrast checker → · Palette generator →

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