#76197E#76197E

#76197E is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.5% C 0.171 H 324.5°. Best body text is #FFFFFF at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#76197E
RGBrgb(118, 25, 126)
HSLhsl(295, 67%, 30%)
HSVhsv(295, 80%, 49%)
CMYKcmyk(6.3%, 80.2%, 0%, 50.6%)
CIE-LABlab(29.55, 51.58, -35.71)
CIE-LCHlch(29.55, 62.73, 325.30°)
OKLaboklab(41.54% 0.1396 -0.0996)
OKLCHoklch(41.54% 0.171 324.5)
XYZxyz(11.5844, 6.0539, 20.2930)
Luminance0.0605 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#76197E #217E19
analogous
#44197E #76197E #7E1953
triadic
#76197E #7E7619 #197E76
tetradic
#76197E #7E4419 #217E19 #19537E
square
#76197E #7E4419 #217E19 #19537E
split-complementary
#76197E #537E19 #197E44
monochromatic
#18051A #460F4B #76197E #A623B1 #CB3AD8

Accessibility & contrast

On white

9.50
#76197E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#76197E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #76197E
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##76197E#FFFFFF#000000##FFFFFF
##76197E1.009.502.219.50
#FFFFFF9.501.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F81
Deuteranopia (green-blind)
#2E497C
Tritanopia (blue-blind)
#782C4B
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #76197e;
/* rgb */ color: rgb(118, 25, 126);
/* oklch */ color: oklch(41.5% 0.171 324.5);
Tailwind
colors: {
  custom: {
    50: '#a162a4',
    500: '#76197e',
    950: '#000000',
  },
}
SCSS
$custom: #76197e;
$custom-light: #a162a4;
$custom-dark: #000000;
JSON
{
  "hex": "#76197e",
  "rgb": {
    "r": 118,
    "g": 25,
    "b": 126
  },
  "hsl": {
    "h": 295.248,
    "s": 66.887,
    "l": 29.608
  },
  "oklch": {
    "l": 0.41536,
    "c": 0.17148,
    "h": 324.5
  },
  "luminance": 0.06053
}

Semantic roles & 50–950 ramp

primary
#76197E
secondary
#4AB241
accent
#EA3E4C
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #76197E

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

Preview Lab → · Contrast checker → · Palette generator →

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