#771874#771874

#771874 is a dark, vivid purple. Relative luminance 0.058; OKLCH L 41.0% C 0.165 H 329.5°. Best body text is #FFFFFF at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#771874
RGBrgb(119, 24, 116)
HSLhsl(302, 66%, 28%)
HSVhsv(302, 80%, 47%)
CMYKcmyk(0%, 79.8%, 2.5%, 53.3%)
CIE-LABlab(29.00, 50.35, -30.24)
CIE-LCHlch(29.00, 58.73, 329.01°)
OKLaboklab(40.98% 0.142 -0.0837)
OKLCHoklch(40.98% 0.165 329.5)
XYZxyz(11.0867, 5.8370, 17.0623)
Luminance0.0584 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#771874 #18771B
analogous
#4A1877 #771874 #771844
triadic
#771874 #747718 #187477
tetradic
#771874 #774A18 #18771B #184477
square
#771874 #774A18 #18771B #184477
split-complementary
#771874 #447718 #18774A
monochromatic
#190519 #440E42 #771874 #AA22A6 #D633D1

Accessibility & contrast

On white

9.69
#771874 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#771874 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #771874
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##771874#FFFFFF#000000##FFFFFF
##7718741.009.692.179.69
#FFFFFF9.691.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#063C76
Deuteranopia (green-blind)
#354972
Tritanopia (blue-blind)
#7B2645
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #771874;
/* rgb */ color: rgb(119, 24, 116);
/* oklch */ color: oklch(41.0% 0.165 329.5);
Tailwind
colors: {
  custom: {
    50: '#a2619c',
    500: '#771874',
    950: '#000000',
  },
}
SCSS
$custom: #771874;
$custom-light: #a2619c;
$custom-dark: #000000;
JSON
{
  "hex": "#771874",
  "rgb": {
    "r": 119,
    "g": 24,
    "b": 116
  },
  "hsl": {
    "h": 301.895,
    "s": 66.434,
    "l": 28.039
  },
  "oklch": {
    "l": 0.40979,
    "c": 0.16484,
    "h": 329.5
  },
  "luminance": 0.05836
}

Semantic roles & 50–950 ramp

primary
#771874
secondary
#3FAC42
accent
#E9443E
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #771874

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

Preview Lab → · Contrast checker → · Palette generator →

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