#781670#781670

#781670 is a dark, vivid purple. Relative luminance 0.057; OKLCH L 40.8% C 0.164 H 331.9°. Best body text is #FFFFFF at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#781670
RGBrgb(120, 22, 112)
HSLhsl(305, 69%, 28%)
HSVhsv(305, 82%, 47%)
CMYKcmyk(0%, 81.7%, 6.7%, 52.9%)
CIE-LABlab(28.74, 50.50, -28.08)
CIE-LCHlch(28.74, 57.78, 330.92°)
OKLaboklab(40.75% 0.1448 -0.0774)
OKLCHoklch(40.75% 0.164 331.9)
XYZxyz(10.9573, 5.7377, 15.8565)
Luminance0.0574 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#781670 #16781E
analogous
#4F1678 #781670 #78163F
triadic
#781670 #707816 #167078
tetradic
#781670 #784F16 #16781E #163F78
square
#781670 #784F16 #16781E #163F78
split-complementary
#781670 #3F7816 #16784F
monochromatic
#1A0518 #440D40 #781670 #AC1FA0 #D92FCB

Accessibility & contrast

On white

9.78
#781670 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#781670 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #781670
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##781670#FFFFFF#000000##FFFFFF
##7816701.009.782.159.78
#FFFFFF9.781.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D3B72
Deuteranopia (green-blind)
#38486E
Tritanopia (blue-blind)
#7D2343
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #781670;
/* rgb */ color: rgb(120, 22, 112);
/* oklch */ color: oklch(40.8% 0.164 331.9);
Tailwind
colors: {
  custom: {
    50: '#a26199',
    500: '#781670',
    950: '#000000',
  },
}
SCSS
$custom: #781670;
$custom-light: #a26199;
$custom-dark: #000000;
JSON
{
  "hex": "#781670",
  "rgb": {
    "r": 120,
    "g": 22,
    "b": 112
  },
  "hsl": {
    "h": 304.898,
    "s": 69.014,
    "l": 27.843
  },
  "oklch": {
    "l": 0.40754,
    "c": 0.16419,
    "h": 331.9
  },
  "luminance": 0.05737
}

Semantic roles & 50–950 ramp

primary
#781670
secondary
#3CAD46
accent
#EC4A3C
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F050E
muted
#7F7A7E

Preview Lab

Preview with #781670

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

Preview Lab → · Contrast checker → · Palette generator →

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