#772788#772788

#772788 is a dark, vivid purple. Relative luminance 0.072; OKLCH L 43.6% C 0.165 H 320.1°. Best body text is #FFFFFF at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#772788
RGBrgb(119, 39, 136)
HSLhsl(289, 55%, 34%)
HSVhsv(289, 71%, 53%)
CMYKcmyk(12.5%, 71.3%, 0%, 46.7%)
CIE-LABlab(32.15, 48.59, -37.79)
CIE-LCHlch(32.15, 61.56, 322.13°)
OKLaboklab(43.63% 0.1263 -0.1058)
OKLCHoklch(43.63% 0.165 320.1)
XYZxyz(12.7767, 7.1512, 23.9951)
Luminance0.0715 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772788 #388827
analogous
#472788 #772788 #882769
triadic
#772788 #887727 #278877
tetradic
#772788 #884727 #388827 #276988
square
#772788 #884727 #388827 #276988
split-complementary
#772788 #698827 #278847
monochromatic
#240C29 #4D1958 #772788 #A135B8 #BB5AD0

Accessibility & contrast

On white

8.64
#772788 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#772788 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #772788
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772788#FFFFFF#000000##FFFFFF
##7727881.008.642.438.64
#FFFFFF8.641.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468B
Deuteranopia (green-blind)
#304E86
Tritanopia (blue-blind)
#773954
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #772788;
/* rgb */ color: rgb(119, 39, 136);
/* oklch */ color: oklch(43.6% 0.165 320.1);
Tailwind
colors: {
  custom: {
    50: '#a169ab',
    500: '#772788',
    950: '#000000',
  },
}
SCSS
$custom: #772788;
$custom-light: #a169ab;
$custom-dark: #000000;
JSON
{
  "hex": "#772788",
  "rgb": {
    "r": 119,
    "g": 39,
    "b": 136
  },
  "hsl": {
    "h": 289.485,
    "s": 55.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.43628,
    "c": 0.16476,
    "h": 320.1
  },
  "luminance": 0.07151
}

Semantic roles & 50–950 ramp

primary
#772788
secondary
#67B556
accent
#DF4963
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #772788

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

Preview Lab → · Contrast checker → · Palette generator →

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