#781B6F#781B6F

#781B6F is a dark, vivid purple. Relative luminance 0.059; OKLCH L 41.1% C 0.158 H 332.4°. Best body text is #FFFFFF at 9.61:1 contrast (WCAG AA passes).

Color values

HEX#781B6F
RGBrgb(120, 27, 111)
HSLhsl(306, 63%, 29%)
HSVhsv(306, 78%, 47%)
CMYKcmyk(0%, 77.5%, 7.5%, 52.9%)
CIE-LABlab(29.22, 48.78, -26.68)
CIE-LCHlch(29.22, 55.60, 331.32°)
OKLaboklab(41.08% 0.1403 -0.0733)
OKLCHoklch(41.08% 0.158 332.4)
XYZxyz(11.0069, 5.9256, 15.5999)
Luminance0.0592 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781B6F #1B7824
analogous
#531B78 #781B6F #781B41
triadic
#781B6F #6F781B #1B6F78
tetradic
#781B6F #78531B #1B7824 #1B4178
square
#781B6F #78531B #1B7824 #1B4178
split-complementary
#781B6F #41781B #1B7853
monochromatic
#190617 #461041 #781B6F #AA269D #D33BC4

Accessibility & contrast

On white

9.61
#781B6F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.19
#781B6F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781B6F
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781B6F#FFFFFF#000000##FFFFFF
##781B6F1.009.612.199.61
#FFFFFF9.611.0021.001.00
#0000002.1921.001.0021.00
##FFFFFF9.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#153C71
Deuteranopia (green-blind)
#3A496D
Tritanopia (blue-blind)
#7D2543
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #781b6f;
/* rgb */ color: rgb(120, 27, 111);
/* oklch */ color: oklch(41.1% 0.158 332.4);
Tailwind
colors: {
  custom: {
    50: '#a26298',
    500: '#781b6f',
    950: '#000000',
  },
}
SCSS
$custom: #781b6f;
$custom-light: #a26298;
$custom-dark: #000000;
JSON
{
  "hex": "#781b6f",
  "rgb": {
    "r": 120,
    "g": 27,
    "b": 111
  },
  "hsl": {
    "h": 305.806,
    "s": 63.265,
    "l": 28.824
  },
  "oklch": {
    "l": 0.41082,
    "c": 0.1583,
    "h": 332.4
  },
  "luminance": 0.05925
}

Semantic roles & 50–950 ramp

primary
#781B6F
secondary
#43AC4D
accent
#E65141
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #781B6F

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

Preview Lab → · Contrast checker → · Palette generator →

#781B6F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva