#75127E#75127E

#75127E is a dark, vivid purple. Relative luminance 0.057; OKLCH L 40.9% C 0.177 H 324.2°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#75127E
RGBrgb(117, 18, 126)
HSLhsl(295, 75%, 28%)
HSVhsv(295, 86%, 49%)
CMYKcmyk(7.1%, 85.7%, 0%, 50.6%)
CIE-LABlab(28.70, 53.32, -37.08)
CIE-LCHlch(28.70, 64.95, 325.18°)
OKLaboklab(40.9% 0.1437 -0.1036)
OKLCHoklch(40.9% 0.177 324.2)
XYZxyz(11.3180, 5.7216, 20.2429)
Luminance0.0572 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#75127E #1B7E12
analogous
#3F127E #75127E #7E1251
triadic
#75127E #7E7512 #127E75
tetradic
#75127E #7E3F12 #1B7E12 #12517E
square
#75127E #7E3F12 #1B7E12 #12517E
split-complementary
#75127E #517E12 #127E3F
monochromatic
#19041B #430A48 #75127E #A71AB4 #D12AE1

Accessibility & contrast

On white

9.79
#75127E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#75127E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #75127E
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##75127E#FFFFFF#000000##FFFFFF
##75127E1.009.792.149.79
#FFFFFF9.791.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C81
Deuteranopia (green-blind)
#2A477C
Tritanopia (blue-blind)
#77294A
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #75127e;
/* rgb */ color: rgb(117, 18, 126);
/* oklch */ color: oklch(40.9% 0.177 324.2);
Tailwind
colors: {
  custom: {
    50: '#a160a4',
    500: '#75127e',
    950: '#000000',
  },
}
SCSS
$custom: #75127e;
$custom-light: #a160a4;
$custom-dark: #000000;
JSON
{
  "hex": "#75127e",
  "rgb": {
    "r": 117,
    "g": 18,
    "b": 126
  },
  "hsl": {
    "h": 295,
    "s": 75,
    "l": 28.235
  },
  "oklch": {
    "l": 0.40901,
    "c": 0.17719,
    "h": 324.2
  },
  "luminance": 0.05721
}

Semantic roles & 50–950 ramp

primary
#75127E
secondary
#42B438
accent
#F23646
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F050F
muted
#7F7A7F

Preview Lab

Preview with #75127E

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

Preview Lab → · Contrast checker → · Palette generator →

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