#772297#772297

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

Color values

HEX#772297
RGBrgb(119, 34, 151)
HSLhsl(284, 63%, 36%)
HSVhsv(284, 77%, 59%)
CMYKcmyk(21.2%, 77.5%, 0%, 40.8%)
CIE-LABlab(32.48, 53.60, -46.49)
CIE-LCHlch(32.48, 70.95, 319.06°)
OKLaboklab(44.19% 0.1297 -0.1312)
OKLCHoklch(44.19% 0.185 314.7)
XYZxyz(13.7648, 7.3009, 29.9563)
Luminance0.0730 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772297 #429722
analogous
#3D2297 #772297 #97227D
triadic
#772297 #977722 #229777
tetradic
#772297 #973D22 #429722 #227D97
square
#772297 #973D22 #429722 #227D97
split-complementary
#772297 #7D9722 #22973D
monochromatic
#280C33 #501765 #772297 #9E2DC9 #B75ADA

Accessibility & contrast

On white

8.54
#772297 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #772297
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772297#FFFFFF#000000##FFFFFF
##7722971.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00489A
Deuteranopia (green-blind)
#1B4E95
Tritanopia (blue-blind)
#743D5C
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #772297;
/* rgb */ color: rgb(119, 34, 151);
/* oklch */ color: oklch(44.2% 0.185 314.7);
Tailwind
colors: {
  custom: {
    50: '#a267b6',
    500: '#772297',
    950: '#000000',
  },
}
SCSS
$custom: #772297;
$custom-light: #a267b6;
$custom-dark: #000000;
JSON
{
  "hex": "#772297",
  "rgb": {
    "r": 119,
    "g": 34,
    "b": 151
  },
  "hsl": {
    "h": 283.59,
    "s": 63.243,
    "l": 36.275
  },
  "oklch": {
    "l": 0.4419,
    "c": 0.18454,
    "h": 314.7
  },
  "luminance": 0.073
}

Semantic roles & 50–950 ramp

primary
#772297
secondary
#73BE57
accent
#E6426F
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #772297

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

Preview Lab → · Contrast checker → · Palette generator →

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