#78239D#78239D

#78239D is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.9% C 0.189 H 313.0°. Best body text is #FFFFFF at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#78239D
RGBrgb(120, 35, 157)
HSLhsl(282, 64%, 38%)
HSVhsv(282, 78%, 62%)
CMYKcmyk(23.6%, 77.7%, 0%, 38.4%)
CIE-LABlab(33.20, 54.68, -48.98)
CIE-LCHlch(33.20, 73.40, 318.15°)
OKLaboklab(44.87% 0.1291 -0.1385)
OKLCHoklch(44.87% 0.189 313)
XYZxyz(14.4315, 7.6299, 32.6043)
Luminance0.0763 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78239D #489D23
analogous
#3B239D #78239D #9D2385
triadic
#78239D #9D7823 #239D78
tetradic
#78239D #9D3B23 #489D23 #23859D
square
#78239D #9D3B23 #489D23 #23859D
split-complementary
#78239D #859D23 #239D3B
monochromatic
#2B0D39 #52186B #78239D #9E2ECF #B65FDB

Accessibility & contrast

On white

8.31
#78239D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #78239D
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78239D#FFFFFF#000000##FFFFFF
##78239D1.008.312.538.31
#FFFFFF8.311.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AA0
Deuteranopia (green-blind)
#13509A
Tritanopia (blue-blind)
#74405F
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #78239d;
/* rgb */ color: rgb(120, 35, 157);
/* oklch */ color: oklch(44.9% 0.189 313.0);
Tailwind
colors: {
  custom: {
    50: '#a368bb',
    500: '#78239d',
    950: '#000000',
  },
}
SCSS
$custom: #78239d;
$custom-light: #a368bb;
$custom-dark: #000000;
JSON
{
  "hex": "#78239d",
  "rgb": {
    "r": 120,
    "g": 35,
    "b": 157
  },
  "hsl": {
    "h": 281.803,
    "s": 63.542,
    "l": 37.647
  },
  "oklch": {
    "l": 0.44866,
    "c": 0.18936,
    "h": 313
  },
  "luminance": 0.07629
}

Semantic roles & 50–950 ramp

primary
#78239D
secondary
#7AC05C
accent
#E74173
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100712
muted
#7F7A81

Preview Lab

Preview with #78239D

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

Preview Lab → · Contrast checker → · Palette generator →

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