#781673#781673

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

Color values

HEX#781673
RGBrgb(120, 22, 115)
HSLhsl(303, 69%, 28%)
HSVhsv(303, 82%, 47%)
CMYKcmyk(0%, 81.7%, 4.2%, 52.9%)
CIE-LABlab(28.92, 50.99, -29.72)
CIE-LCHlch(28.92, 59.02, 329.76°)
OKLaboklab(40.94% 0.1448 -0.0821)
OKLCHoklch(40.94% 0.166 330.4)
XYZxyz(11.1271, 5.8056, 16.7509)
Luminance0.0580 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781673 #16781B
analogous
#4C1678 #781673 #781642
triadic
#781673 #737816 #167378
tetradic
#781673 #784C16 #16781B #164278
square
#781673 #784C16 #16781B #164278
split-complementary
#781673 #427816 #16784C
monochromatic
#1A0519 #440D41 #781673 #AC1FA5 #D92FD0

Accessibility & contrast

On white

9.72
#781673 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#781673 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781673
9.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781673#FFFFFF#000000##FFFFFF
##7816731.009.722.169.72
#FFFFFF9.721.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.721.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #781673;
/* rgb */ color: rgb(120, 22, 115);
/* oklch */ color: oklch(40.9% 0.166 330.4);
Tailwind
colors: {
  custom: {
    50: '#a2619c',
    500: '#781673',
    950: '#000000',
  },
}
SCSS
$custom: #781673;
$custom-light: #a2619c;
$custom-dark: #000000;
JSON
{
  "hex": "#781673",
  "rgb": {
    "r": 120,
    "g": 22,
    "b": 115
  },
  "hsl": {
    "h": 303.061,
    "s": 69.014,
    "l": 27.843
  },
  "oklch": {
    "l": 0.40936,
    "c": 0.16649,
    "h": 330.4
  },
  "luminance": 0.05805
}

Semantic roles & 50–950 ramp

primary
#781673
secondary
#3CAD42
accent
#EC453C
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F050E
muted
#7F7A7E

Preview Lab

Preview with #781673

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

Preview Lab → · Contrast checker → · Palette generator →

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