#771885#771885

#771885 is a dark, vivid purple. Relative luminance 0.063; OKLCH L 42.1% C 0.179 H 322.0°. Best body text is #FFFFFF at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#771885
RGBrgb(119, 24, 133)
HSLhsl(292, 69%, 31%)
HSVhsv(292, 82%, 52%)
CMYKcmyk(10.5%, 82%, 0%, 47.8%)
CIE-LABlab(30.08, 53.36, -39.23)
CIE-LCHlch(30.08, 66.24, 323.68°)
OKLaboklab(42.1% 0.1409 -0.1099)
OKLCHoklch(42.1% 0.179 322)
XYZxyz(12.1676, 6.2694, 22.7550)
Luminance0.0627 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771885 #268518
analogous
#411885 #771885 #85185C
triadic
#771885 #857718 #188577
tetradic
#771885 #854118 #268518 #185C85
square
#771885 #854118 #268518 #185C85
split-complementary
#771885 #5C8518 #188541
monochromatic
#1A051D #490F51 #771885 #A521B9 #C73CDC

Accessibility & contrast

On white

9.32
#771885 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#771885 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #771885
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##771885#FFFFFF#000000##FFFFFF
##7718851.009.322.259.32
#FFFFFF9.321.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004088
Deuteranopia (green-blind)
#294A83
Tritanopia (blue-blind)
#782F4F
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #771885;
/* rgb */ color: rgb(119, 24, 133);
/* oklch */ color: oklch(42.1% 0.179 322.0);
Tailwind
colors: {
  custom: {
    50: '#a262a9',
    500: '#771885',
    950: '#000000',
  },
}
SCSS
$custom: #771885;
$custom-light: #a262a9;
$custom-dark: #000000;
JSON
{
  "hex": "#771885",
  "rgb": {
    "r": 119,
    "g": 24,
    "b": 133
  },
  "hsl": {
    "h": 292.294,
    "s": 69.427,
    "l": 30.784
  },
  "oklch": {
    "l": 0.42096,
    "c": 0.17867,
    "h": 322
  },
  "luminance": 0.06269
}

Semantic roles & 50–950 ramp

primary
#771885
secondary
#4FB940
accent
#EC3C52
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #771885

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

Preview Lab → · Contrast checker → · Palette generator →

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