#772098#772098

#772098 is a dark, vivid purple. Relative luminance 0.072; OKLCH L 44.1% C 0.188 H 314.5°. Best body text is #FFFFFF at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#772098
RGBrgb(119, 32, 152)
HSLhsl(284, 65%, 36%)
HSVhsv(284, 79%, 60%)
CMYKcmyk(21.7%, 78.9%, 0%, 40.4%)
CIE-LABlab(32.31, 54.51, -47.38)
CIE-LCHlch(32.31, 72.23, 319.00°)
OKLaboklab(44.09% 0.1313 -0.1338)
OKLCHoklch(44.09% 0.188 314.5)
XYZxyz(13.7908, 7.2225, 30.3673)
Luminance0.0722 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772098 #419820
analogous
#3B2098 #772098 #98207D
triadic
#772098 #987720 #209877
tetradic
#772098 #983B20 #419820 #207D98
square
#772098 #983B20 #419820 #207D98
split-complementary
#772098 #7D9820 #20983B
monochromatic
#280B33 #4F1565 #772098 #9F2BCB #B757DC

Accessibility & contrast

On white

8.59
#772098 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#772098 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #772098
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772098#FFFFFF#000000##FFFFFF
##7720981.008.592.448.59
#FFFFFF8.591.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00479B
Deuteranopia (green-blind)
#174E95
Tritanopia (blue-blind)
#743C5C
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #772098;
/* rgb */ color: rgb(119, 32, 152);
/* oklch */ color: oklch(44.1% 0.188 314.5);
Tailwind
colors: {
  custom: {
    50: '#a266b7',
    500: '#772098',
    950: '#000000',
  },
}
SCSS
$custom: #772098;
$custom-light: #a266b7;
$custom-dark: #000000;
JSON
{
  "hex": "#772098",
  "rgb": {
    "r": 119,
    "g": 32,
    "b": 152
  },
  "hsl": {
    "h": 283.5,
    "s": 65.217,
    "l": 36.078
  },
  "oklch": {
    "l": 0.4409,
    "c": 0.18752,
    "h": 314.5
  },
  "luminance": 0.07222
}

Semantic roles & 50–950 ramp

primary
#772098
secondary
#72BF54
accent
#E8406E
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #772098

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

Preview Lab → · Contrast checker → · Palette generator →

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