#75168E#75168E

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

Color values

HEX#75168E
RGBrgb(117, 22, 142)
HSLhsl(288, 73%, 32%)
HSVhsv(288, 85%, 56%)
CMYKcmyk(17.6%, 84.5%, 0%, 44.3%)
CIE-LABlab(30.18, 55.25, -44.69)
CIE-LCHlch(30.18, 71.06, 321.03°)
OKLaboklab(42.3% 0.1385 -0.1259)
OKLCHoklch(42.3% 0.187 317.7)
XYZxyz(12.5048, 6.3093, 26.1451)
Luminance0.0631 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#75168E #2F8E16
analogous
#39168E #75168E #8E166B
triadic
#75168E #8E7516 #168E75
tetradic
#75168E #8E3916 #2F8E16 #166B8E
square
#75168E #8E3916 #2F8E16 #166B8E
split-complementary
#75168E #6B8E16 #168E39
monochromatic
#1E0624 #490E59 #75168E #A11EC3 #BF3DE1

Accessibility & contrast

On white

9.28
#75168E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#75168E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #75168E
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##75168E#FFFFFF#000000##FFFFFF
##75168E1.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)
#004191
Deuteranopia (green-blind)
#1A4A8C
Tritanopia (blue-blind)
#743354
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #75168e;
/* rgb */ color: rgb(117, 22, 142);
/* oklch */ color: oklch(42.3% 0.187 317.7);
Tailwind
colors: {
  custom: {
    50: '#a162b0',
    500: '#75168e',
    950: '#000000',
  },
}
SCSS
$custom: #75168e;
$custom-light: #a162b0;
$custom-dark: #000000;
JSON
{
  "hex": "#75168e",
  "rgb": {
    "r": 117,
    "g": 22,
    "b": 142
  },
  "hsl": {
    "h": 287.5,
    "s": 73.171,
    "l": 32.157
  },
  "oklch": {
    "l": 0.42299,
    "c": 0.18718,
    "h": 317.7
  },
  "luminance": 0.06309
}

Semantic roles & 50–950 ramp

primary
#75168E
secondary
#5AC13F
accent
#F0385E
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #75168E

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

Preview Lab → · Contrast checker → · Palette generator →

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