#771968#771968

#771968 is a dark, vivid purple. Relative luminance 0.056; OKLCH L 40.4% C 0.155 H 335.5°. Best body text is #FFFFFF at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#771968
RGBrgb(119, 25, 104)
HSLhsl(310, 65%, 28%)
HSVhsv(310, 79%, 47%)
CMYKcmyk(0%, 79%, 12.6%, 53.3%)
CIE-LABlab(28.43, 48.07, -23.45)
CIE-LCHlch(28.43, 53.48, 334.00°)
OKLaboklab(40.35% 0.1407 -0.064)
OKLCHoklch(40.35% 0.155 335.5)
XYZxyz(10.4542, 5.6176, 13.6277)
Luminance0.0562 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771968 #197728
analogous
#571977 #771968 #771939
triadic
#771968 #687719 #196877
tetradic
#771968 #775719 #197728 #193977
square
#771968 #775719 #197728 #193977
split-complementary
#771968 #397719 #197757
monochromatic
#190516 #440E3C #771968 #AA2494 #D536BB

Accessibility & contrast

On white

9.89
#771968 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#771968 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #771968
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##771968#FFFFFF#000000##FFFFFF
##7719681.009.892.129.89
#FFFFFF9.891.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#193A6A
Deuteranopia (green-blind)
#3C4866
Tritanopia (blue-blind)
#7D213F
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #771968;
/* rgb */ color: rgb(119, 25, 104);
/* oklch */ color: oklch(40.4% 0.155 335.5);
Tailwind
colors: {
  custom: {
    50: '#a26193',
    500: '#771968',
    950: '#000000',
  },
}
SCSS
$custom: #771968;
$custom-light: #a26193;
$custom-dark: #000000;
JSON
{
  "hex": "#771968",
  "rgb": {
    "r": 119,
    "g": 25,
    "b": 104
  },
  "hsl": {
    "h": 309.574,
    "s": 65.278,
    "l": 28.235
  },
  "oklch": {
    "l": 0.4035,
    "c": 0.15458,
    "h": 335.5
  },
  "luminance": 0.05617
}

Semantic roles & 50–950 ramp

primary
#771968
secondary
#40AC51
accent
#E85A40
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#0F050D
muted
#7F7A7E

Preview Lab

Preview with #771968

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

Preview Lab → · Contrast checker → · Palette generator →

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