#78247D#78247D

#78247D is a dark, vivid purple. Relative luminance 0.067; OKLCH L 42.8% C 0.159 H 325.5°. Best body text is #FFFFFF at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#78247D
RGBrgb(120, 36, 125)
HSLhsl(297, 55%, 32%)
HSVhsv(297, 71%, 49%)
CMYKcmyk(4%, 71.2%, 0%, 51%)
CIE-LABlab(31.20, 47.93, -32.43)
CIE-LCHlch(31.20, 57.87, 325.92°)
OKLaboklab(42.76% 0.1312 -0.0901)
OKLCHoklch(42.76% 0.159 325.5)
XYZxyz(12.0780, 6.7363, 20.0621)
Luminance0.0673 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78247D #297D24
analogous
#4C247D #78247D #7D2456
triadic
#78247D #7D7824 #247D78
tetradic
#78247D #7D4C24 #297D24 #24567D
square
#78247D #7D4C24 #297D24 #24567D
split-complementary
#78247D #567D24 #247D4C
monochromatic
#1D091E #4A164D #78247D #A632AD #C54FCC

Accessibility & contrast

On white

8.95
#78247D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#78247D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #78247D
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78247D#FFFFFF#000000##FFFFFF
##78247D1.008.952.358.95
#FFFFFF8.951.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#104380
Deuteranopia (green-blind)
#364D7B
Tritanopia (blue-blind)
#7B324E
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #78247d;
/* rgb */ color: rgb(120, 36, 125);
/* oklch */ color: oklch(42.8% 0.159 325.5);
Tailwind
colors: {
  custom: {
    50: '#a267a3',
    500: '#78247d',
    950: '#000000',
  },
}
SCSS
$custom: #78247d;
$custom-light: #a267a3;
$custom-dark: #000000;
JSON
{
  "hex": "#78247d",
  "rgb": {
    "r": 120,
    "g": 36,
    "b": 125
  },
  "hsl": {
    "h": 296.629,
    "s": 55.28,
    "l": 31.569
  },
  "oklch": {
    "l": 0.42761,
    "c": 0.15911,
    "h": 325.5
  },
  "luminance": 0.06735
}

Semantic roles & 50–950 ramp

primary
#78247D
secondary
#53AF4D
accent
#DF4952
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #78247D

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

Preview Lab → · Contrast checker → · Palette generator →

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