#771D7C#771D7C

#771D7C is a dark, vivid purple. Relative luminance 0.063; OKLCH L 41.9% C 0.166 H 325.7°. Best body text is #FFFFFF at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#771D7C
RGBrgb(119, 29, 124)
HSLhsl(297, 62%, 30%)
HSVhsv(297, 77%, 49%)
CMYKcmyk(4%, 76.6%, 0%, 51.4%)
CIE-LABlab(30.05, 50.12, -33.64)
CIE-LCHlch(30.05, 60.36, 326.13°)
OKLaboklab(41.89% 0.1373 -0.0936)
OKLCHoklch(41.89% 0.166 325.7)
XYZxyz(11.6850, 6.2567, 19.6571)
Luminance0.0626 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771D7C #227C1D
analogous
#471D7C #771D7C #7C1D52
triadic
#771D7C #7C771D #1D7C77
tetradic
#771D7C #7C471D #227C1D #1D527C
square
#771D7C #7C471D #227C1D #1D527C
split-complementary
#771D7C #527C1D #1D7C47
monochromatic
#180619 #47114A #771D7C #A729AE #CB41D3

Accessibility & contrast

On white

9.33
#771D7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#771D7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #771D7C
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##771D7C#FFFFFF#000000##FFFFFF
##771D7C1.009.332.259.33
#FFFFFF9.331.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00407F
Deuteranopia (green-blind)
#324B7A
Tritanopia (blue-blind)
#7A2D4B
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #771d7c;
/* rgb */ color: rgb(119, 29, 124);
/* oklch */ color: oklch(41.9% 0.166 325.7);
Tailwind
colors: {
  custom: {
    50: '#a264a2',
    500: '#771d7c',
    950: '#000000',
  },
}
SCSS
$custom: #771d7c;
$custom-light: #a264a2;
$custom-dark: #000000;
JSON
{
  "hex": "#771d7c",
  "rgb": {
    "r": 119,
    "g": 29,
    "b": 124
  },
  "hsl": {
    "h": 296.842,
    "s": 62.092,
    "l": 30
  },
  "oklch": {
    "l": 0.41887,
    "c": 0.16611,
    "h": 325.7
  },
  "luminance": 0.06256
}

Semantic roles & 50–950 ramp

primary
#771D7C
secondary
#4BB045
accent
#E5434B
background
#FAF6FA
surface
#F4EBF3
border
#CEC6CD
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #771D7C

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

Preview Lab → · Contrast checker → · Palette generator →

#771D7C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva