#781572#781572

#781572 is a dark, vivid purple. Relative luminance 0.057; OKLCH L 40.8% C 0.167 H 330.9°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#781572
RGBrgb(120, 21, 114)
HSLhsl(304, 70%, 28%)
HSVhsv(304, 83%, 47%)
CMYKcmyk(0%, 82.5%, 5%, 52.9%)
CIE-LABlab(28.76, 51.11, -29.33)
CIE-LCHlch(28.76, 58.93, 330.15°)
OKLaboklab(40.81% 0.1457 -0.081)
OKLCHoklch(40.81% 0.167 330.9)
XYZxyz(11.0511, 5.7452, 16.4432)
Luminance0.0574 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781572 #15781B
analogous
#4C1578 #781572 #781541
triadic
#781572 #727815 #157278
tetradic
#781572 #784C15 #15781B #154178
square
#781572 #784C15 #15781B #154178
split-complementary
#781572 #417815 #15784C
monochromatic
#1A0519 #440C41 #781572 #AC1EA3 #DA2DD0

Accessibility & contrast

On white

9.77
#781572 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#781572 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781572
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781572#FFFFFF#000000##FFFFFF
##7815721.009.772.159.77
#FFFFFF9.771.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#073B74
Deuteranopia (green-blind)
#364870
Tritanopia (blue-blind)
#7D2344
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #781572;
/* rgb */ color: rgb(120, 21, 114);
/* oklch */ color: oklch(40.8% 0.167 330.9);
Tailwind
colors: {
  custom: {
    50: '#a2609b',
    500: '#781572',
    950: '#000000',
  },
}
SCSS
$custom: #781572;
$custom-light: #a2609b;
$custom-dark: #000000;
JSON
{
  "hex": "#781572",
  "rgb": {
    "r": 120,
    "g": 21,
    "b": 114
  },
  "hsl": {
    "h": 303.636,
    "s": 70.213,
    "l": 27.647
  },
  "oklch": {
    "l": 0.40806,
    "c": 0.16665,
    "h": 330.9
  },
  "luminance": 0.05744
}

Semantic roles & 50–950 ramp

primary
#781572
secondary
#3BAE42
accent
#ED463B
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F050E
muted
#7F7A7E

Preview Lab

Preview with #781572

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

Preview Lab → · Contrast checker → · Palette generator →

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