#78256C#78256C

#78256C is a dark, vivid purple. Relative luminance 0.064; OKLCH L 41.9% C 0.143 H 334.1°. Best body text is #FFFFFF at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#78256C
RGBrgb(120, 37, 108)
HSLhsl(309, 53%, 31%)
HSVhsv(309, 69%, 47%)
CMYKcmyk(0%, 69.2%, 10%, 52.9%)
CIE-LABlab(30.40, 44.50, -22.91)
CIE-LCHlch(30.40, 50.06, 332.76°)
OKLaboklab(41.88% 0.129 -0.0626)
OKLCHoklch(41.88% 0.143 334.1)
XYZxyz(11.1141, 6.3998, 14.8344)
Luminance0.0640 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78256C #257831
analogous
#5A2578 #78256C #782542
triadic
#78256C #6C7825 #256C78
tetradic
#78256C #785A25 #257831 #254278
square
#78256C #785A25 #257831 #254278
split-complementary
#78256C #427825 #25785A
monochromatic
#1A0818 #491742 #78256C #A73396 #C94FB7

Accessibility & contrast

On white

9.21
#78256C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#78256C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #78256C
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78256C#FFFFFF#000000##FFFFFF
##78256C1.009.212.289.21
#FFFFFF9.211.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24406E
Deuteranopia (green-blind)
#404C6A
Tritanopia (blue-blind)
#7E2B45
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #78256c;
/* rgb */ color: rgb(120, 37, 108);
/* oklch */ color: oklch(41.9% 0.143 334.1);
Tailwind
colors: {
  custom: {
    50: '#a26796',
    500: '#78256c',
    950: '#000000',
  },
}
SCSS
$custom: #78256c;
$custom-light: #a26796;
$custom-dark: #000000;
JSON
{
  "hex": "#78256c",
  "rgb": {
    "r": 120,
    "g": 37,
    "b": 108
  },
  "hsl": {
    "h": 308.675,
    "s": 52.866,
    "l": 30.784
  },
  "oklch": {
    "l": 0.41878,
    "c": 0.14336,
    "h": 334.1
  },
  "luminance": 0.06399
}

Semantic roles & 50–950 ramp

primary
#78256C
secondary
#4EAA5C
accent
#DC604C
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060D
muted
#7F7A7E

Preview Lab

Preview with #78256C

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

Preview Lab → · Contrast checker → · Palette generator →

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