#78276F#78276F

#78276F is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.3% C 0.143 H 332.5°. Best body text is #FFFFFF at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#78276F
RGBrgb(120, 39, 111)
HSLhsl(307, 51%, 31%)
HSVhsv(307, 68%, 47%)
CMYKcmyk(0%, 67.5%, 7.5%, 52.9%)
CIE-LABlab(30.86, 44.16, -24.11)
CIE-LCHlch(30.86, 50.31, 331.37°)
OKLaboklab(42.26% 0.1268 -0.066)
OKLCHoklch(42.26% 0.143 332.5)
XYZxyz(11.3405, 6.5927, 15.7111)
Luminance0.0659 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78276F #277830
analogous
#582778 #78276F #782746
triadic
#78276F #6F7827 #276F78
tetradic
#78276F #785827 #277830 #274678
square
#78276F #785827 #277830 #274678
split-complementary
#78276F #467827 #277858
monochromatic
#1C091A #4A1844 #78276F #A6369A #C752BA

Accessibility & contrast

On white

9.06
#78276F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#78276F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #78276F
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78276F#FFFFFF#000000##FFFFFF
##78276F1.009.062.329.06
#FFFFFF9.061.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#244171
Deuteranopia (green-blind)
#3F4D6D
Tritanopia (blue-blind)
#7D2E47
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #78276f;
/* rgb */ color: rgb(120, 39, 111);
/* oklch */ color: oklch(42.3% 0.143 332.5);
Tailwind
colors: {
  custom: {
    50: '#a26898',
    500: '#78276f',
    950: '#000000',
  },
}
SCSS
$custom: #78276f;
$custom-light: #a26898;
$custom-dark: #000000;
JSON
{
  "hex": "#78276f",
  "rgb": {
    "r": 120,
    "g": 39,
    "b": 111
  },
  "hsl": {
    "h": 306.667,
    "s": 50.943,
    "l": 31.176
  },
  "oklch": {
    "l": 0.42263,
    "c": 0.14299,
    "h": 332.5
  },
  "luminance": 0.06592
}

Semantic roles & 50–950 ramp

primary
#78276F
secondary
#51AA5B
accent
#DA5D4D
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #78276F

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

Preview Lab → · Contrast checker → · Palette generator →

#78276F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva