#76127F#76127F

#76127F is a dark, vivid purple. Relative luminance 0.058; OKLCH L 41.1% C 0.178 H 324.2°. Best body text is #FFFFFF at 9.71:1 contrast (WCAG AA passes).

Color values

HEX#76127F
RGBrgb(118, 18, 127)
HSLhsl(295, 75%, 28%)
HSVhsv(295, 86%, 50%)
CMYKcmyk(7.1%, 85.8%, 0%, 50.2%)
CIE-LABlab(28.95, 53.69, -37.30)
CIE-LCHlch(28.95, 65.38, 325.21°)
OKLaboklab(41.13% 0.1448 -0.1042)
OKLCHoklch(41.13% 0.178 324.2)
XYZxyz(11.5180, 5.8172, 20.5907)
Luminance0.0582 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#76127F #1B7F12
analogous
#3F127F #76127F #7F1251
triadic
#76127F #7F7612 #127F76
tetradic
#76127F #7F3F12 #1B7F12 #12517F
square
#76127F #7F3F12 #1B7F12 #12517F
split-complementary
#76127F #517F12 #127F3F
monochromatic
#19041B #440A49 #76127F #A81AB5 #D22BE1

Accessibility & contrast

On white

9.71
#76127F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#76127F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #76127F
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##76127F#FFFFFF#000000##FFFFFF
##76127F1.009.712.169.71
#FFFFFF9.711.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D82
Deuteranopia (green-blind)
#2A487D
Tritanopia (blue-blind)
#782A4B
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #76127f;
/* rgb */ color: rgb(118, 18, 127);
/* oklch */ color: oklch(41.1% 0.178 324.2);
Tailwind
colors: {
  custom: {
    50: '#a160a5',
    500: '#76127f',
    950: '#000000',
  },
}
SCSS
$custom: #76127f;
$custom-light: #a160a5;
$custom-dark: #000000;
JSON
{
  "hex": "#76127f",
  "rgb": {
    "r": 118,
    "g": 18,
    "b": 127
  },
  "hsl": {
    "h": 295.046,
    "s": 75.172,
    "l": 28.431
  },
  "oklch": {
    "l": 0.41132,
    "c": 0.17841,
    "h": 324.2
  },
  "luminance": 0.05816
}

Semantic roles & 50–950 ramp

primary
#76127F
secondary
#42B538
accent
#F23646
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F050F
muted
#7F7A7F

Preview Lab

Preview with #76127F

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

Preview Lab → · Contrast checker → · Palette generator →

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