#772791#772791

#772791 is a dark, vivid purple. Relative luminance 0.074; OKLCH L 44.2% C 0.173 H 316.5°. Best body text is #FFFFFF at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#772791
RGBrgb(119, 39, 145)
HSLhsl(285, 58%, 36%)
HSVhsv(285, 73%, 57%)
CMYKcmyk(17.9%, 73.1%, 0%, 43.1%)
CIE-LABlab(32.74, 50.42, -42.40)
CIE-LCHlch(32.74, 65.88, 319.94°)
OKLaboklab(44.24% 0.1256 -0.1193)
OKLCHoklch(44.24% 0.173 316.5)
XYZxyz(13.4433, 7.4179, 27.5062)
Luminance0.0742 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#772791 #419127
analogous
#422791 #772791 #912776
triadic
#772791 #917727 #279177
tetradic
#772791 #914227 #419127 #277691
square
#772791 #914227 #419127 #277691
split-complementary
#772791 #769127 #279142
monochromatic
#280D31 #4F1A61 #772791 #9F34C1 #B75FD4

Accessibility & contrast

On white

8.46
#772791 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#772791 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #772791
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##772791#FFFFFF#000000##FFFFFF
##7727911.008.462.488.46
#FFFFFF8.461.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004894
Deuteranopia (green-blind)
#274F8F
Tritanopia (blue-blind)
#753D59
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #772791;
/* rgb */ color: rgb(119, 39, 145);
/* oklch */ color: oklch(44.2% 0.173 316.5);
Tailwind
colors: {
  custom: {
    50: '#a269b2',
    500: '#772791',
    950: '#000000',
  },
}
SCSS
$custom: #772791;
$custom-light: #a269b2;
$custom-dark: #000000;
JSON
{
  "hex": "#772791",
  "rgb": {
    "r": 119,
    "g": 39,
    "b": 145
  },
  "hsl": {
    "h": 285.283,
    "s": 57.609,
    "l": 36.078
  },
  "oklch": {
    "l": 0.4424,
    "c": 0.17323,
    "h": 316.5
  },
  "luminance": 0.07417
}

Semantic roles & 50–950 ramp

primary
#772791
secondary
#72B95B
accent
#E1476D
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #772791

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

Preview Lab → · Contrast checker → · Palette generator →

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