#771E7C#771E7C

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

Color values

HEX#771E7C
RGBrgb(119, 30, 124)
HSLhsl(297, 61%, 30%)
HSVhsv(297, 76%, 49%)
CMYKcmyk(4%, 75.8%, 0%, 51.4%)
CIE-LABlab(30.17, 49.77, -33.44)
CIE-LCHlch(30.17, 59.97, 326.10°)
OKLaboklab(41.97% 0.1363 -0.093)
OKLCHoklch(41.97% 0.165 325.7)
XYZxyz(11.7099, 6.3065, 19.6654)
Luminance0.0631 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771E7C #237C1E
analogous
#481E7C #771E7C #7C1E52
triadic
#771E7C #7C771E #1E7C77
tetradic
#771E7C #7C481E #237C1E #1E527C
square
#771E7C #7C481E #237C1E #1E527C
split-complementary
#771E7C #527C1E #1E7C48
monochromatic
#180619 #48124B #771E7C #A62AAD #CA43D1

Accessibility & contrast

On white

9.29
#771E7C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#771E7C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #771E7C
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##771E7C#FFFFFF#000000##FFFFFF
##771E7C1.009.292.269.29
#FFFFFF9.291.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#02407F
Deuteranopia (green-blind)
#334B7A
Tritanopia (blue-blind)
#7A2E4B
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #771e7c;
/* rgb */ color: rgb(119, 30, 124);
/* oklch */ color: oklch(42.0% 0.165 325.7);
Tailwind
colors: {
  custom: {
    50: '#a164a2',
    500: '#771e7c',
    950: '#000000',
  },
}
SCSS
$custom: #771e7c;
$custom-light: #a164a2;
$custom-dark: #000000;
JSON
{
  "hex": "#771e7c",
  "rgb": {
    "r": 119,
    "g": 30,
    "b": 124
  },
  "hsl": {
    "h": 296.809,
    "s": 61.039,
    "l": 30.196
  },
  "oklch": {
    "l": 0.41974,
    "c": 0.16499,
    "h": 325.7
  },
  "luminance": 0.06306
}

Semantic roles & 50–950 ramp

primary
#771E7C
secondary
#4CAF46
accent
#E4444C
background
#FAF6FA
surface
#F4EBF3
border
#CEC6CD
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #771E7C

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

Preview Lab → · Contrast checker → · Palette generator →

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