#771870#771870

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

Color values

HEX#771870
RGBrgb(119, 24, 112)
HSLhsl(304, 66%, 28%)
HSVhsv(304, 80%, 47%)
CMYKcmyk(0%, 79.8%, 5.9%, 53.3%)
CIE-LABlab(28.76, 49.68, -28.06)
CIE-LCHlch(28.76, 57.05, 330.54°)
OKLaboklab(40.74% 0.142 -0.0773)
OKLCHoklch(40.74% 0.162 331.4)
XYZxyz(10.8590, 5.7460, 15.8633)
Luminance0.0575 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771870 #18771F
analogous
#4E1877 #771870 #771840
triadic
#771870 #707718 #187077
tetradic
#771870 #774E18 #18771F #184077
square
#771870 #774E18 #18771F #184077
split-complementary
#771870 #407718 #18774E
monochromatic
#190518 #440E40 #771870 #AA22A0 #D633CA

Accessibility & contrast

On white

9.77
#771870 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#771870 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #771870
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##771870#FFFFFF#000000##FFFFFF
##7718701.009.772.159.77
#FFFFFF9.771.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.771.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #771870;
/* rgb */ color: rgb(119, 24, 112);
/* oklch */ color: oklch(40.7% 0.162 331.4);
Tailwind
colors: {
  custom: {
    50: '#a26199',
    500: '#771870',
    950: '#000000',
  },
}
SCSS
$custom: #771870;
$custom-light: #a26199;
$custom-dark: #000000;
JSON
{
  "hex": "#771870",
  "rgb": {
    "r": 119,
    "g": 24,
    "b": 112
  },
  "hsl": {
    "h": 304.421,
    "s": 66.434,
    "l": 28.039
  },
  "oklch": {
    "l": 0.40735,
    "c": 0.1617,
    "h": 331.4
  },
  "luminance": 0.05745
}

Semantic roles & 50–950 ramp

primary
#771870
secondary
#3FAC47
accent
#E94B3E
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #771870

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

Preview Lab → · Contrast checker → · Palette generator →

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