#781687#781687

#781687 is a dark, vivid purple. Relative luminance 0.063; OKLCH L 42.3% C 0.182 H 321.8°. Best body text is #FFFFFF at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#781687
RGBrgb(120, 22, 135)
HSLhsl(292, 72%, 31%)
HSVhsv(292, 84%, 53%)
CMYKcmyk(11.1%, 83.7%, 0%, 47.1%)
CIE-LABlab(30.20, 54.49, -40.29)
CIE-LCHlch(30.20, 67.77, 323.53°)
OKLaboklab(42.26% 0.1433 -0.1129)
OKLCHoklch(42.26% 0.182 321.8)
XYZxyz(12.4053, 6.3169, 23.4828)
Luminance0.0632 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781687 #258716
analogous
#3F1687 #781687 #87165D
triadic
#781687 #877816 #168778
tetradic
#781687 #873F16 #258716 #165D87
square
#781687 #873F16 #258716 #165D87
split-complementary
#781687 #5D8716 #16873F
monochromatic
#1A051E #490D52 #781687 #A71FBC #C939DF

Accessibility & contrast

On white

9.28
#781687 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#781687 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781687
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781687#FFFFFF#000000##FFFFFF
##7816871.009.282.269.28
#FFFFFF9.281.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00408A
Deuteranopia (green-blind)
#274B85
Tritanopia (blue-blind)
#792F50
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #781687;
/* rgb */ color: rgb(120, 22, 135);
/* oklch */ color: oklch(42.3% 0.182 321.8);
Tailwind
colors: {
  custom: {
    50: '#a362aa',
    500: '#781687',
    950: '#000000',
  },
}
SCSS
$custom: #781687;
$custom-light: #a362aa;
$custom-dark: #000000;
JSON
{
  "hex": "#781687",
  "rgb": {
    "r": 120,
    "g": 22,
    "b": 135
  },
  "hsl": {
    "h": 292.035,
    "s": 71.975,
    "l": 30.784
  },
  "oklch": {
    "l": 0.42255,
    "c": 0.18248,
    "h": 321.8
  },
  "luminance": 0.06316
}

Semantic roles & 50–950 ramp

primary
#781687
secondary
#4EBB3E
accent
#EF3951
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#100610
muted
#7F7A7F

Preview Lab

Preview with #781687

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

Preview Lab → · Contrast checker → · Palette generator →

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