#772298#772298

#772298 is a dark, vivid purple. Relative luminance 0.073; OKLCH L 44.3% C 0.185 H 314.3°. Best body text is #FFFFFF at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#772298
RGBrgb(119, 34, 152)
HSLhsl(283, 63%, 36%)
HSVhsv(283, 78%, 60%)
CMYKcmyk(21.7%, 77.6%, 0%, 40.4%)
CIE-LABlab(32.55, 53.80, -46.98)
CIE-LCHlch(32.55, 71.43, 318.87°)
OKLaboklab(44.26% 0.1296 -0.1327)
OKLCHoklch(44.26% 0.185 314.3)
XYZxyz(13.8463, 7.3335, 30.3858)
Luminance0.0733 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772298 #439822
analogous
#3C2298 #772298 #98227E
triadic
#772298 #987722 #229877
tetradic
#772298 #983C22 #439822 #227E98
square
#772298 #983C22 #439822 #227E98
split-complementary
#772298 #7E9822 #22983C
monochromatic
#290C34 #501766 #772298 #9E2DCA #B65ADA

Accessibility & contrast

On white

8.51
#772298 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#772298 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #772298
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772298#FFFFFF#000000##FFFFFF
##7722981.008.512.478.51
#FFFFFF8.511.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00489B
Deuteranopia (green-blind)
#194F95
Tritanopia (blue-blind)
#743D5C
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #772298;
/* rgb */ color: rgb(119, 34, 152);
/* oklch */ color: oklch(44.3% 0.185 314.3);
Tailwind
colors: {
  custom: {
    50: '#a267b7',
    500: '#772298',
    950: '#000000',
  },
}
SCSS
$custom: #772298;
$custom-light: #a267b7;
$custom-dark: #000000;
JSON
{
  "hex": "#772298",
  "rgb": {
    "r": 119,
    "g": 34,
    "b": 152
  },
  "hsl": {
    "h": 283.22,
    "s": 63.441,
    "l": 36.471
  },
  "oklch": {
    "l": 0.44264,
    "c": 0.18545,
    "h": 314.3
  },
  "luminance": 0.07333
}

Semantic roles & 50–950 ramp

primary
#772298
secondary
#74BE57
accent
#E64170
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #772298

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

Preview Lab → · Contrast checker → · Palette generator →

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