#75158E#75158E

#75158E is a dark, vivid purple. Relative luminance 0.063; OKLCH L 42.2% C 0.188 H 317.8°. Best body text is #FFFFFF at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#75158E
RGBrgb(117, 21, 142)
HSLhsl(288, 74%, 32%)
HSVhsv(288, 85%, 56%)
CMYKcmyk(17.6%, 85.2%, 0%, 44.3%)
CIE-LABlab(30.09, 55.52, -44.84)
CIE-LCHlch(30.09, 71.36, 321.08°)
OKLaboklab(42.24% 0.1392 -0.1264)
OKLCHoklch(42.24% 0.188 317.8)
XYZxyz(12.4861, 6.2718, 26.1388)
Luminance0.0627 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#75158E #2E8E15
analogous
#38158E #75158E #8E156B
triadic
#75158E #8E7515 #158E75
tetradic
#75158E #8E3815 #2E8E15 #156B8E
square
#75158E #8E3815 #2E8E15 #156B8E
split-complementary
#75158E #6B8E15 #158E38
monochromatic
#1D0523 #490D59 #75158E #A11DC3 #C03BE2

Accessibility & contrast

On white

9.32
#75158E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#75158E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #75158E
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##75158E#FFFFFF#000000##FFFFFF
##75158E1.009.322.259.32
#FFFFFF9.321.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.321.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: #75158e;
/* rgb */ color: rgb(117, 21, 142);
/* oklch */ color: oklch(42.2% 0.188 317.8);
Tailwind
colors: {
  custom: {
    50: '#a161b0',
    500: '#75158e',
    950: '#000000',
  },
}
SCSS
$custom: #75158e;
$custom-light: #a161b0;
$custom-dark: #000000;
JSON
{
  "hex": "#75158e",
  "rgb": {
    "r": 117,
    "g": 21,
    "b": 142
  },
  "hsl": {
    "h": 287.603,
    "s": 74.233,
    "l": 31.961
  },
  "oklch": {
    "l": 0.42235,
    "c": 0.18798,
    "h": 317.8
  },
  "luminance": 0.06271
}

Semantic roles & 50–950 ramp

primary
#75158E
secondary
#59C23D
accent
#F1375D
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #75158E

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

Preview Lab → · Contrast checker → · Palette generator →

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