#772179#772179

#772179 is a dark, vivid purple. Relative luminance 0.064; OKLCH L 42.1% C 0.159 H 327.0°. Best body text is #FFFFFF at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#772179
RGBrgb(119, 33, 121)
HSLhsl(299, 57%, 30%)
HSVhsv(299, 73%, 47%)
CMYKcmyk(1.7%, 72.7%, 0%, 52.5%)
CIE-LABlab(30.38, 48.13, -31.22)
CIE-LCHlch(30.38, 57.37, 327.03°)
OKLaboklab(42.06% 0.1332 -0.0866)
OKLCHoklch(42.06% 0.159 327)
XYZxyz(11.6026, 6.3909, 18.7079)
Luminance0.0639 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772179 #237921
analogous
#4B2179 #772179 #79214F
triadic
#772179 #797721 #217977
tetradic
#772179 #794B21 #237921 #214F79
square
#772179 #794B21 #237921 #214F79
split-complementary
#772179 #4F7921 #21794B
monochromatic
#180719 #481449 #772179 #A62EA9 #CA47CD

Accessibility & contrast

On white

9.22
#772179 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#772179 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #772179
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772179#FFFFFF#000000##FFFFFF
##7721791.009.222.289.22
#FFFFFF9.221.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F407B
Deuteranopia (green-blind)
#364B77
Tritanopia (blue-blind)
#7A2F4B
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #772179;
/* rgb */ color: rgb(119, 33, 121);
/* oklch */ color: oklch(42.1% 0.159 327.0);
Tailwind
colors: {
  custom: {
    50: '#a165a0',
    500: '#772179',
    950: '#000000',
  },
}
SCSS
$custom: #772179;
$custom-light: #a165a0;
$custom-dark: #000000;
JSON
{
  "hex": "#772179",
  "rgb": {
    "r": 119,
    "g": 33,
    "b": 121
  },
  "hsl": {
    "h": 298.636,
    "s": 57.143,
    "l": 30.196
  },
  "oklch": {
    "l": 0.42062,
    "c": 0.1589,
    "h": 327
  },
  "luminance": 0.0639
}

Semantic roles & 50–950 ramp

primary
#772179
secondary
#4CAC4A
accent
#E0474B
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060F
muted
#7F7A7E

Preview Lab

Preview with #772179

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

Preview Lab → · Contrast checker → · Palette generator →

#772179 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva