#78276B#78276B

#78276B is a dark, vivid purple. Relative luminance 0.065; OKLCH L 42.0% C 0.140 H 334.7°. Best body text is #FFFFFF at 9.13:1 contrast (WCAG AA passes).

Color values

HEX#78276B
RGBrgb(120, 39, 107)
HSLhsl(310, 51%, 31%)
HSVhsv(310, 68%, 47%)
CMYKcmyk(0%, 67.5%, 10.8%, 52.9%)
CIE-LABlab(30.66, 43.48, -21.87)
CIE-LCHlch(30.66, 48.67, 333.30°)
OKLaboklab(42.05% 0.1263 -0.0596)
OKLCHoklch(42.05% 0.14 334.7)
XYZxyz(11.1252, 6.5065, 14.5770)
Luminance0.0651 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78276B #277834
analogous
#5C2778 #78276B #782742
triadic
#78276B #6B7827 #276B78
tetradic
#78276B #785C27 #277834 #274278
square
#78276B #785C27 #277834 #274278
split-complementary
#78276B #427827 #27785C
monochromatic
#1C0919 #4A1842 #78276B #A63694 #C752B4

Accessibility & contrast

On white

9.13
#78276B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#78276B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #78276B
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78276B#FFFFFF#000000##FFFFFF
##78276B1.009.132.309.13
#FFFFFF9.131.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27406D
Deuteranopia (green-blind)
#414C69
Tritanopia (blue-blind)
#7E2D45
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #78276b;
/* rgb */ color: rgb(120, 39, 107);
/* oklch */ color: oklch(42.0% 0.140 334.7);
Tailwind
colors: {
  custom: {
    50: '#a26895',
    500: '#78276b',
    950: '#000000',
  },
}
SCSS
$custom: #78276b;
$custom-light: #a26895;
$custom-dark: #000000;
JSON
{
  "hex": "#78276b",
  "rgb": {
    "r": 120,
    "g": 39,
    "b": 107
  },
  "hsl": {
    "h": 309.63,
    "s": 50.943,
    "l": 31.176
  },
  "oklch": {
    "l": 0.42048,
    "c": 0.1397,
    "h": 334.7
  },
  "luminance": 0.06506
}

Semantic roles & 50–950 ramp

primary
#78276B
secondary
#51AA5F
accent
#DA644D
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#0F060D
muted
#7F7A7E

Preview Lab

Preview with #78276B

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

Preview Lab → · Contrast checker → · Palette generator →

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