#771878#771878

#771878 is a dark, vivid purple. Relative luminance 0.059; OKLCH L 41.2% C 0.168 H 327.6°. Best body text is #FFFFFF at 9.61:1 contrast (WCAG AA passes).

Color values

HEX#771878
RGBrgb(119, 24, 120)
HSLhsl(299, 67%, 28%)
HSVhsv(299, 80%, 47%)
CMYKcmyk(0.8%, 80%, 0%, 52.9%)
CIE-LABlab(29.24, 51.03, -32.40)
CIE-LCHlch(29.24, 60.45, 327.59°)
OKLaboklab(41.23% 0.1419 -0.0899)
OKLCHoklch(41.23% 0.168 327.6)
XYZxyz(11.3244, 5.9321, 18.3142)
Luminance0.0593 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771878 #197818
analogous
#471878 #771878 #781849
triadic
#771878 #787718 #187877
tetradic
#771878 #784718 #197818 #184978
square
#771878 #784718 #197818 #184978
split-complementary
#771878 #497818 #187847
monochromatic
#19051A #440E45 #771878 #AA22AB #D534D6

Accessibility & contrast

On white

9.61
#771878 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#771878 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #771878
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##771878#FFFFFF#000000##FFFFFF
##7718781.009.612.199.61
#FFFFFF9.611.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D7B
Deuteranopia (green-blind)
#334976
Tritanopia (blue-blind)
#7B2948
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #771878;
/* rgb */ color: rgb(119, 24, 120);
/* oklch */ color: oklch(41.2% 0.168 327.6);
Tailwind
colors: {
  custom: {
    50: '#a2629f',
    500: '#771878',
    950: '#000000',
  },
}
SCSS
$custom: #771878;
$custom-light: #a2629f;
$custom-dark: #000000;
JSON
{
  "hex": "#771878",
  "rgb": {
    "r": 119,
    "g": 24,
    "b": 120
  },
  "hsl": {
    "h": 299.375,
    "s": 66.667,
    "l": 28.235
  },
  "oklch": {
    "l": 0.4123,
    "c": 0.16802,
    "h": 327.6
  },
  "luminance": 0.05931
}

Semantic roles & 50–950 ramp

primary
#771878
secondary
#40AD3F
accent
#EA3E40
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #771878

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

Preview Lab → · Contrast checker → · Palette generator →

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