#772188#772188

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

Color values

HEX#772188
RGBrgb(119, 33, 136)
HSLhsl(290, 61%, 33%)
HSVhsv(290, 76%, 53%)
CMYKcmyk(12.5%, 75.7%, 0%, 46.7%)
CIE-LABlab(31.32, 50.95, -39.12)
CIE-LCHlch(31.32, 64.24, 322.48°)
OKLaboklab(43.04% 0.1326 -0.1096)
OKLCHoklch(43.04% 0.172 320.4)
XYZxyz(12.5950, 6.7879, 23.9345)
Luminance0.0679 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772188 #328821
analogous
#432188 #772188 #882165
triadic
#772188 #887721 #218877
tetradic
#772188 #884321 #328821 #216588
square
#772188 #884321 #328821 #216588
split-complementary
#772188 #658821 #218843
monochromatic
#210925 #4C1557 #772188 #A22DB9 #BE4FD4

Accessibility & contrast

On white

8.91
#772188 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#772188 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #772188
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772188#FFFFFF#000000##FFFFFF
##7721881.008.912.368.91
#FFFFFF8.911.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.911.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #772188;
/* rgb */ color: rgb(119, 33, 136);
/* oklch */ color: oklch(43.0% 0.172 320.4);
Tailwind
colors: {
  custom: {
    50: '#a266ab',
    500: '#772188',
    950: '#000000',
  },
}
SCSS
$custom: #772188;
$custom-light: #a266ab;
$custom-dark: #000000;
JSON
{
  "hex": "#772188",
  "rgb": {
    "r": 119,
    "g": 33,
    "b": 136
  },
  "hsl": {
    "h": 290.097,
    "s": 60.947,
    "l": 33.137
  },
  "oklch": {
    "l": 0.43037,
    "c": 0.17203,
    "h": 320.4
  },
  "luminance": 0.06787
}

Semantic roles & 50–950 ramp

primary
#772188
secondary
#5FB84D
accent
#E4445E
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #772188

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

Preview Lab → · Contrast checker → · Palette generator →

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