#75168F#75168F

#75168F is a dark, vivid purple. Relative luminance 0.063; OKLCH L 42.4% C 0.188 H 317.3°. Best body text is #FFFFFF at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#75168F
RGBrgb(117, 22, 143)
HSLhsl(287, 73%, 32%)
HSVhsv(287, 85%, 56%)
CMYKcmyk(18.2%, 84.6%, 0%, 43.9%)
CIE-LABlab(30.25, 55.44, -45.19)
CIE-LCHlch(30.25, 71.53, 320.82°)
OKLaboklab(42.37% 0.1383 -0.1274)
OKLCHoklch(42.37% 0.188 317.3)
XYZxyz(12.5802, 6.3395, 26.5423)
Luminance0.0634 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#75168F #308F16
analogous
#38168F #75168F #8F166D
triadic
#75168F #8F7516 #168F75
tetradic
#75168F #8F3816 #308F16 #166D8F
square
#75168F #8F3816 #308F16 #166D8F
split-complementary
#75168F #6D8F16 #168F38
monochromatic
#1E0625 #4A0E5A #75168F #A01EC4 #BE3EE1

Accessibility & contrast

On white

9.26
#75168F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#75168F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #75168F
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##75168F#FFFFFF#000000##FFFFFF
##75168F1.009.262.279.26
#FFFFFF9.261.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004292
Deuteranopia (green-blind)
#194A8D
Tritanopia (blue-blind)
#743455
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #75168f;
/* rgb */ color: rgb(117, 22, 143);
/* oklch */ color: oklch(42.4% 0.188 317.3);
Tailwind
colors: {
  custom: {
    50: '#a162b0',
    500: '#75168f',
    950: '#000000',
  },
}
SCSS
$custom: #75168f;
$custom-light: #a162b0;
$custom-dark: #000000;
JSON
{
  "hex": "#75168f",
  "rgb": {
    "r": 117,
    "g": 22,
    "b": 143
  },
  "hsl": {
    "h": 287.107,
    "s": 73.333,
    "l": 32.353
  },
  "oklch": {
    "l": 0.42374,
    "c": 0.18802,
    "h": 317.3
  },
  "luminance": 0.06339
}

Semantic roles & 50–950 ramp

primary
#75168F
secondary
#5BC13F
accent
#F0385F
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #75168F

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

Preview Lab → · Contrast checker → · Palette generator →

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