#772288#772288

#772288 is a dark, vivid purple. Relative luminance 0.068; OKLCH L 43.1% C 0.171 H 320.4°. Best body text is #FFFFFF at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#772288
RGBrgb(119, 34, 136)
HSLhsl(290, 60%, 33%)
HSVhsv(290, 75%, 53%)
CMYKcmyk(12.5%, 75%, 0%, 46.7%)
CIE-LABlab(31.45, 50.58, -38.91)
CIE-LCHlch(31.45, 63.81, 322.43°)
OKLaboklab(43.13% 0.1316 -0.109)
OKLCHoklch(43.13% 0.171 320.4)
XYZxyz(12.6232, 6.8442, 23.9439)
Luminance0.0684 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772288 #338822
analogous
#442288 #772288 #882266
triadic
#772288 #887722 #228877
tetradic
#772288 #884422 #338822 #226688
square
#772288 #884422 #338822 #226688
split-complementary
#772288 #668822 #228844
monochromatic
#210A26 #4C1657 #772288 #A22EB9 #BE51D3

Accessibility & contrast

On white

8.87
#772288 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#772288 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #772288
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772288#FFFFFF#000000##FFFFFF
##7722881.008.872.378.87
#FFFFFF8.871.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448B
Deuteranopia (green-blind)
#2C4D86
Tritanopia (blue-blind)
#783653
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #772288;
/* rgb */ color: rgb(119, 34, 136);
/* oklch */ color: oklch(43.1% 0.171 320.4);
Tailwind
colors: {
  custom: {
    50: '#a266ab',
    500: '#772288',
    950: '#000000',
  },
}
SCSS
$custom: #772288;
$custom-light: #a266ab;
$custom-dark: #000000;
JSON
{
  "hex": "#772288",
  "rgb": {
    "r": 119,
    "g": 34,
    "b": 136
  },
  "hsl": {
    "h": 290,
    "s": 60,
    "l": 33.333
  },
  "oklch": {
    "l": 0.43129,
    "c": 0.17089,
    "h": 320.4
  },
  "luminance": 0.06844
}

Semantic roles & 50–950 ramp

primary
#772288
secondary
#60B74F
accent
#E3455F
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #772288

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

Preview Lab → · Contrast checker → · Palette generator →

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