#781674#781674

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

Color values

HEX#781674
RGBrgb(120, 22, 116)
HSLhsl(302, 69%, 28%)
HSVhsv(302, 82%, 47%)
CMYKcmyk(0%, 81.7%, 3.3%, 52.9%)
CIE-LABlab(28.98, 51.16, -30.27)
CIE-LCHlch(28.98, 59.44, 329.39°)
OKLaboklab(41% 0.1448 -0.0837)
OKLCHoklch(41% 0.167 330)
XYZxyz(11.1850, 5.8287, 17.0556)
Luminance0.0583 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781674 #16781A
analogous
#4B1678 #781674 #781643
triadic
#781674 #747816 #167478
tetradic
#781674 #784B16 #16781A #164378
square
#781674 #784B16 #16781A #164378
split-complementary
#781674 #437816 #16784B
monochromatic
#1A0519 #440D42 #781674 #AC1FA6 #D92FD2

Accessibility & contrast

On white

9.70
#781674 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #781674
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781674#FFFFFF#000000##FFFFFF
##7816741.009.702.179.70
#FFFFFF9.701.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.701.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #781674;
/* rgb */ color: rgb(120, 22, 116);
/* oklch */ color: oklch(41.0% 0.167 330.0);
Tailwind
colors: {
  custom: {
    50: '#a2619c',
    500: '#781674',
    950: '#000000',
  },
}
SCSS
$custom: #781674;
$custom-light: #a2619c;
$custom-dark: #000000;
JSON
{
  "hex": "#781674",
  "rgb": {
    "r": 120,
    "g": 22,
    "b": 116
  },
  "hsl": {
    "h": 302.449,
    "s": 69.014,
    "l": 27.843
  },
  "oklch": {
    "l": 0.40998,
    "c": 0.16726,
    "h": 330
  },
  "luminance": 0.05828
}

Semantic roles & 50–950 ramp

primary
#781674
secondary
#3CAD41
accent
#EC433C
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F050E
muted
#7F7A7E

Preview Lab

Preview with #781674

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

Preview Lab → · Contrast checker → · Palette generator →

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