#78256E#78256E

#78256E is a dark, vivid purple. Relative luminance 0.064; OKLCH L 42.0% C 0.145 H 333.0°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#78256E
RGBrgb(120, 37, 110)
HSLhsl(307, 53%, 31%)
HSVhsv(307, 69%, 47%)
CMYKcmyk(0%, 69.2%, 8.3%, 52.9%)
CIE-LABlab(30.50, 44.84, -24.03)
CIE-LCHlch(30.50, 50.88, 331.82°)
OKLaboklab(41.99% 0.1292 -0.0658)
OKLCHoklch(41.99% 0.145 333)
XYZxyz(11.2218, 6.4429, 15.4014)
Luminance0.0644 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78256E #25782F
analogous
#582578 #78256E #782544
triadic
#78256E #6E7825 #256E78
tetradic
#78256E #785825 #25782F #254478
square
#78256E #785825 #25782F #254478
split-complementary
#78256E #447825 #257858
monochromatic
#1A0818 #491743 #78256E #A73399 #C94FBA

Accessibility & contrast

On white

9.18
#78256E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#78256E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #78256E
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78256E#FFFFFF#000000##FFFFFF
##78256E1.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224070
Deuteranopia (green-blind)
#3F4C6C
Tritanopia (blue-blind)
#7D2C46
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #78256e;
/* rgb */ color: rgb(120, 37, 110);
/* oklch */ color: oklch(42.0% 0.145 333.0);
Tailwind
colors: {
  custom: {
    50: '#a26798',
    500: '#78256e',
    950: '#000000',
  },
}
SCSS
$custom: #78256e;
$custom-light: #a26798;
$custom-dark: #000000;
JSON
{
  "hex": "#78256e",
  "rgb": {
    "r": 120,
    "g": 37,
    "b": 110
  },
  "hsl": {
    "h": 307.229,
    "s": 52.866,
    "l": 30.784
  },
  "oklch": {
    "l": 0.41987,
    "c": 0.14499,
    "h": 333
  },
  "luminance": 0.06442
}

Semantic roles & 50–950 ramp

primary
#78256E
secondary
#4EAA59
accent
#DC5D4C
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060D
muted
#7F7A7E

Preview Lab

Preview with #78256E

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

Preview Lab → · Contrast checker → · Palette generator →

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