#75157B#75157B

#75157B is a dark, vivid purple. Relative luminance 0.057; OKLCH L 40.9% C 0.172 H 325.4°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#75157B
RGBrgb(117, 21, 123)
HSLhsl(296, 71%, 28%)
HSVhsv(296, 83%, 48%)
CMYKcmyk(4.9%, 82.9%, 0%, 51.8%)
CIE-LABlab(28.77, 52.00, -35.07)
CIE-LCHlch(28.77, 62.72, 326.00°)
OKLaboklab(40.89% 0.1419 -0.0978)
OKLCHoklch(40.89% 0.172 325.4)
XYZxyz(11.1792, 5.7491, 19.2559)
Luminance0.0575 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#75157B #1B7B15
analogous
#42157B #75157B #7B154E
triadic
#75157B #7B7515 #157B75
tetradic
#75157B #7B4215 #1B7B15 #154E7B
square
#75157B #7B4215 #1B7B15 #154E7B
split-complementary
#75157B #4E7B15 #157B42
monochromatic
#19041A #430C47 #75157B #A71EAF #D12FDB

Accessibility & contrast

On white

9.77
#75157B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#75157B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #75157B
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##75157B#FFFFFF#000000##FFFFFF
##75157B1.009.772.159.77
#FFFFFF9.771.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C7E
Deuteranopia (green-blind)
#2D4879
Tritanopia (blue-blind)
#782949
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #75157b;
/* rgb */ color: rgb(117, 21, 123);
/* oklch */ color: oklch(40.9% 0.172 325.4);
Tailwind
colors: {
  custom: {
    50: '#a060a2',
    500: '#75157b',
    950: '#000000',
  },
}
SCSS
$custom: #75157b;
$custom-light: #a060a2;
$custom-dark: #000000;
JSON
{
  "hex": "#75157b",
  "rgb": {
    "r": 117,
    "g": 21,
    "b": 123
  },
  "hsl": {
    "h": 296.471,
    "s": 70.833,
    "l": 28.235
  },
  "oklch": {
    "l": 0.40888,
    "c": 0.1723,
    "h": 325.4
  },
  "luminance": 0.05748
}

Semantic roles & 50–950 ramp

primary
#75157B
secondary
#42B03B
accent
#EE3A45
background
#FAF6FA
surface
#F4EBF3
border
#CEC6CD
text
#0F050F
muted
#7F7A7F

Preview Lab

Preview with #75157B

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

Preview Lab → · Contrast checker → · Palette generator →

#75157B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva