#771768#771768

#771768 is a dark, vivid purple. Relative luminance 0.055; OKLCH L 40.2% C 0.157 H 335.5°. Best body text is #FFFFFF at 9.97:1 contrast (WCAG AA passes).

Color values

HEX#771768
RGBrgb(119, 23, 104)
HSLhsl(309, 68%, 28%)
HSVhsv(309, 81%, 47%)
CMYKcmyk(0%, 80.7%, 12.6%, 53.3%)
CIE-LABlab(28.21, 48.70, -23.79)
CIE-LCHlch(28.21, 54.20, 333.96°)
OKLaboklab(40.19% 0.1426 -0.065)
OKLCHoklch(40.19% 0.157 335.5)
XYZxyz(10.4130, 5.5352, 13.6140)
Luminance0.0553 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771768 #177726
analogous
#561777 #771768 #771738
triadic
#771768 #687717 #176877
tetradic
#771768 #775617 #177726 #173877
square
#771768 #775617 #177726 #173877
split-complementary
#771768 #387717 #177756
monochromatic
#1A0516 #440D3B #771768 #AA2195 #D731BD

Accessibility & contrast

On white

9.97
#771768 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#771768 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #771768
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##771768#FFFFFF#000000##FFFFFF
##7717681.009.972.119.97
#FFFFFF9.971.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#17396A
Deuteranopia (green-blind)
#3B4866
Tritanopia (blue-blind)
#7D1F3E
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #771768;
/* rgb */ color: rgb(119, 23, 104);
/* oklch */ color: oklch(40.2% 0.157 335.5);
Tailwind
colors: {
  custom: {
    50: '#a26093',
    500: '#771768',
    950: '#000000',
  },
}
SCSS
$custom: #771768;
$custom-light: #a26093;
$custom-dark: #000000;
JSON
{
  "hex": "#771768",
  "rgb": {
    "r": 119,
    "g": 23,
    "b": 104
  },
  "hsl": {
    "h": 309.375,
    "s": 67.606,
    "l": 27.843
  },
  "oklch": {
    "l": 0.40193,
    "c": 0.15667,
    "h": 335.5
  },
  "luminance": 0.05534
}

Semantic roles & 50–950 ramp

primary
#771768
secondary
#3EAC4F
accent
#EA583D
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#0F050D
muted
#7F7A7E

Preview Lab

Preview with #771768

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

Preview Lab → · Contrast checker → · Palette generator →

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