#771770#771770

#771770 is a dark, vivid purple. Relative luminance 0.057; OKLCH L 40.7% C 0.163 H 331.4°. Best body text is #FFFFFF at 9.81:1 contrast (WCAG AA passes).

Color values

HEX#771770
RGBrgb(119, 23, 112)
HSLhsl(304, 68%, 28%)
HSVhsv(304, 81%, 47%)
CMYKcmyk(0%, 80.7%, 5.9%, 53.3%)
CIE-LABlab(28.66, 49.98, -28.23)
CIE-LCHlch(28.66, 57.40, 330.54°)
OKLaboklab(40.66% 0.1429 -0.0778)
OKLCHoklch(40.66% 0.163 331.4)
XYZxyz(10.8388, 5.7055, 15.8565)
Luminance0.0570 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771770 #17771E
analogous
#4E1777 #771770 #771740
triadic
#771770 #707717 #177077
tetradic
#771770 #774E17 #17771E #174077
square
#771770 #774E17 #17771E #174077
split-complementary
#771770 #407717 #17774E
monochromatic
#1A0518 #440D40 #771770 #AA21A0 #D731CB

Accessibility & contrast

On white

9.81
#771770 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#771770 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #771770
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##771770#FFFFFF#000000##FFFFFF
##7717701.009.812.149.81
#FFFFFF9.811.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D3B72
Deuteranopia (green-blind)
#37486E
Tritanopia (blue-blind)
#7C2443
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #771770;
/* rgb */ color: rgb(119, 23, 112);
/* oklch */ color: oklch(40.7% 0.163 331.4);
Tailwind
colors: {
  custom: {
    50: '#a26199',
    500: '#771770',
    950: '#000000',
  },
}
SCSS
$custom: #771770;
$custom-light: #a26199;
$custom-dark: #000000;
JSON
{
  "hex": "#771770",
  "rgb": {
    "r": 119,
    "g": 23,
    "b": 112
  },
  "hsl": {
    "h": 304.375,
    "s": 67.606,
    "l": 27.843
  },
  "oklch": {
    "l": 0.40659,
    "c": 0.16271,
    "h": 331.4
  },
  "luminance": 0.05705
}

Semantic roles & 50–950 ramp

primary
#771770
secondary
#3EAC46
accent
#EA4A3D
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F050E
muted
#7F7A7E

Preview Lab

Preview with #771770

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

Preview Lab → · Contrast checker → · Palette generator →

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