#772198#772198

#772198 is a dark, vivid purple. Relative luminance 0.073; OKLCH L 44.2% C 0.186 H 314.4°. Best body text is #FFFFFF at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#772198
RGBrgb(119, 33, 152)
HSLhsl(283, 64%, 36%)
HSVhsv(283, 78%, 60%)
CMYKcmyk(21.7%, 78.3%, 0%, 40.4%)
CIE-LABlab(32.43, 54.16, -47.18)
CIE-LCHlch(32.43, 71.83, 318.94°)
OKLaboklab(44.18% 0.1305 -0.1333)
OKLCHoklch(44.18% 0.187 314.4)
XYZxyz(13.8181, 7.2771, 30.3764)
Luminance0.0728 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772198 #429821
analogous
#3C2198 #772198 #98217E
triadic
#772198 #987721 #219877
tetradic
#772198 #983C21 #429821 #217E98
square
#772198 #983C21 #429821 #217E98
split-complementary
#772198 #7E9821 #21983C
monochromatic
#280B33 #501666 #772198 #9E2CCA #B759DB

Accessibility & contrast

On white

8.55
#772198 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#772198 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #772198
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772198#FFFFFF#000000##FFFFFF
##7721981.008.552.468.55
#FFFFFF8.551.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00489B
Deuteranopia (green-blind)
#184E95
Tritanopia (blue-blind)
#743D5C
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #772198;
/* rgb */ color: rgb(119, 33, 152);
/* oklch */ color: oklch(44.2% 0.186 314.4);
Tailwind
colors: {
  custom: {
    50: '#a267b7',
    500: '#772198',
    950: '#000000',
  },
}
SCSS
$custom: #772198;
$custom-light: #a267b7;
$custom-dark: #000000;
JSON
{
  "hex": "#772198",
  "rgb": {
    "r": 119,
    "g": 33,
    "b": 152
  },
  "hsl": {
    "h": 283.361,
    "s": 64.324,
    "l": 36.275
  },
  "oklch": {
    "l": 0.44176,
    "c": 0.1865,
    "h": 314.4
  },
  "luminance": 0.07277
}

Semantic roles & 50–950 ramp

primary
#772198
secondary
#73BF56
accent
#E7406F
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #772198

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

Preview Lab → · Contrast checker → · Palette generator →

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