#781675#781675

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

Color values

HEX#781675
RGBrgb(120, 22, 117)
HSLhsl(302, 69%, 28%)
HSVhsv(302, 82%, 47%)
CMYKcmyk(0%, 81.7%, 2.5%, 52.9%)
CIE-LABlab(29.04, 51.33, -30.81)
CIE-LCHlch(29.04, 59.86, 329.03°)
OKLaboklab(41.06% 0.1448 -0.0853)
OKLCHoklch(41.06% 0.168 329.5)
XYZxyz(11.2435, 5.8521, 17.3636)
Luminance0.0585 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781675 #167819
analogous
#4A1678 #781675 #781644
triadic
#781675 #757816 #167578
tetradic
#781675 #784A16 #167819 #164478
square
#781675 #784A16 #167819 #164478
split-complementary
#781675 #447816 #16784A
monochromatic
#1A0519 #440D43 #781675 #AC1FA7 #D92FD4

Accessibility & contrast

On white

9.68
#781675 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#781675 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781675
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781675#FFFFFF#000000##FFFFFF
##7816751.009.682.179.68
#FFFFFF9.681.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.681.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #781675;
/* rgb */ color: rgb(120, 22, 117);
/* oklch */ color: oklch(41.1% 0.168 329.5);
Tailwind
colors: {
  custom: {
    50: '#a2619d',
    500: '#781675',
    950: '#000000',
  },
}
SCSS
$custom: #781675;
$custom-light: #a2619d;
$custom-dark: #000000;
JSON
{
  "hex": "#781675",
  "rgb": {
    "r": 120,
    "g": 22,
    "b": 117
  },
  "hsl": {
    "h": 301.837,
    "s": 69.014,
    "l": 27.843
  },
  "oklch": {
    "l": 0.4106,
    "c": 0.16804,
    "h": 329.5
  },
  "luminance": 0.05851
}

Semantic roles & 50–950 ramp

primary
#781675
secondary
#3CAD40
accent
#EC413C
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #781675

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

Preview Lab → · Contrast checker → · Palette generator →

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