#78268D#78268D

#78268D is a dark, vivid purple. Relative luminance 0.073; OKLCH L 44.0% C 0.171 H 318.6°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#78268D
RGBrgb(120, 38, 141)
HSLhsl(288, 58%, 35%)
HSVhsv(288, 73%, 55%)
CMYKcmyk(14.9%, 73%, 0%, 44.7%)
CIE-LABlab(32.49, 50.23, -40.33)
CIE-LCHlch(32.49, 64.42, 321.24°)
OKLaboklab(44.01% 0.1283 -0.1132)
OKLCHoklch(44.01% 0.171 318.6)
XYZxyz(13.2459, 7.3030, 25.9060)
Luminance0.0730 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78268D #3B8D26
analogous
#44268D #78268D #8D266E
triadic
#78268D #8D7826 #268D78
tetradic
#78268D #8D4426 #3B8D26 #266E8D
square
#78268D #8D4426 #3B8D26 #266E8D
split-complementary
#78268D #6E8D26 #268D44
monochromatic
#260C2D #4F195D #78268D #A133BD #BA5BD3

Accessibility & contrast

On white

8.54
#78268D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#78268D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #78268D
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78268D#FFFFFF#000000##FFFFFF
##78268D1.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004790
Deuteranopia (green-blind)
#2C4F8B
Tritanopia (blue-blind)
#783A57
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #78268d;
/* rgb */ color: rgb(120, 38, 141);
/* oklch */ color: oklch(44.0% 0.171 318.6);
Tailwind
colors: {
  custom: {
    50: '#a269af',
    500: '#78268d',
    950: '#000000',
  },
}
SCSS
$custom: #78268d;
$custom-light: #a269af;
$custom-dark: #000000;
JSON
{
  "hex": "#78268d",
  "rgb": {
    "r": 120,
    "g": 38,
    "b": 141
  },
  "hsl": {
    "h": 287.767,
    "s": 57.542,
    "l": 35.098
  },
  "oklch": {
    "l": 0.44006,
    "c": 0.17111,
    "h": 318.6
  },
  "luminance": 0.07302
}

Semantic roles & 50–950 ramp

primary
#78268D
secondary
#6BB857
accent
#E14766
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #78268D

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

Preview Lab → · Contrast checker → · Palette generator →

#78268D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva