#781D75#781D75

#781D75 is a dark, vivid purple. Relative luminance 0.062; OKLCH L 41.6% C 0.161 H 329.4°. Best body text is #FFFFFF at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#781D75
RGBrgb(120, 29, 117)
HSLhsl(302, 61%, 29%)
HSVhsv(302, 76%, 47%)
CMYKcmyk(0%, 75.8%, 2.5%, 52.9%)
CIE-LABlab(29.81, 49.12, -29.59)
CIE-LCHlch(29.81, 57.34, 328.93°)
OKLaboklab(41.61% 0.1385 -0.0818)
OKLCHoklch(41.61% 0.161 329.4)
XYZxyz(11.3959, 6.1570, 17.4144)
Luminance0.0616 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781D75 #1D7820
analogous
#4E1D78 #781D75 #781D48
triadic
#781D75 #75781D #1D7578
tetradic
#781D75 #784E1D #1D7820 #1D4878
square
#781D75 #784E1D #1D7820 #1D4878
split-complementary
#781D75 #48781D #1D784E
monochromatic
#190618 #471145 #781D75 #A929A5 #D13FCC

Accessibility & contrast

On white

9.41
#781D75 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#781D75 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781D75
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781D75#FFFFFF#000000##FFFFFF
##781D751.009.412.239.41
#FFFFFF9.411.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#103E77
Deuteranopia (green-blind)
#384A73
Tritanopia (blue-blind)
#7C2A47
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #781d75;
/* rgb */ color: rgb(120, 29, 117);
/* oklch */ color: oklch(41.6% 0.161 329.4);
Tailwind
colors: {
  custom: {
    50: '#a2639d',
    500: '#781d75',
    950: '#000000',
  },
}
SCSS
$custom: #781d75;
$custom-light: #a2639d;
$custom-dark: #000000;
JSON
{
  "hex": "#781d75",
  "rgb": {
    "r": 120,
    "g": 29,
    "b": 117
  },
  "hsl": {
    "h": 301.978,
    "s": 61.074,
    "l": 29.216
  },
  "oklch": {
    "l": 0.41609,
    "c": 0.16083,
    "h": 329.4
  },
  "luminance": 0.06156
}

Semantic roles & 50–950 ramp

primary
#781D75
secondary
#45AC48
accent
#E44944
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #781D75

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

Preview Lab → · Contrast checker → · Palette generator →

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