#78298E#78298E

#78298E is a dark, vivid purple. Relative luminance 0.075; OKLCH L 44.4% C 0.168 H 318.0°. Best body text is #FFFFFF at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#78298E
RGBrgb(120, 41, 142)
HSLhsl(287, 55%, 36%)
HSVhsv(287, 71%, 56%)
CMYKcmyk(15.5%, 71.1%, 0%, 44.3%)
CIE-LABlab(32.99, 49.20, -40.14)
CIE-LCHlch(32.99, 63.50, 320.79°)
OKLaboklab(44.39% 0.125 -0.1126)
OKLCHoklch(44.39% 0.168 318)
XYZxyz(13.4205, 7.5325, 26.3329)
Luminance0.0753 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#78298E #3F8E29
analogous
#45298E #78298E #8E2971
triadic
#78298E #8E7829 #298E78
tetradic
#78298E #8E4529 #3F8E29 #29718E
square
#78298E #8E4529 #3F8E29 #29718E
split-complementary
#78298E #718E29 #298E45
monochromatic
#280E2F #501B5F #78298E #A037BD #B960D1

Accessibility & contrast

On white

8.38
#78298E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#78298E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #78298E
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##78298E#FFFFFF#000000##FFFFFF
##78298E1.008.382.518.38
#FFFFFF8.381.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004991
Deuteranopia (green-blind)
#2D508C
Tritanopia (blue-blind)
#773C58
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #78298e;
/* rgb */ color: rgb(120, 41, 142);
/* oklch */ color: oklch(44.4% 0.168 318.0);
Tailwind
colors: {
  custom: {
    50: '#a26ab0',
    500: '#78298e',
    950: '#000000',
  },
}
SCSS
$custom: #78298e;
$custom-light: #a26ab0;
$custom-dark: #000000;
JSON
{
  "hex": "#78298e",
  "rgb": {
    "r": 120,
    "g": 41,
    "b": 142
  },
  "hsl": {
    "h": 286.931,
    "s": 55.191,
    "l": 35.882
  },
  "oklch": {
    "l": 0.44386,
    "c": 0.16828,
    "h": 318
  },
  "luminance": 0.07532
}

Semantic roles & 50–950 ramp

primary
#78298E
secondary
#70B75C
accent
#DF496A
background
#FAF6FA
surface
#F4EBF5
border
#CEC6CF
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #78298E

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

Preview Lab → · Contrast checker → · Palette generator →

#78298E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva