#78276E#78276E

#78276E is a dark, vivid purple. Relative luminance 0.066; OKLCH L 42.2% C 0.142 H 333.0°. Best body text is #FFFFFF at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#78276E
RGBrgb(120, 39, 110)
HSLhsl(307, 51%, 31%)
HSVhsv(307, 68%, 47%)
CMYKcmyk(0%, 67.5%, 8.3%, 52.9%)
CIE-LABlab(30.81, 43.99, -23.55)
CIE-LCHlch(30.81, 49.90, 331.84°)
OKLaboklab(42.21% 0.1267 -0.0644)
OKLCHoklch(42.21% 0.142 333)
XYZxyz(11.2858, 6.5708, 15.4227)
Luminance0.0657 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78276E #277831
analogous
#592778 #78276E #782745
triadic
#78276E #6E7827 #276E78
tetradic
#78276E #785927 #277831 #274578
square
#78276E #785927 #277831 #274578
split-complementary
#78276E #457827 #277859
monochromatic
#1C0919 #4A1844 #78276E #A63698 #C752B9

Accessibility & contrast

On white

9.08
#78276E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#78276E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #78276E
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78276E#FFFFFF#000000##FFFFFF
##78276E1.009.082.319.08
#FFFFFF9.081.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#244170
Deuteranopia (green-blind)
#404D6C
Tritanopia (blue-blind)
#7D2E47
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #78276e;
/* rgb */ color: rgb(120, 39, 110);
/* oklch */ color: oklch(42.2% 0.142 333.0);
Tailwind
colors: {
  custom: {
    50: '#a26898',
    500: '#78276e',
    950: '#000000',
  },
}
SCSS
$custom: #78276e;
$custom-light: #a26898;
$custom-dark: #000000;
JSON
{
  "hex": "#78276e",
  "rgb": {
    "r": 120,
    "g": 39,
    "b": 110
  },
  "hsl": {
    "h": 307.407,
    "s": 50.943,
    "l": 31.176
  },
  "oklch": {
    "l": 0.42209,
    "c": 0.14216,
    "h": 333
  },
  "luminance": 0.0657
}

Semantic roles & 50–950 ramp

primary
#78276E
secondary
#51AA5C
accent
#DA5F4D
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060D
muted
#7F7A7E

Preview Lab

Preview with #78276E

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

Preview Lab → · Contrast checker → · Palette generator →

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