#772178#772178

#772178 is a dark, vivid purple. Relative luminance 0.064; OKLCH L 42.0% C 0.158 H 327.5°. Best body text is #FFFFFF at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#772178
RGBrgb(119, 33, 120)
HSLhsl(299, 57%, 30%)
HSVhsv(299, 73%, 47%)
CMYKcmyk(0.8%, 72.5%, 0%, 52.9%)
CIE-LABlab(30.32, 47.95, -30.69)
CIE-LCHlch(30.32, 56.93, 327.38°)
OKLaboklab(42% 0.1332 -0.085)
OKLCHoklch(42% 0.158 327.5)
XYZxyz(11.5416, 6.3665, 18.3866)
Luminance0.0637 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772178 #227821
analogous
#4B2178 #772178 #78214E
triadic
#772178 #787721 #217877
tetradic
#772178 #784B21 #227821 #214E78
square
#772178 #784B21 #227821 #214E78
split-complementary
#772178 #4E7821 #21784B
monochromatic
#180718 #471448 #772178 #A72EA8 #CB47CC

Accessibility & contrast

On white

9.24
#772178 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#772178 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #772178
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772178#FFFFFF#000000##FFFFFF
##7721781.009.242.279.24
#FFFFFF9.241.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#11407A
Deuteranopia (green-blind)
#374B76
Tritanopia (blue-blind)
#7B2E4A
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #772178;
/* rgb */ color: rgb(119, 33, 120);
/* oklch */ color: oklch(42.0% 0.158 327.5);
Tailwind
colors: {
  custom: {
    50: '#a1659f',
    500: '#772178',
    950: '#000000',
  },
}
SCSS
$custom: #772178;
$custom-light: #a1659f;
$custom-dark: #000000;
JSON
{
  "hex": "#772178",
  "rgb": {
    "r": 119,
    "g": 33,
    "b": 120
  },
  "hsl": {
    "h": 299.31,
    "s": 56.863,
    "l": 30
  },
  "oklch": {
    "l": 0.42001,
    "c": 0.15805,
    "h": 327.5
  },
  "luminance": 0.06366
}

Semantic roles & 50–950 ramp

primary
#772178
secondary
#4BAB4A
accent
#E04849
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #772178

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

Preview Lab → · Contrast checker → · Palette generator →

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