#771A7F#771A7F

#771A7F is a dark, vivid purple. Relative luminance 0.062; OKLCH L 41.8% C 0.172 H 324.5°. Best body text is #FFFFFF at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#771A7F
RGBrgb(119, 26, 127)
HSLhsl(295, 66%, 30%)
HSVhsv(295, 80%, 50%)
CMYKcmyk(6.3%, 79.5%, 0%, 50.2%)
CIE-LABlab(29.90, 51.66, -35.77)
CIE-LCHlch(29.90, 62.83, 325.30°)
OKLaboklab(41.84% 0.1398 -0.0998)
OKLCHoklch(41.84% 0.172 324.5)
XYZxyz(11.8076, 6.1938, 20.6482)
Luminance0.0619 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771A7F #227F1A
analogous
#451A7F #771A7F #7F1A54
triadic
#771A7F #7F771A #1A7F77
tetradic
#771A7F #7F451A #227F1A #1A547F
square
#771A7F #7F451A #227F1A #1A547F
split-complementary
#771A7F #547F1A #1A7F45
monochromatic
#180519 #47104C #771A7F #A724B2 #CB3CD7

Accessibility & contrast

On white

9.38
#771A7F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#771A7F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #771A7F
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##771A7F#FFFFFF#000000##FFFFFF
##771A7F1.009.382.249.38
#FFFFFF9.381.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F82
Deuteranopia (green-blind)
#2F4A7D
Tritanopia (blue-blind)
#792D4C
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #771a7f;
/* rgb */ color: rgb(119, 26, 127);
/* oklch */ color: oklch(41.8% 0.172 324.5);
Tailwind
colors: {
  custom: {
    50: '#a263a5',
    500: '#771a7f',
    950: '#000000',
  },
}
SCSS
$custom: #771a7f;
$custom-light: #a263a5;
$custom-dark: #000000;
JSON
{
  "hex": "#771a7f",
  "rgb": {
    "r": 119,
    "g": 26,
    "b": 127
  },
  "hsl": {
    "h": 295.248,
    "s": 66.013,
    "l": 30
  },
  "oklch": {
    "l": 0.41838,
    "c": 0.17177,
    "h": 324.5
  },
  "luminance": 0.06193
}

Semantic roles & 50–950 ramp

primary
#771A7F
secondary
#4BB342
accent
#E93F4C
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #771A7F

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

Preview Lab → · Contrast checker → · Palette generator →

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