#772097#772097

#772097 is a dark, vivid purple. Relative luminance 0.072; OKLCH L 44.0% C 0.187 H 314.8°. Best body text is #FFFFFF at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#772097
RGBrgb(119, 32, 151)
HSLhsl(284, 65%, 36%)
HSVhsv(284, 79%, 59%)
CMYKcmyk(21.2%, 78.8%, 0%, 40.8%)
CIE-LABlab(32.24, 54.31, -46.89)
CIE-LCHlch(32.24, 71.75, 319.19°)
OKLaboklab(44.02% 0.1315 -0.1324)
OKLCHoklch(44.02% 0.187 314.8)
XYZxyz(13.7092, 7.1898, 29.9378)
Luminance0.0719 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772097 #409720
analogous
#3C2097 #772097 #97207B
triadic
#772097 #977720 #209777
tetradic
#772097 #973C20 #409720 #207B97
square
#772097 #973C20 #409720 #207B97
split-complementary
#772097 #7B9720 #20973C
monochromatic
#270B32 #4F1564 #772097 #9F2BC9 #B756DB

Accessibility & contrast

On white

8.61
#772097 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #772097
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772097#FFFFFF#000000##FFFFFF
##7720971.008.612.448.61
#FFFFFF8.611.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00479A
Deuteranopia (green-blind)
#194E94
Tritanopia (blue-blind)
#743C5B
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #772097;
/* rgb */ color: rgb(119, 32, 151);
/* oklch */ color: oklch(44.0% 0.187 314.8);
Tailwind
colors: {
  custom: {
    50: '#a266b6',
    500: '#772097',
    950: '#000000',
  },
}
SCSS
$custom: #772097;
$custom-light: #a266b6;
$custom-dark: #000000;
JSON
{
  "hex": "#772097",
  "rgb": {
    "r": 119,
    "g": 32,
    "b": 151
  },
  "hsl": {
    "h": 283.866,
    "s": 65.027,
    "l": 35.882
  },
  "oklch": {
    "l": 0.44016,
    "c": 0.18661,
    "h": 314.8
  },
  "luminance": 0.07189
}

Semantic roles & 50–950 ramp

primary
#772097
secondary
#71BF54
accent
#E8406D
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #772097

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

Preview Lab → · Contrast checker → · Palette generator →

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