#771E7B#771E7B

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

Color values

HEX#771E7B
RGBrgb(119, 30, 123)
HSLhsl(297, 61%, 30%)
HSVhsv(297, 76%, 48%)
CMYKcmyk(3.3%, 75.6%, 0%, 51.8%)
CIE-LABlab(30.11, 49.59, -32.91)
CIE-LCHlch(30.11, 59.52, 326.43°)
OKLaboklab(41.91% 0.1363 -0.0915)
OKLCHoklch(41.91% 0.164 326.1)
XYZxyz(11.6469, 6.2813, 19.3340)
Luminance0.0628 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771E7B #227B1E
analogous
#481E7B #771E7B #7B1E51
triadic
#771E7B #7B771E #1E7B77
tetradic
#771E7B #7B481E #227B1E #1E517B
square
#771E7B #7B481E #227B1E #1E517B
split-complementary
#771E7B #517B1E #1E7B48
monochromatic
#180619 #47124A #771E7B #A72AAC #CB42D1

Accessibility & contrast

On white

9.31
#771E7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #771E7B
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##771E7B#FFFFFF#000000##FFFFFF
##771E7B1.009.312.269.31
#FFFFFF9.311.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#04407E
Deuteranopia (green-blind)
#344B79
Tritanopia (blue-blind)
#7A2E4B
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #771e7b;
/* rgb */ color: rgb(119, 30, 123);
/* oklch */ color: oklch(41.9% 0.164 326.1);
Tailwind
colors: {
  custom: {
    50: '#a164a1',
    500: '#771e7b',
    950: '#000000',
  },
}
SCSS
$custom: #771e7b;
$custom-light: #a164a1;
$custom-dark: #000000;
JSON
{
  "hex": "#771e7b",
  "rgb": {
    "r": 119,
    "g": 30,
    "b": 123
  },
  "hsl": {
    "h": 297.419,
    "s": 60.784,
    "l": 30
  },
  "oklch": {
    "l": 0.4191,
    "c": 0.16414,
    "h": 326.1
  },
  "luminance": 0.06281
}

Semantic roles & 50–950 ramp

primary
#771E7B
secondary
#4BAE46
accent
#E4444B
background
#FAF6FA
surface
#F4EBF3
border
#CEC6CD
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #771E7B

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

Preview Lab → · Contrast checker → · Palette generator →

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