#781773#781773

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

Color values

HEX#781773
RGBrgb(120, 23, 115)
HSLhsl(303, 68%, 28%)
HSVhsv(303, 81%, 47%)
CMYKcmyk(0%, 80.8%, 4.2%, 52.9%)
CIE-LABlab(29.02, 50.70, -29.56)
CIE-LCHlch(29.02, 58.69, 329.75°)
OKLaboklab(41.01% 0.144 -0.0817)
OKLCHoklch(41.01% 0.166 330.4)
XYZxyz(11.1466, 5.8446, 16.7574)
Luminance0.0584 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781773 #17781C
analogous
#4C1778 #781773 #781742
triadic
#781773 #737817 #177378
tetradic
#781773 #784C17 #17781C #174278
square
#781773 #784C17 #17781C #174278
split-complementary
#781773 #427817 #17784C
monochromatic
#1A0519 #450D42 #781773 #AB21A4 #D832CF

Accessibility & contrast

On white

9.68
#781773 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #781773
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781773#FFFFFF#000000##FFFFFF
##7817731.009.682.179.68
#FFFFFF9.681.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#083C75
Deuteranopia (green-blind)
#364971
Tritanopia (blue-blind)
#7D2545
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #781773;
/* rgb */ color: rgb(120, 23, 115);
/* oklch */ color: oklch(41.0% 0.166 330.4);
Tailwind
colors: {
  custom: {
    50: '#a2619c',
    500: '#781773',
    950: '#000000',
  },
}
SCSS
$custom: #781773;
$custom-light: #a2619c;
$custom-dark: #000000;
JSON
{
  "hex": "#781773",
  "rgb": {
    "r": 120,
    "g": 23,
    "b": 115
  },
  "hsl": {
    "h": 303.093,
    "s": 67.832,
    "l": 28.039
  },
  "oklch": {
    "l": 0.41008,
    "c": 0.16554,
    "h": 330.4
  },
  "luminance": 0.05844
}

Semantic roles & 50–950 ramp

primary
#781773
secondary
#3EAD43
accent
#EB463D
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #781773

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

Preview Lab → · Contrast checker → · Palette generator →

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