#78268A#78268A

#78268A is a dark, vivid purple. Relative luminance 0.072; OKLCH L 43.8% C 0.168 H 319.8°. Best body text is #FFFFFF at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#78268A
RGBrgb(120, 38, 138)
HSLhsl(289, 57%, 35%)
HSVhsv(289, 72%, 54%)
CMYKcmyk(13%, 72.5%, 0%, 45.9%)
CIE-LABlab(32.29, 49.63, -38.79)
CIE-LCHlch(32.29, 62.99, 321.99°)
OKLaboklab(43.8% 0.1286 -0.1087)
OKLCHoklch(43.8% 0.168 319.8)
XYZxyz(13.0257, 7.2149, 24.7463)
Luminance0.0721 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78268A #388A26
analogous
#46268A #78268A #8A266A
triadic
#78268A #8A7826 #268A78
tetradic
#78268A #8A4626 #388A26 #266A8A
square
#78268A #8A4626 #388A26 #266A8A
split-complementary
#78268A #6A8A26 #268A46
monochromatic
#250C2A #4E195A #78268A #A233BA #BC59D1

Accessibility & contrast

On white

8.60
#78268A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#78268A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #78268A
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78268A#FFFFFF#000000##FFFFFF
##78268A1.008.602.448.60
#FFFFFF8.601.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00468D
Deuteranopia (green-blind)
#2E4F88
Tritanopia (blue-blind)
#783955
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #78268a;
/* rgb */ color: rgb(120, 38, 138);
/* oklch */ color: oklch(43.8% 0.168 319.8);
Tailwind
colors: {
  custom: {
    50: '#a268ad',
    500: '#78268a',
    950: '#000000',
  },
}
SCSS
$custom: #78268a;
$custom-light: #a268ad;
$custom-dark: #000000;
JSON
{
  "hex": "#78268a",
  "rgb": {
    "r": 120,
    "g": 38,
    "b": 138
  },
  "hsl": {
    "h": 289.2,
    "s": 56.818,
    "l": 34.51
  },
  "oklch": {
    "l": 0.43804,
    "c": 0.16833,
    "h": 319.8
  },
  "luminance": 0.07214
}

Semantic roles & 50–950 ramp

primary
#78268A
secondary
#67B656
accent
#E04863
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #78268A

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

Preview Lab → · Contrast checker → · Palette generator →

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