#771781#771781

#771781 is a dark, vivid purple. Relative luminance 0.061; OKLCH L 41.8% C 0.176 H 323.7°. Best body text is #FFFFFF at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#771781
RGBrgb(119, 23, 129)
HSLhsl(294, 70%, 30%)
HSVhsv(294, 82%, 51%)
CMYKcmyk(7.8%, 82.2%, 0%, 49.4%)
CIE-LABlab(29.71, 52.92, -37.32)
CIE-LCHlch(29.71, 64.76, 324.81°)
OKLaboklab(41.75% 0.1421 -0.1043)
OKLCHoklch(41.75% 0.176 323.7)
XYZxyz(11.8762, 6.1205, 21.3205)
Luminance0.0612 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771781 #218117
analogous
#421781 #771781 #811756
triadic
#771781 #817717 #178177
tetradic
#771781 #814217 #218117 #175681
square
#771781 #814217 #218117 #175681
split-complementary
#771781 #568117 #178142
monochromatic
#18051A #470E4D #771781 #A720B5 #CC37DB

Accessibility & contrast

On white

9.44
#771781 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #771781
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##771781#FFFFFF#000000##FFFFFF
##7717811.009.442.229.44
#FFFFFF9.441.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F84
Deuteranopia (green-blind)
#2C4A7F
Tritanopia (blue-blind)
#792D4D
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #771781;
/* rgb */ color: rgb(119, 23, 129);
/* oklch */ color: oklch(41.8% 0.176 323.7);
Tailwind
colors: {
  custom: {
    50: '#a262a6',
    500: '#771781',
    950: '#000000',
  },
}
SCSS
$custom: #771781;
$custom-light: #a262a6;
$custom-dark: #000000;
JSON
{
  "hex": "#771781",
  "rgb": {
    "r": 119,
    "g": 23,
    "b": 129
  },
  "hsl": {
    "h": 294.34,
    "s": 69.737,
    "l": 29.804
  },
  "oklch": {
    "l": 0.41751,
    "c": 0.17627,
    "h": 323.7
  },
  "luminance": 0.0612
}

Semantic roles & 50–950 ramp

primary
#771781
secondary
#4AB53E
accent
#ED3B4C
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #771781

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

Preview Lab → · Contrast checker → · Palette generator →

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