#78266B#78266B

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

Color values

HEX#78266B
RGBrgb(120, 38, 107)
HSLhsl(310, 52%, 31%)
HSVhsv(310, 68%, 47%)
CMYKcmyk(0%, 68.3%, 10.8%, 52.9%)
CIE-LABlab(30.50, 43.91, -22.11)
CIE-LCHlch(30.50, 49.17, 333.27°)
OKLaboklab(41.94% 0.1276 -0.0603)
OKLCHoklch(41.94% 0.141 334.7)
XYZxyz(11.0928, 6.4417, 14.5662)
Luminance0.0644 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78266B #267833
analogous
#5C2678 #78266B #782642
triadic
#78266B #6B7826 #266B78
tetradic
#78266B #785C26 #267833 #264278
square
#78266B #785C26 #267833 #264278
split-complementary
#78266B #427826 #26785C
monochromatic
#1B0918 #4A1742 #78266B #A63594 #C851B5

Accessibility & contrast

On white

9.18
#78266B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#78266B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #78266B
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78266B#FFFFFF#000000##FFFFFF
##78266B1.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)
#25406D
Deuteranopia (green-blind)
#414C69
Tritanopia (blue-blind)
#7E2C45
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #78266b;
/* rgb */ color: rgb(120, 38, 107);
/* oklch */ color: oklch(41.9% 0.141 334.7);
Tailwind
colors: {
  custom: {
    50: '#a26795',
    500: '#78266b',
    950: '#000000',
  },
}
SCSS
$custom: #78266b;
$custom-light: #a26795;
$custom-dark: #000000;
JSON
{
  "hex": "#78266b",
  "rgb": {
    "r": 120,
    "g": 38,
    "b": 107
  },
  "hsl": {
    "h": 309.512,
    "s": 51.899,
    "l": 30.98
  },
  "oklch": {
    "l": 0.41935,
    "c": 0.14114,
    "h": 334.7
  },
  "luminance": 0.06441
}

Semantic roles & 50–950 ramp

primary
#78266B
secondary
#50AA5E
accent
#DB634C
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#0F060D
muted
#7F7A7E

Preview Lab

Preview with #78266B

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

Preview Lab → · Contrast checker → · Palette generator →

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