#781471#781471

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

Color values

HEX#781471
RGBrgb(120, 20, 113)
HSLhsl(304, 71%, 27%)
HSVhsv(304, 83%, 47%)
CMYKcmyk(0%, 83.3%, 5.8%, 52.9%)
CIE-LABlab(28.61, 51.21, -28.94)
CIE-LCHlch(28.61, 58.82, 330.53°)
OKLaboklab(40.68% 0.1464 -0.0798)
OKLCHoklch(40.68% 0.167 331.4)
XYZxyz(10.9765, 5.6866, 16.1391)
Luminance0.0569 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781471 #14781B
analogous
#4D1478 #781471 #78143F
triadic
#781471 #717814 #147178
tetradic
#781471 #784D14 #14781B #143F78
square
#781471 #784D14 #14781B #143F78
split-complementary
#781471 #3F7814 #14784D
monochromatic
#1A0419 #440B40 #781471 #AC1DA2 #DC2BCF

Accessibility & contrast

On white

9.83
#781471 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#781471 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781471
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781471#FFFFFF#000000##FFFFFF
##7814711.009.832.149.83
#FFFFFF9.831.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#073B73
Deuteranopia (green-blind)
#36486F
Tritanopia (blue-blind)
#7D2243
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #781471;
/* rgb */ color: rgb(120, 20, 113);
/* oklch */ color: oklch(40.7% 0.167 331.4);
Tailwind
colors: {
  custom: {
    50: '#a2609a',
    500: '#781471',
    950: '#000000',
  },
}
SCSS
$custom: #781471;
$custom-light: #a2609a;
$custom-dark: #000000;
JSON
{
  "hex": "#781471",
  "rgb": {
    "r": 120,
    "g": 20,
    "b": 113
  },
  "hsl": {
    "h": 304.2,
    "s": 71.429,
    "l": 27.451
  },
  "oklch": {
    "l": 0.40678,
    "c": 0.16678,
    "h": 331.4
  },
  "luminance": 0.05686
}

Semantic roles & 50–950 ramp

primary
#781471
secondary
#3AAE42
accent
#EE463A
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F050E
muted
#7F7A7E

Preview Lab

Preview with #781471

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

Preview Lab → · Contrast checker → · Palette generator →

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