#76197B#76197B

#76197B is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.3% C 0.169 H 325.8°. Best body text is #FFFFFF at 9.57:1 contrast (WCAG AA passes).

Color values

HEX#76197B
RGBrgb(118, 25, 123)
HSLhsl(297, 66%, 29%)
HSVhsv(297, 80%, 48%)
CMYKcmyk(4.1%, 79.7%, 0%, 51.8%)
CIE-LABlab(29.36, 51.04, -34.13)
CIE-LCHlch(29.36, 61.39, 326.23°)
OKLaboklab(41.34% 0.1398 -0.095)
OKLCHoklch(41.34% 0.169 325.8)
XYZxyz(11.3938, 5.9777, 19.2887)
Luminance0.0598 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#76197B #1E7B19
analogous
#45197B #76197B #7B194F
triadic
#76197B #7B7619 #197B76
tetradic
#76197B #7B4519 #1E7B19 #194F7B
square
#76197B #7B4519 #1E7B19 #194F7B
split-complementary
#76197B #4F7B19 #197B45
monochromatic
#180519 #450F48 #76197B #A723AE #CE38D7

Accessibility & contrast

On white

9.57
#76197B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#76197B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #76197B
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##76197B#FFFFFF#000000##FFFFFF
##76197B1.009.572.209.57
#FFFFFF9.571.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E7E
Deuteranopia (green-blind)
#304979
Tritanopia (blue-blind)
#792B4A
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #76197b;
/* rgb */ color: rgb(118, 25, 123);
/* oklch */ color: oklch(41.3% 0.169 325.8);
Tailwind
colors: {
  custom: {
    50: '#a162a2',
    500: '#76197b',
    950: '#000000',
  },
}
SCSS
$custom: #76197b;
$custom-light: #a162a2;
$custom-dark: #000000;
JSON
{
  "hex": "#76197b",
  "rgb": {
    "r": 118,
    "g": 25,
    "b": 123
  },
  "hsl": {
    "h": 296.939,
    "s": 66.216,
    "l": 29.02
  },
  "oklch": {
    "l": 0.41338,
    "c": 0.16901,
    "h": 325.8
  },
  "luminance": 0.05977
}

Semantic roles & 50–950 ramp

primary
#76197B
secondary
#46AF40
accent
#E93F47
background
#FAF6FA
surface
#F4EBF3
border
#CEC6CD
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #76197B

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

Preview Lab → · Contrast checker → · Palette generator →

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