#771868#771868

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

Color values

HEX#771868
RGBrgb(119, 24, 104)
HSLhsl(309, 66%, 28%)
HSVhsv(309, 80%, 47%)
CMYKcmyk(0%, 79.8%, 12.6%, 53.3%)
CIE-LABlab(28.32, 48.39, -23.62)
CIE-LCHlch(28.32, 53.84, 333.98°)
OKLaboklab(40.27% 0.1416 -0.0645)
OKLCHoklch(40.27% 0.156 335.5)
XYZxyz(10.4332, 5.5756, 13.6207)
Luminance0.0558 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771868 #187727
analogous
#561877 #771868 #771838
triadic
#771868 #687718 #186877
tetradic
#771868 #775618 #187727 #183877
square
#771868 #775618 #187727 #183877
split-complementary
#771868 #387718 #187756
monochromatic
#190516 #440E3B #771868 #AA2295 #D633BC

Accessibility & contrast

On white

9.93
#771868 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #771868
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##771868#FFFFFF#000000##FFFFFF
##7718681.009.932.129.93
#FFFFFF9.931.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#183A6A
Deuteranopia (green-blind)
#3B4866
Tritanopia (blue-blind)
#7D203F
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #771868;
/* rgb */ color: rgb(119, 24, 104);
/* oklch */ color: oklch(40.3% 0.156 335.5);
Tailwind
colors: {
  custom: {
    50: '#a26193',
    500: '#771868',
    950: '#000000',
  },
}
SCSS
$custom: #771868;
$custom-light: #a26193;
$custom-dark: #000000;
JSON
{
  "hex": "#771868",
  "rgb": {
    "r": 119,
    "g": 24,
    "b": 104
  },
  "hsl": {
    "h": 309.474,
    "s": 66.434,
    "l": 28.039
  },
  "oklch": {
    "l": 0.4027,
    "c": 0.15564,
    "h": 335.5
  },
  "luminance": 0.05575
}

Semantic roles & 50–950 ramp

primary
#771868
secondary
#3FAC50
accent
#E9593E
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#0F050D
muted
#7F7A7E

Preview Lab

Preview with #771868

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

Preview Lab → · Contrast checker → · Palette generator →

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