#781775#781775

#781775 is a dark, vivid purple. Relative luminance 0.059; OKLCH L 41.1% C 0.167 H 329.5°. Best body text is #FFFFFF at 9.64:1 contrast (WCAG AA passes).

Color values

HEX#781775
RGBrgb(120, 23, 117)
HSLhsl(302, 68%, 28%)
HSVhsv(302, 81%, 47%)
CMYKcmyk(0%, 80.8%, 2.5%, 52.9%)
CIE-LABlab(29.14, 51.04, -30.65)
CIE-LCHlch(29.14, 59.53, 329.01°)
OKLaboklab(41.13% 0.144 -0.0848)
OKLCHoklch(41.13% 0.167 329.5)
XYZxyz(11.2629, 5.8911, 17.3701)
Luminance0.0589 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781775 #17781A
analogous
#4A1778 #781775 #781744
triadic
#781775 #757817 #177578
tetradic
#781775 #784A17 #17781A #174478
square
#781775 #784A17 #17781A #174478
split-complementary
#781775 #447817 #17784A
monochromatic
#1A0519 #450D43 #781775 #AB21A7 #D832D3

Accessibility & contrast

On white

9.64
#781775 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#781775 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781775
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781775#FFFFFF#000000##FFFFFF
##7817751.009.642.189.64
#FFFFFF9.641.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#043C77
Deuteranopia (green-blind)
#354973
Tritanopia (blue-blind)
#7D2646
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #781775;
/* rgb */ color: rgb(120, 23, 117);
/* oklch */ color: oklch(41.1% 0.167 329.5);
Tailwind
colors: {
  custom: {
    50: '#a2619d',
    500: '#781775',
    950: '#000000',
  },
}
SCSS
$custom: #781775;
$custom-light: #a2619d;
$custom-dark: #000000;
JSON
{
  "hex": "#781775",
  "rgb": {
    "r": 120,
    "g": 23,
    "b": 117
  },
  "hsl": {
    "h": 301.856,
    "s": 67.832,
    "l": 28.039
  },
  "oklch": {
    "l": 0.41131,
    "c": 0.1671,
    "h": 329.5
  },
  "luminance": 0.0589
}

Semantic roles & 50–950 ramp

primary
#781775
secondary
#3EAD41
accent
#EB423D
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #781775

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

Preview Lab → · Contrast checker → · Palette generator →

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