#781689#781689

#781689 is a dark, vivid purple. Relative luminance 0.064; OKLCH L 42.4% C 0.184 H 321.0°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#781689
RGBrgb(120, 22, 137)
HSLhsl(291, 72%, 31%)
HSVhsv(291, 84%, 54%)
CMYKcmyk(12.4%, 83.9%, 0%, 46.3%)
CIE-LABlab(30.34, 54.87, -41.31)
CIE-LCHlch(30.34, 68.68, 323.02°)
OKLaboklab(42.4% 0.1431 -0.1159)
OKLCHoklch(42.4% 0.184 321)
XYZxyz(12.5475, 6.3737, 24.2314)
Luminance0.0637 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781689 #278916
analogous
#3E1689 #781689 #891660
triadic
#781689 #897816 #168978
tetradic
#781689 #893E16 #278916 #166089
square
#781689 #893E16 #278916 #166089
split-complementary
#781689 #608916 #16893E
monochromatic
#1C0520 #4A0E54 #781689 #A61EBE #C73ADF

Accessibility & contrast

On white

9.23
#781689 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#781689 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781689
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781689#FFFFFF#000000##FFFFFF
##7816891.009.232.279.23
#FFFFFF9.231.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00418C
Deuteranopia (green-blind)
#254B87
Tritanopia (blue-blind)
#793051
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #781689;
/* rgb */ color: rgb(120, 22, 137);
/* oklch */ color: oklch(42.4% 0.184 321.0);
Tailwind
colors: {
  custom: {
    50: '#a362ac',
    500: '#781689',
    950: '#000000',
  },
}
SCSS
$custom: #781689;
$custom-light: #a362ac;
$custom-dark: #000000;
JSON
{
  "hex": "#781689",
  "rgb": {
    "r": 120,
    "g": 22,
    "b": 137
  },
  "hsl": {
    "h": 291.13,
    "s": 72.327,
    "l": 31.176
  },
  "oklch": {
    "l": 0.42396,
    "c": 0.18413,
    "h": 321
  },
  "luminance": 0.06373
}

Semantic roles & 50–950 ramp

primary
#781689
secondary
#51BD3E
accent
#EF3954
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #781689

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

Preview Lab → · Contrast checker → · Palette generator →

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