#771981#771981

#771981 is a dark, vivid purple. Relative luminance 0.062; OKLCH L 41.9% C 0.174 H 323.7°. Best body text is #FFFFFF at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#771981
RGBrgb(119, 25, 129)
HSLhsl(294, 68%, 30%)
HSVhsv(294, 81%, 51%)
CMYKcmyk(7.8%, 80.6%, 0%, 49.4%)
CIE-LABlab(29.92, 52.33, -36.99)
CIE-LCHlch(29.92, 64.09, 324.74°)
OKLaboklab(41.9% 0.1405 -0.1033)
OKLCHoklch(41.9% 0.174 323.7)
XYZxyz(11.9175, 6.2029, 21.3342)
Luminance0.0620 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771981 #238119
analogous
#431981 #771981 #811957
triadic
#771981 #817719 #198177
tetradic
#771981 #814319 #238119 #195781
square
#771981 #814319 #238119 #195781
split-complementary
#771981 #578119 #198143
monochromatic
#18051A #480F4E #771981 #A623B4 #CA3BD9

Accessibility & contrast

On white

9.37
#771981 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#771981 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #771981
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##771981#FFFFFF#000000##FFFFFF
##7719811.009.372.249.37
#FFFFFF9.371.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004084
Deuteranopia (green-blind)
#2D4A7F
Tritanopia (blue-blind)
#792E4D
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #771981;
/* rgb */ color: rgb(119, 25, 129);
/* oklch */ color: oklch(41.9% 0.174 323.7);
Tailwind
colors: {
  custom: {
    50: '#a262a6',
    500: '#771981',
    950: '#000000',
  },
}
SCSS
$custom: #771981;
$custom-light: #a262a6;
$custom-dark: #000000;
JSON
{
  "hex": "#771981",
  "rgb": {
    "r": 119,
    "g": 25,
    "b": 129
  },
  "hsl": {
    "h": 294.231,
    "s": 67.532,
    "l": 30.196
  },
  "oklch": {
    "l": 0.41895,
    "c": 0.17441,
    "h": 323.7
  },
  "luminance": 0.06202
}

Semantic roles & 50–950 ramp

primary
#771981
secondary
#4CB541
accent
#EA3D4E
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #771981

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

Preview Lab → · Contrast checker → · Palette generator →

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