#771881#771881

#771881 is a dark, vivid purple. Relative luminance 0.062; OKLCH L 41.8% C 0.175 H 323.7°. Best body text is #FFFFFF at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#771881
RGBrgb(119, 24, 129)
HSLhsl(294, 69%, 30%)
HSVhsv(294, 81%, 51%)
CMYKcmyk(7.8%, 81.4%, 0%, 49.4%)
CIE-LABlab(29.81, 52.63, -37.16)
CIE-LCHlch(29.81, 64.43, 324.78°)
OKLaboklab(41.82% 0.1413 -0.1038)
OKLCHoklch(41.82% 0.175 323.7)
XYZxyz(11.8965, 6.1609, 21.3272)
Luminance0.0616 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771881 #228118
analogous
#431881 #771881 #811856
triadic
#771881 #817718 #188177
tetradic
#771881 #814318 #228118 #185681
square
#771881 #814318 #228118 #185681
split-complementary
#771881 #568118 #188143
monochromatic
#18051A #470E4D #771881 #A722B5 #CB39DA

Accessibility & contrast

On white

9.41
#771881 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#771881 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #771881
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##771881#FFFFFF#000000##FFFFFF
##7718811.009.412.239.41
#FFFFFF9.411.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F84
Deuteranopia (green-blind)
#2C4A7F
Tritanopia (blue-blind)
#792D4D
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #771881;
/* rgb */ color: rgb(119, 24, 129);
/* oklch */ color: oklch(41.8% 0.175 323.7);
Tailwind
colors: {
  custom: {
    50: '#a262a6',
    500: '#771881',
    950: '#000000',
  },
}
SCSS
$custom: #771881;
$custom-light: #a262a6;
$custom-dark: #000000;
JSON
{
  "hex": "#771881",
  "rgb": {
    "r": 119,
    "g": 24,
    "b": 129
  },
  "hsl": {
    "h": 294.286,
    "s": 68.627,
    "l": 30
  },
  "oklch": {
    "l": 0.41822,
    "c": 0.17536,
    "h": 323.7
  },
  "luminance": 0.0616
}

Semantic roles & 50–950 ramp

primary
#771881
secondary
#4BB540
accent
#EB3C4D
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #771881

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

Preview Lab → · Contrast checker → · Palette generator →

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