#76127E#76127E

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

Color values

HEX#76127E
RGBrgb(118, 18, 126)
HSLhsl(296, 75%, 28%)
HSVhsv(296, 86%, 49%)
CMYKcmyk(6.3%, 85.7%, 0%, 50.6%)
CIE-LABlab(28.88, 53.52, -36.78)
CIE-LCHlch(28.88, 64.94, 325.50°)
OKLaboklab(41.06% 0.1449 -0.1027)
OKLCHoklch(41.06% 0.178 324.7)
XYZxyz(11.4531, 5.7913, 20.2492)
Luminance0.0579 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#76127E #1A7E12
analogous
#40127E #76127E #7E1250
triadic
#76127E #7E7612 #127E76
tetradic
#76127E #7E4012 #1A7E12 #12507E
square
#76127E #7E4012 #1A7E12 #12507E
split-complementary
#76127E #507E12 #127E40
monochromatic
#19041B #440A48 #76127E #A81AB4 #D32AE1

Accessibility & contrast

On white

9.73
#76127E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #76127E
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##76127E#FFFFFF#000000##FFFFFF
##76127E1.009.732.169.73
#FFFFFF9.731.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D81
Deuteranopia (green-blind)
#2B487C
Tritanopia (blue-blind)
#79294A
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #76127e;
/* rgb */ color: rgb(118, 18, 126);
/* oklch */ color: oklch(41.1% 0.178 324.7);
Tailwind
colors: {
  custom: {
    50: '#a160a4',
    500: '#76127e',
    950: '#000000',
  },
}
SCSS
$custom: #76127e;
$custom-light: #a160a4;
$custom-dark: #000000;
JSON
{
  "hex": "#76127e",
  "rgb": {
    "r": 118,
    "g": 18,
    "b": 126
  },
  "hsl": {
    "h": 295.556,
    "s": 75,
    "l": 28.235
  },
  "oklch": {
    "l": 0.41063,
    "c": 0.17762,
    "h": 324.7
  },
  "luminance": 0.05791
}

Semantic roles & 50–950 ramp

primary
#76127E
secondary
#41B438
accent
#F23644
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F050F
muted
#7F7A7F

Preview Lab

Preview with #76127E

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

Preview Lab → · Contrast checker → · Palette generator →

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