#77197F#77197F

#77197F is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.8% C 0.173 H 324.5°. Best body text is #FFFFFF at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#77197F
RGBrgb(119, 25, 127)
HSLhsl(295, 67%, 30%)
HSVhsv(295, 80%, 50%)
CMYKcmyk(6.3%, 80.3%, 0%, 50.2%)
CIE-LABlab(29.79, 51.97, -35.95)
CIE-LCHlch(29.79, 63.19, 325.33°)
OKLaboklab(41.76% 0.1407 -0.1003)
OKLCHoklch(41.76% 0.173 324.5)
XYZxyz(11.7858, 6.1503, 20.6409)
Luminance0.0615 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#77197F #217F19
analogous
#44197F #77197F #7F1954
triadic
#77197F #7F7719 #197F77
tetradic
#77197F #7F4419 #217F19 #19547F
square
#77197F #7F4419 #217F19 #19547F
split-complementary
#77197F #547F19 #197F44
monochromatic
#18051A #470F4C #77197F #A723B2 #CC3AD8

Accessibility & contrast

On white

9.42
#77197F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#77197F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #77197F
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##77197F#FFFFFF#000000##FFFFFF
##77197F1.009.422.239.42
#FFFFFF9.421.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F82
Deuteranopia (green-blind)
#2E4A7D
Tritanopia (blue-blind)
#7A2D4C
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #77197f;
/* rgb */ color: rgb(119, 25, 127);
/* oklch */ color: oklch(41.8% 0.173 324.5);
Tailwind
colors: {
  custom: {
    50: '#a262a5',
    500: '#77197f',
    950: '#000000',
  },
}
SCSS
$custom: #77197f;
$custom-light: #a262a5;
$custom-dark: #000000;
JSON
{
  "hex": "#77197f",
  "rgb": {
    "r": 119,
    "g": 25,
    "b": 127
  },
  "hsl": {
    "h": 295.294,
    "s": 67.105,
    "l": 29.804
  },
  "oklch": {
    "l": 0.41761,
    "c": 0.17275,
    "h": 324.5
  },
  "luminance": 0.0615
}

Semantic roles & 50–950 ramp

primary
#77197F
secondary
#4AB341
accent
#EA3E4B
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #77197F

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

Preview Lab → · Contrast checker → · Palette generator →

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