#75127F#75127F

#75127F is a dark, vivid purple. Relative luminance 0.057; OKLCH L 41.0% C 0.178 H 323.8°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#75127F
RGBrgb(117, 18, 127)
HSLhsl(294, 75%, 28%)
HSVhsv(294, 86%, 50%)
CMYKcmyk(7.9%, 85.8%, 0%, 50.2%)
CIE-LABlab(28.77, 53.50, -37.60)
CIE-LCHlch(28.77, 65.39, 324.90°)
OKLaboklab(40.97% 0.1436 -0.1051)
OKLCHoklch(40.97% 0.178 323.8)
XYZxyz(11.3829, 5.7476, 20.5844)
Luminance0.0575 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#75127F #1C7F12
analogous
#3E127F #75127F #7F1252
triadic
#75127F #7F7512 #127F75
tetradic
#75127F #7F3E12 #1C7F12 #12527F
square
#75127F #7F3E12 #1C7F12 #12527F
split-complementary
#75127F #527F12 #127F3E
monochromatic
#19041B #440A49 #75127F #A61AB5 #D02BE1

Accessibility & contrast

On white

9.77
#75127F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#75127F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #75127F
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##75127F#FFFFFF#000000##FFFFFF
##75127F1.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)
#003D82
Deuteranopia (green-blind)
#29487D
Tritanopia (blue-blind)
#772A4B
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #75127f;
/* rgb */ color: rgb(117, 18, 127);
/* oklch */ color: oklch(41.0% 0.178 323.8);
Tailwind
colors: {
  custom: {
    50: '#a160a5',
    500: '#75127f',
    950: '#000000',
  },
}
SCSS
$custom: #75127f;
$custom-light: #a160a5;
$custom-dark: #000000;
JSON
{
  "hex": "#75127f",
  "rgb": {
    "r": 117,
    "g": 18,
    "b": 127
  },
  "hsl": {
    "h": 294.495,
    "s": 75.172,
    "l": 28.431
  },
  "oklch": {
    "l": 0.4097,
    "c": 0.17799,
    "h": 323.8
  },
  "luminance": 0.05747
}

Semantic roles & 50–950 ramp

primary
#75127F
secondary
#44B538
accent
#F23647
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F050F
muted
#7F7A7F

Preview Lab

Preview with #75127F

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

Preview Lab → · Contrast checker → · Palette generator →

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