#781575#781575

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

Color values

HEX#781575
RGBrgb(120, 21, 117)
HSLhsl(302, 70%, 28%)
HSVhsv(302, 83%, 47%)
CMYKcmyk(0%, 82.5%, 2.5%, 52.9%)
CIE-LABlab(28.94, 51.60, -30.96)
CIE-LCHlch(28.94, 60.18, 329.04°)
OKLaboklab(40.99% 0.1456 -0.0857)
OKLCHoklch(40.99% 0.169 329.5)
XYZxyz(11.2247, 5.8146, 17.3573)
Luminance0.0581 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781575 #157818
analogous
#491578 #781575 #781544
triadic
#781575 #757815 #157578
tetradic
#781575 #784915 #157818 #154478
square
#781575 #784915 #157818 #154478
split-complementary
#781575 #447815 #157849
monochromatic
#1A0519 #440C42 #781575 #AC1EA8 #DA2DD5

Accessibility & contrast

On white

9.71
#781575 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#781575 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781575
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781575#FFFFFF#000000##FFFFFF
##7815751.009.712.169.71
#FFFFFF9.711.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C77
Deuteranopia (green-blind)
#344973
Tritanopia (blue-blind)
#7D2545
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #781575;
/* rgb */ color: rgb(120, 21, 117);
/* oklch */ color: oklch(41.0% 0.169 329.5);
Tailwind
colors: {
  custom: {
    50: '#a2619d',
    500: '#781575',
    950: '#000000',
  },
}
SCSS
$custom: #781575;
$custom-light: #a2619d;
$custom-dark: #000000;
JSON
{
  "hex": "#781575",
  "rgb": {
    "r": 120,
    "g": 21,
    "b": 117
  },
  "hsl": {
    "h": 301.818,
    "s": 70.213,
    "l": 27.647
  },
  "oklch": {
    "l": 0.40992,
    "c": 0.16895,
    "h": 329.5
  },
  "luminance": 0.05814
}

Semantic roles & 50–950 ramp

primary
#781575
secondary
#3BAE3F
accent
#ED403B
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F050E
muted
#7F7A7E

Preview Lab

Preview with #781575

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

Preview Lab → · Contrast checker → · Palette generator →

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