#78248D#78248D

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

Color values

HEX#78248D
RGBrgb(120, 36, 141)
HSLhsl(288, 59%, 35%)
HSVhsv(288, 74%, 55%)
CMYKcmyk(14.9%, 74.5%, 0%, 44.7%)
CIE-LABlab(32.21, 51.02, -40.78)
CIE-LCHlch(32.21, 65.31, 321.37°)
OKLaboklab(43.81% 0.1304 -0.1145)
OKLCHoklch(43.81% 0.174 318.7)
XYZxyz(13.1837, 7.1785, 25.8853)
Luminance0.0718 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78248D #398D24
analogous
#44248D #78248D #8D246E
triadic
#78248D #8D7824 #248D78
tetradic
#78248D #8D4424 #398D24 #246E8D
square
#78248D #8D4424 #398D24 #246E8D
split-complementary
#78248D #6E8D24 #248D44
monochromatic
#250B2B #4F185C #78248D #A130BE #BB57D4

Accessibility & contrast

On white

8.62
#78248D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#78248D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #78248D
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78248D#FFFFFF#000000##FFFFFF
##78248D1.008.622.448.62
#FFFFFF8.621.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004690
Deuteranopia (green-blind)
#2A4E8B
Tritanopia (blue-blind)
#783956
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #78248d;
/* rgb */ color: rgb(120, 36, 141);
/* oklch */ color: oklch(43.8% 0.174 318.7);
Tailwind
colors: {
  custom: {
    50: '#a268af',
    500: '#78248d',
    950: '#000000',
  },
}
SCSS
$custom: #78248d;
$custom-light: #a268af;
$custom-dark: #000000;
JSON
{
  "hex": "#78248d",
  "rgb": {
    "r": 120,
    "g": 36,
    "b": 141
  },
  "hsl": {
    "h": 288,
    "s": 59.322,
    "l": 34.706
  },
  "oklch": {
    "l": 0.43809,
    "c": 0.17351,
    "h": 318.7
  },
  "luminance": 0.07178
}

Semantic roles & 50–950 ramp

primary
#78248D
secondary
#68B854
accent
#E34565
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #78248D

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

Preview Lab → · Contrast checker → · Palette generator →

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