#78258D#78258D

#78258D is a dark, vivid purple. Relative luminance 0.072; OKLCH L 43.9% C 0.172 H 318.7°. Best body text is #FFFFFF at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#78258D
RGBrgb(120, 37, 141)
HSLhsl(288, 58%, 35%)
HSVhsv(288, 74%, 55%)
CMYKcmyk(14.9%, 73.8%, 0%, 44.7%)
CIE-LABlab(32.35, 50.63, -40.56)
CIE-LCHlch(32.35, 64.87, 321.31°)
OKLaboklab(43.91% 0.1294 -0.1138)
OKLCHoklch(43.91% 0.172 318.7)
XYZxyz(13.2144, 7.2399, 25.8955)
Luminance0.0724 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78258D #3A8D25
analogous
#44258D #78258D #8D256E
triadic
#78258D #8D7825 #258D78
tetradic
#78258D #8D4425 #3A8D25 #256E8D
square
#78258D #8D4425 #3A8D25 #256E8D
split-complementary
#78258D #6E8D25 #258D44
monochromatic
#250C2C #4F185D #78258D #A132BD #BB59D3

Accessibility & contrast

On white

8.58
#78258D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#78258D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #78258D
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78258D#FFFFFF#000000##FFFFFF
##78258D1.008.582.458.58
#FFFFFF8.581.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004790
Deuteranopia (green-blind)
#2B4F8B
Tritanopia (blue-blind)
#783A57
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #78258d;
/* rgb */ color: rgb(120, 37, 141);
/* oklch */ color: oklch(43.9% 0.172 318.7);
Tailwind
colors: {
  custom: {
    50: '#a268af',
    500: '#78258d',
    950: '#000000',
  },
}
SCSS
$custom: #78258d;
$custom-light: #a268af;
$custom-dark: #000000;
JSON
{
  "hex": "#78258d",
  "rgb": {
    "r": 120,
    "g": 37,
    "b": 141
  },
  "hsl": {
    "h": 287.885,
    "s": 58.427,
    "l": 34.902
  },
  "oklch": {
    "l": 0.43906,
    "c": 0.17232,
    "h": 318.7
  },
  "luminance": 0.07239
}

Semantic roles & 50–950 ramp

primary
#78258D
secondary
#6AB856
accent
#E24666
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #78258D

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

Preview Lab → · Contrast checker → · Palette generator →

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