#78167C#78167C

#78167C is a dark, vivid purple. Relative luminance 0.060; OKLCH L 41.5% C 0.174 H 326.4°. Best body text is #FFFFFF at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#78167C
RGBrgb(120, 22, 124)
HSLhsl(298, 70%, 29%)
HSVhsv(298, 82%, 49%)
CMYKcmyk(3.2%, 82.3%, 0%, 51.4%)
CIE-LABlab(29.47, 52.52, -34.55)
CIE-LCHlch(29.47, 62.87, 326.66°)
OKLaboklab(41.51% 0.1445 -0.0962)
OKLCHoklch(41.51% 0.174 326.4)
XYZxyz(11.6705, 6.0230, 19.6127)
Luminance0.0602 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78167C #1A7C16
analogous
#45167C #78167C #7C164D
triadic
#78167C #7C7816 #167C78
tetradic
#78167C #7C4516 #1A7C16 #164D7C
square
#78167C #7C4516 #1A7C16 #164D7C
split-complementary
#78167C #4D7C16 #167C45
monochromatic
#19051A #460D48 #78167C #AA1FB0 #D432DB

Accessibility & contrast

On white

9.53
#78167C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#78167C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #78167C
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78167C#FFFFFF#000000##FFFFFF
##78167C1.009.532.209.53
#FFFFFF9.531.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E7F
Deuteranopia (green-blind)
#304A7A
Tritanopia (blue-blind)
#7B294A
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #78167c;
/* rgb */ color: rgb(120, 22, 124);
/* oklch */ color: oklch(41.5% 0.174 326.4);
Tailwind
colors: {
  custom: {
    50: '#a361a2',
    500: '#78167c',
    950: '#000000',
  },
}
SCSS
$custom: #78167c;
$custom-light: #a361a2;
$custom-dark: #000000;
JSON
{
  "hex": "#78167c",
  "rgb": {
    "r": 120,
    "g": 22,
    "b": 124
  },
  "hsl": {
    "h": 297.647,
    "s": 69.863,
    "l": 28.627
  },
  "oklch": {
    "l": 0.41508,
    "c": 0.17357,
    "h": 326.4
  },
  "luminance": 0.06022
}

Semantic roles & 50–950 ramp

primary
#78167C
secondary
#41B13D
accent
#ED3B42
background
#FAF6FA
surface
#F4EBF3
border
#CEC6CD
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #78167C

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

Preview Lab → · Contrast checker → · Palette generator →

#78167C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva