#78239C#78239C

#78239C is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.8% C 0.188 H 313.3°. Best body text is #FFFFFF at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#78239C
RGBrgb(120, 35, 156)
HSLhsl(282, 63%, 37%)
HSVhsv(282, 78%, 61%)
CMYKcmyk(23.1%, 77.6%, 0%, 38.8%)
CIE-LABlab(33.13, 54.47, -48.49)
CIE-LCHlch(33.13, 72.92, 318.32°)
OKLaboklab(44.79% 0.1293 -0.1371)
OKLCHoklch(44.79% 0.188 313.3)
XYZxyz(14.3465, 7.5959, 32.1565)
Luminance0.0760 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78239C #479C23
analogous
#3C239C #78239C #9C2383
triadic
#78239C #9C7823 #239C78
tetradic
#78239C #9C3C23 #479C23 #23839C
square
#78239C #9C3C23 #479C23 #23839C
split-complementary
#78239C #839C23 #239C3C
monochromatic
#2B0D38 #52186A #78239C #9E2ECE #B65EDB

Accessibility & contrast

On white

8.34
#78239C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#78239C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #78239C
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78239C#FFFFFF#000000##FFFFFF
##78239C1.008.342.528.34
#FFFFFF8.341.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A9F
Deuteranopia (green-blind)
#155099
Tritanopia (blue-blind)
#743F5F
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #78239c;
/* rgb */ color: rgb(120, 35, 156);
/* oklch */ color: oklch(44.8% 0.188 313.3);
Tailwind
colors: {
  custom: {
    50: '#a368ba',
    500: '#78239c',
    950: '#000000',
  },
}
SCSS
$custom: #78239c;
$custom-light: #a368ba;
$custom-dark: #000000;
JSON
{
  "hex": "#78239c",
  "rgb": {
    "r": 120,
    "g": 35,
    "b": 156
  },
  "hsl": {
    "h": 282.149,
    "s": 63.351,
    "l": 37.451
  },
  "oklch": {
    "l": 0.44791,
    "c": 0.18843,
    "h": 313.3
  },
  "luminance": 0.07595
}

Semantic roles & 50–950 ramp

primary
#78239C
secondary
#79C05B
accent
#E64172
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #78239C

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

Preview Lab → · Contrast checker → · Palette generator →

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