#771568#771568

#771568 is a dark, vivid purple. Relative luminance 0.055; OKLCH L 40.0% C 0.159 H 335.4°. Best body text is #FFFFFF at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#771568
RGBrgb(119, 21, 104)
HSLhsl(309, 70%, 27%)
HSVhsv(309, 82%, 47%)
CMYKcmyk(0%, 82.4%, 12.6%, 53.3%)
CIE-LABlab(28.00, 49.29, -24.11)
CIE-LCHlch(28.00, 54.87, 333.93°)
OKLaboklab(40.05% 0.1443 -0.0659)
OKLCHoklch(40.05% 0.159 335.4)
XYZxyz(10.3748, 5.4587, 13.6013)
Luminance0.0546 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771568 #157724
analogous
#551577 #771568 #771537
triadic
#771568 #687715 #156877
tetradic
#771568 #775515 #157724 #153777
square
#771568 #775515 #157724 #153777
split-complementary
#771568 #377715 #157755
monochromatic
#1A0517 #430C3B #771568 #AB1E95 #DA2DBF

Accessibility & contrast

On white

10.04
#771568 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#771568 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #771568
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##771568#FFFFFF#000000##FFFFFF
##7715681.0010.042.0910.04
#FFFFFF10.041.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#15396A
Deuteranopia (green-blind)
#3A4766
Tritanopia (blue-blind)
#7D1E3E
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #771568;
/* rgb */ color: rgb(119, 21, 104);
/* oklch */ color: oklch(40.0% 0.159 335.4);
Tailwind
colors: {
  custom: {
    50: '#a26093',
    500: '#771568',
    950: '#000000',
  },
}
SCSS
$custom: #771568;
$custom-light: #a26093;
$custom-dark: #000000;
JSON
{
  "hex": "#771568",
  "rgb": {
    "r": 119,
    "g": 21,
    "b": 104
  },
  "hsl": {
    "h": 309.184,
    "s": 70,
    "l": 27.451
  },
  "oklch": {
    "l": 0.40046,
    "c": 0.15864,
    "h": 335.4
  },
  "luminance": 0.05458
}

Semantic roles & 50–950 ramp

primary
#771568
secondary
#3BAD4C
accent
#ED563B
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#0F050D
muted
#7F7A7E

Preview Lab

Preview with #771568

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

Preview Lab → · Contrast checker → · Palette generator →

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