#772899#772899

#772899 is a dark, vivid purple. Relative luminance 0.077; OKLCH L 44.9% C 0.180 H 313.5°. Best body text is #FFFFFF at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#772899
RGBrgb(119, 40, 153)
HSLhsl(282, 59%, 38%)
HSVhsv(282, 74%, 60%)
CMYKcmyk(22.2%, 73.9%, 0%, 40%)
CIE-LABlab(33.44, 51.70, -46.17)
CIE-LCHlch(33.44, 69.31, 318.23°)
OKLaboklab(44.91% 0.1237 -0.1303)
OKLCHoklch(44.91% 0.18 313.5)
XYZxyz(14.1153, 7.7399, 30.8812)
Luminance0.0774 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772899 #4A9928
analogous
#3F2899 #772899 #992882
triadic
#772899 #997728 #289977
tetradic
#772899 #993F28 #4A9928 #288299
square
#772899 #993F28 #4A9928 #288299
split-complementary
#772899 #829928 #28993F
monochromatic
#2C0F38 #511B68 #772899 #9D35CA #B465D7

Accessibility & contrast

On white

8.24
#772899 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#772899 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #772899
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772899#FFFFFF#000000##FFFFFF
##7728991.008.242.558.24
#FFFFFF8.241.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9C
Deuteranopia (green-blind)
#1F5097
Tritanopia (blue-blind)
#73415E
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #772899;
/* rgb */ color: rgb(119, 40, 153);
/* oklch */ color: oklch(44.9% 0.180 313.5);
Tailwind
colors: {
  custom: {
    50: '#a26ab8',
    500: '#772899',
    950: '#000000',
  },
}
SCSS
$custom: #772899;
$custom-light: #a26ab8;
$custom-dark: #000000;
JSON
{
  "hex": "#772899",
  "rgb": {
    "r": 119,
    "g": 40,
    "b": 153
  },
  "hsl": {
    "h": 281.947,
    "s": 58.549,
    "l": 37.843
  },
  "oklch": {
    "l": 0.4491,
    "c": 0.17967,
    "h": 313.5
  },
  "luminance": 0.07739
}

Semantic roles & 50–950 ramp

primary
#772899
secondary
#7CBD60
accent
#E24675
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #772899

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

Preview Lab → · Contrast checker → · Palette generator →

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