#78256B#78256B

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

Color values

HEX#78256B
RGBrgb(120, 37, 107)
HSLhsl(309, 53%, 31%)
HSVhsv(309, 69%, 47%)
CMYKcmyk(0%, 69.2%, 10.8%, 52.9%)
CIE-LABlab(30.35, 44.34, -22.35)
CIE-LCHlch(30.35, 49.65, 333.24°)
OKLaboklab(41.82% 0.1289 -0.061)
OKLCHoklch(41.82% 0.143 334.7)
XYZxyz(11.0612, 6.3787, 14.5557)
Luminance0.0638 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78256B #257832
analogous
#5B2578 #78256B #782541
triadic
#78256B #6B7825 #256B78
tetradic
#78256B #785B25 #257832 #254178
square
#78256B #785B25 #257832 #254178
split-complementary
#78256B #417825 #25785B
monochromatic
#1A0818 #491741 #78256B #A73395 #C94FB6

Accessibility & contrast

On white

9.23
#78256B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #78256B
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78256B#FFFFFF#000000##FFFFFF
##78256B1.009.232.289.23
#FFFFFF9.231.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24406D
Deuteranopia (green-blind)
#404C69
Tritanopia (blue-blind)
#7E2B44
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #78256b;
/* rgb */ color: rgb(120, 37, 107);
/* oklch */ color: oklch(41.8% 0.143 334.7);
Tailwind
colors: {
  custom: {
    50: '#a26795',
    500: '#78256b',
    950: '#000000',
  },
}
SCSS
$custom: #78256b;
$custom-light: #a26795;
$custom-dark: #000000;
JSON
{
  "hex": "#78256b",
  "rgb": {
    "r": 120,
    "g": 37,
    "b": 107
  },
  "hsl": {
    "h": 309.398,
    "s": 52.866,
    "l": 30.784
  },
  "oklch": {
    "l": 0.41824,
    "c": 0.14256,
    "h": 334.7
  },
  "luminance": 0.06378
}

Semantic roles & 50–950 ramp

primary
#78256B
secondary
#4EAA5D
accent
#DC624C
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#0F060D
muted
#7F7A7E

Preview Lab

Preview with #78256B

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

Preview Lab → · Contrast checker → · Palette generator →

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