#781777#781777

#781777 is a dark, vivid purple. Relative luminance 0.059; OKLCH L 41.3% C 0.169 H 328.6°. Best body text is #FFFFFF at 9.60:1 contrast (WCAG AA passes).

Color values

HEX#781777
RGBrgb(120, 23, 119)
HSLhsl(301, 68%, 28%)
HSVhsv(301, 81%, 47%)
CMYKcmyk(0%, 80.8%, 0.8%, 52.9%)
CIE-LABlab(29.26, 51.38, -31.73)
CIE-LCHlch(29.26, 60.38, 328.30°)
OKLaboklab(41.26% 0.1439 -0.0879)
OKLCHoklch(41.26% 0.169 328.6)
XYZxyz(11.3818, 5.9386, 17.9960)
Luminance0.0594 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781777 #177818
analogous
#491778 #781777 #781746
triadic
#781777 #777817 #177778
tetradic
#781777 #784917 #177818 #174678
square
#781777 #784917 #177818 #174678
split-complementary
#781777 #467817 #177849
monochromatic
#1A0519 #450D44 #781777 #AB21AA #D832D6

Accessibility & contrast

On white

9.60
#781777 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#781777 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781777
9.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781777#FFFFFF#000000##FFFFFF
##7817771.009.602.199.60
#FFFFFF9.601.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D7A
Deuteranopia (green-blind)
#344975
Tritanopia (blue-blind)
#7C2747
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #781777;
/* rgb */ color: rgb(120, 23, 119);
/* oklch */ color: oklch(41.3% 0.169 328.6);
Tailwind
colors: {
  custom: {
    50: '#a2619f',
    500: '#781777',
    950: '#000000',
  },
}
SCSS
$custom: #781777;
$custom-light: #a2619f;
$custom-dark: #000000;
JSON
{
  "hex": "#781777",
  "rgb": {
    "r": 120,
    "g": 23,
    "b": 119
  },
  "hsl": {
    "h": 300.619,
    "s": 67.832,
    "l": 28.039
  },
  "oklch": {
    "l": 0.41256,
    "c": 0.16867,
    "h": 328.6
  },
  "luminance": 0.05938
}

Semantic roles & 50–950 ramp

primary
#781777
secondary
#3EAD3F
accent
#EB3F3D
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #781777

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

Preview Lab → · Contrast checker → · Palette generator →

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