#781774#781774

#781774 is a dark, vivid purple. Relative luminance 0.059; OKLCH L 41.1% C 0.166 H 330.0°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#781774
RGBrgb(120, 23, 116)
HSLhsl(302, 68%, 28%)
HSVhsv(302, 81%, 47%)
CMYKcmyk(0%, 80.8%, 3.3%, 52.9%)
CIE-LABlab(29.08, 50.87, -30.11)
CIE-LCHlch(29.08, 59.11, 329.38°)
OKLaboklab(41.07% 0.144 -0.0832)
OKLCHoklch(41.07% 0.166 330)
XYZxyz(11.2045, 5.8677, 17.0621)
Luminance0.0587 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781774 #17781B
analogous
#4B1778 #781774 #781743
triadic
#781774 #747817 #177478
tetradic
#781774 #784B17 #17781B #174378
square
#781774 #784B17 #17781B #174378
split-complementary
#781774 #437817 #17784B
monochromatic
#1A0519 #450D42 #781774 #AB21A6 #D832D1

Accessibility & contrast

On white

9.66
#781774 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #781774
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781774#FFFFFF#000000##FFFFFF
##7817741.009.662.179.66
#FFFFFF9.661.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#063C76
Deuteranopia (green-blind)
#364972
Tritanopia (blue-blind)
#7D2645
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #781774;
/* rgb */ color: rgb(120, 23, 116);
/* oklch */ color: oklch(41.1% 0.166 330.0);
Tailwind
colors: {
  custom: {
    50: '#a2619c',
    500: '#781774',
    950: '#000000',
  },
}
SCSS
$custom: #781774;
$custom-light: #a2619c;
$custom-dark: #000000;
JSON
{
  "hex": "#781774",
  "rgb": {
    "r": 120,
    "g": 23,
    "b": 116
  },
  "hsl": {
    "h": 302.474,
    "s": 67.832,
    "l": 28.039
  },
  "oklch": {
    "l": 0.41069,
    "c": 0.16632,
    "h": 330
  },
  "luminance": 0.05867
}

Semantic roles & 50–950 ramp

primary
#781774
secondary
#3EAD42
accent
#EB443D
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #781774

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

Preview Lab → · Contrast checker → · Palette generator →

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