#78239B#78239B

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

Color values

HEX#78239B
RGBrgb(120, 35, 155)
HSLhsl(283, 63%, 37%)
HSVhsv(283, 77%, 61%)
CMYKcmyk(22.6%, 77.4%, 0%, 39.2%)
CIE-LABlab(33.05, 54.26, -48.00)
CIE-LCHlch(33.05, 72.44, 318.50°)
OKLaboklab(44.72% 0.1295 -0.1356)
OKLCHoklch(44.72% 0.188 313.7)
XYZxyz(14.2621, 7.5622, 31.7123)
Luminance0.0756 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78239B #469B23
analogous
#3C239B #78239B #9B2382
triadic
#78239B #9B7823 #239B78
tetradic
#78239B #9B3C23 #469B23 #23829B
square
#78239B #9B3C23 #469B23 #23829B
split-complementary
#78239B #829B23 #239B3C
monochromatic
#2B0C37 #511869 #78239B #9F2ECD #B65EDB

Accessibility & contrast

On white

8.36
#78239B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#78239B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #78239B
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78239B#FFFFFF#000000##FFFFFF
##78239B1.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499E
Deuteranopia (green-blind)
#175098
Tritanopia (blue-blind)
#743F5E
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #78239b;
/* rgb */ color: rgb(120, 35, 155);
/* oklch */ color: oklch(44.7% 0.188 313.7);
Tailwind
colors: {
  custom: {
    50: '#a368b9',
    500: '#78239b',
    950: '#000000',
  },
}
SCSS
$custom: #78239b;
$custom-light: #a368b9;
$custom-dark: #000000;
JSON
{
  "hex": "#78239b",
  "rgb": {
    "r": 120,
    "g": 35,
    "b": 155
  },
  "hsl": {
    "h": 282.5,
    "s": 63.158,
    "l": 37.255
  },
  "oklch": {
    "l": 0.44716,
    "c": 0.18751,
    "h": 313.7
  },
  "luminance": 0.07562
}

Semantic roles & 50–950 ramp

primary
#78239B
secondary
#78BF5A
accent
#E64272
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #78239B

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

Preview Lab → · Contrast checker → · Palette generator →

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