#76197F#76197F

#76197F is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.6% C 0.172 H 324.0°. Best body text is #FFFFFF at 9.48:1 contrast (WCAG AA passes).

Color values

HEX#76197F
RGBrgb(118, 25, 127)
HSLhsl(295, 67%, 30%)
HSVhsv(295, 80%, 50%)
CMYKcmyk(7.1%, 80.3%, 0%, 50.2%)
CIE-LABlab(29.61, 51.76, -36.24)
CIE-LCHlch(29.61, 63.18, 325.00°)
OKLaboklab(41.6% 0.1395 -0.1012)
OKLCHoklch(41.6% 0.172 324)
XYZxyz(11.6493, 6.0799, 20.6345)
Luminance0.0608 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#76197F #227F19
analogous
#43197F #76197F #7F1955
triadic
#76197F #7F7619 #197F76
tetradic
#76197F #7F4319 #227F19 #19557F
square
#76197F #7F4319 #227F19 #19557F
split-complementary
#76197F #557F19 #197F43
monochromatic
#18051A #460F4C #76197F #A623B2 #CA3AD8

Accessibility & contrast

On white

9.48
#76197F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#76197F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #76197F
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##76197F#FFFFFF#000000##FFFFFF
##76197F1.009.482.229.48
#FFFFFF9.481.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F82
Deuteranopia (green-blind)
#2D497D
Tritanopia (blue-blind)
#782D4C
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #76197f;
/* rgb */ color: rgb(118, 25, 127);
/* oklch */ color: oklch(41.6% 0.172 324.0);
Tailwind
colors: {
  custom: {
    50: '#a162a5',
    500: '#76197f',
    950: '#000000',
  },
}
SCSS
$custom: #76197f;
$custom-light: #a162a5;
$custom-dark: #000000;
JSON
{
  "hex": "#76197f",
  "rgb": {
    "r": 118,
    "g": 25,
    "b": 127
  },
  "hsl": {
    "h": 294.706,
    "s": 67.105,
    "l": 29.804
  },
  "oklch": {
    "l": 0.41603,
    "c": 0.17231,
    "h": 324
  },
  "luminance": 0.06079
}

Semantic roles & 50–950 ramp

primary
#76197F
secondary
#4BB341
accent
#EA3E4D
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #76197F

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

Preview Lab → · Contrast checker → · Palette generator →

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