#75158F#75158F

#75158F is a dark, vivid purple. Relative luminance 0.063; OKLCH L 42.3% C 0.189 H 317.4°. Best body text is #FFFFFF at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#75158F
RGBrgb(117, 21, 143)
HSLhsl(287, 74%, 32%)
HSVhsv(287, 85%, 56%)
CMYKcmyk(18.2%, 85.3%, 0%, 43.9%)
CIE-LABlab(30.16, 55.71, -45.34)
CIE-LCHlch(30.16, 71.83, 320.86°)
OKLaboklab(42.31% 0.139 -0.1278)
OKLCHoklch(42.31% 0.189 317.4)
XYZxyz(12.5615, 6.3020, 26.5360)
Luminance0.0630 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#75158F #2F8F15
analogous
#38158F #75158F #8F156C
triadic
#75158F #8F7515 #158F75
tetradic
#75158F #8F3815 #2F8F15 #156C8F
square
#75158F #8F3815 #2F8F15 #156C8F
split-complementary
#75158F #6C8F15 #158F38
monochromatic
#1E0524 #490D5A #75158F #A11DC4 #BF3CE2

Accessibility & contrast

On white

9.29
#75158F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#75158F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #75158F
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##75158F#FFFFFF#000000##FFFFFF
##75158F1.009.292.269.29
#FFFFFF9.291.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004192
Deuteranopia (green-blind)
#184A8D
Tritanopia (blue-blind)
#743354
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #75158f;
/* rgb */ color: rgb(117, 21, 143);
/* oklch */ color: oklch(42.3% 0.189 317.4);
Tailwind
colors: {
  custom: {
    50: '#a161b0',
    500: '#75158f',
    950: '#000000',
  },
}
SCSS
$custom: #75158f;
$custom-light: #a161b0;
$custom-dark: #000000;
JSON
{
  "hex": "#75158f",
  "rgb": {
    "r": 117,
    "g": 21,
    "b": 143
  },
  "hsl": {
    "h": 287.213,
    "s": 74.39,
    "l": 32.157
  },
  "oklch": {
    "l": 0.4231,
    "c": 0.18881,
    "h": 317.4
  },
  "luminance": 0.06301
}

Semantic roles & 50–950 ramp

primary
#75158F
secondary
#5AC23E
accent
#F1375E
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #75158F

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

Preview Lab → · Contrast checker → · Palette generator →

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