#78239E#78239E

#78239E is a dark, vivid purple. Relative luminance 0.077; OKLCH L 44.9% C 0.190 H 312.7°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#78239E
RGBrgb(120, 35, 158)
HSLhsl(281, 64%, 38%)
HSVhsv(281, 78%, 62%)
CMYKcmyk(24.1%, 77.8%, 0%, 38%)
CIE-LABlab(33.27, 54.88, -49.46)
CIE-LCHlch(33.27, 73.89, 317.97°)
OKLaboklab(44.94% 0.1289 -0.1399)
OKLCHoklch(44.94% 0.19 312.7)
XYZxyz(14.5172, 7.6642, 33.0557)
Luminance0.0766 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78239E #499E23
analogous
#3A239E #78239E #9E2387
triadic
#78239E #9E7823 #239E78
tetradic
#78239E #9E3A23 #499E23 #23879E
square
#78239E #9E3A23 #499E23 #23879E
split-complementary
#78239E #879E23 #239E3A
monochromatic
#2C0D3A #52186C #78239E #9E2ED0 #B560DC

Accessibility & contrast

On white

8.29
#78239E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#78239E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #78239E
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78239E#FFFFFF#000000##FFFFFF
##78239E1.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA1
Deuteranopia (green-blind)
#11509B
Tritanopia (blue-blind)
#744060
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #78239e;
/* rgb */ color: rgb(120, 35, 158);
/* oklch */ color: oklch(44.9% 0.190 312.7);
Tailwind
colors: {
  custom: {
    50: '#a368bb',
    500: '#78239e',
    950: '#000000',
  },
}
SCSS
$custom: #78239e;
$custom-light: #a368bb;
$custom-dark: #000000;
JSON
{
  "hex": "#78239e",
  "rgb": {
    "r": 120,
    "g": 35,
    "b": 158
  },
  "hsl": {
    "h": 281.463,
    "s": 63.731,
    "l": 37.843
  },
  "oklch": {
    "l": 0.44941,
    "c": 0.19029,
    "h": 312.7
  },
  "luminance": 0.07664
}

Semantic roles & 50–950 ramp

primary
#78239E
secondary
#7BC15C
accent
#E74174
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #78239E

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

Preview Lab → · Contrast checker → · Palette generator →

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