#771780#771780

#771780 is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.7% C 0.175 H 324.2°. Best body text is #FFFFFF at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#771780
RGBrgb(119, 23, 128)
HSLhsl(295, 70%, 30%)
HSVhsv(295, 82%, 50%)
CMYKcmyk(7%, 82%, 0%, 49.8%)
CIE-LABlab(29.65, 52.74, -36.80)
CIE-LCHlch(29.65, 64.31, 325.10°)
OKLaboklab(41.68% 0.1422 -0.1028)
OKLCHoklch(41.68% 0.175 324.2)
XYZxyz(11.8101, 6.0940, 20.9721)
Luminance0.0609 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771780 #208017
analogous
#431780 #771780 #801755
triadic
#771780 #807717 #178077
tetradic
#771780 #804317 #208017 #175580
square
#771780 #804317 #208017 #175580
split-complementary
#771780 #558017 #178043
monochromatic
#18051A #470E4C #771780 #A720B4 #CD36DB

Accessibility & contrast

On white

9.47
#771780 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#771780 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #771780
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##771780#FFFFFF#000000##FFFFFF
##7717801.009.472.229.47
#FFFFFF9.471.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F83
Deuteranopia (green-blind)
#2D4A7E
Tritanopia (blue-blind)
#792C4C
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #771780;
/* rgb */ color: rgb(119, 23, 128);
/* oklch */ color: oklch(41.7% 0.175 324.2);
Tailwind
colors: {
  custom: {
    50: '#a262a5',
    500: '#771780',
    950: '#000000',
  },
}
SCSS
$custom: #771780;
$custom-light: #a262a5;
$custom-dark: #000000;
JSON
{
  "hex": "#771780",
  "rgb": {
    "r": 119,
    "g": 23,
    "b": 128
  },
  "hsl": {
    "h": 294.857,
    "s": 69.536,
    "l": 29.608
  },
  "oklch": {
    "l": 0.41683,
    "c": 0.17546,
    "h": 324.2
  },
  "luminance": 0.06093
}

Semantic roles & 50–950 ramp

primary
#771780
secondary
#48B43E
accent
#EC3B4B
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #771780

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

Preview Lab → · Contrast checker → · Palette generator →

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