#781568#781568

#781568 is a dark, vivid purple. Relative luminance 0.055; OKLCH L 40.2% C 0.159 H 335.9°. Best body text is #FFFFFF at 9.97:1 contrast (WCAG AA passes).

Color values

HEX#781568
RGBrgb(120, 21, 104)
HSLhsl(310, 70%, 28%)
HSVhsv(310, 83%, 47%)
CMYKcmyk(0%, 82.5%, 13.3%, 52.9%)
CIE-LABlab(28.19, 49.52, -23.80)
CIE-LCHlch(28.19, 54.94, 334.33°)
OKLaboklab(40.22% 0.1453 -0.065)
OKLCHoklch(40.22% 0.159 335.9)
XYZxyz(10.5128, 5.5299, 13.6077)
Luminance0.0553 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781568 #157825
analogous
#561578 #781568 #781536
triadic
#781568 #687815 #156878
tetradic
#781568 #785615 #157825 #153678
square
#781568 #785615 #157825 #153678
split-complementary
#781568 #367815 #157856
monochromatic
#1A0517 #440C3B #781568 #AC1E95 #DA2DBE

Accessibility & contrast

On white

9.97
#781568 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#781568 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781568
9.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781568#FFFFFF#000000##FFFFFF
##7815681.009.972.119.97
#FFFFFF9.971.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#16396A
Deuteranopia (green-blind)
#3B4866
Tritanopia (blue-blind)
#7F1E3E
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #781568;
/* rgb */ color: rgb(120, 21, 104);
/* oklch */ color: oklch(40.2% 0.159 335.9);
Tailwind
colors: {
  custom: {
    50: '#a26093',
    500: '#781568',
    950: '#000000',
  },
}
SCSS
$custom: #781568;
$custom-light: #a26093;
$custom-dark: #000000;
JSON
{
  "hex": "#781568",
  "rgb": {
    "r": 120,
    "g": 21,
    "b": 104
  },
  "hsl": {
    "h": 309.697,
    "s": 70.213,
    "l": 27.647
  },
  "oklch": {
    "l": 0.40218,
    "c": 0.1592,
    "h": 335.9
  },
  "luminance": 0.05529
}

Semantic roles & 50–950 ramp

primary
#781568
secondary
#3BAE4E
accent
#ED583B
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#0F050D
muted
#7F7A7E

Preview Lab

Preview with #781568

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

Preview Lab → · Contrast checker → · Palette generator →

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