#783278#783278

#783278 is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.1% C 0.134 H 327.6°. Best body text is #FFFFFF at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#783278
RGBrgb(120, 50, 120)
HSLhsl(300, 41%, 33%)
HSVhsv(300, 58%, 47%)
CMYKcmyk(0%, 58.3%, 0%, 52.9%)
CIE-LABlab(33.20, 40.66, -26.12)
CIE-LCHlch(33.20, 48.33, 327.28°)
OKLaboklab(44.12% 0.1132 -0.0719)
OKLCHoklch(44.12% 0.134 327.6)
XYZxyz(12.2763, 7.6311, 18.5920)
Luminance0.0763 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783278 #327832
analogous
#553278 #783278 #783255
triadic
#783278 #787832 #327878
tetradic
#783278 #785532 #327832 #325578
square
#783278 #785532 #327832 #325578
split-complementary
#783278 #557832 #327855
monochromatic
#220E22 #4D204D #783278 #A344A3 #BF65BF

Accessibility & contrast

On white

8.31
#783278 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#783278 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #783278
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783278#FFFFFF#000000##FFFFFF
##7832781.008.312.538.31
#FFFFFF8.311.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B487A
Deuteranopia (green-blind)
#415176
Tritanopia (blue-blind)
#7B3A50
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #783278;
/* rgb */ color: rgb(120, 50, 120);
/* oklch */ color: oklch(44.1% 0.134 327.6);
Tailwind
colors: {
  custom: {
    50: '#a16e9f',
    500: '#783278',
    950: '#000000',
  },
}
SCSS
$custom: #783278;
$custom-light: #a16e9f;
$custom-dark: #000000;
JSON
{
  "hex": "#783278",
  "rgb": {
    "r": 120,
    "g": 50,
    "b": 120
  },
  "hsl": {
    "h": 300,
    "s": 41.176,
    "l": 33.333
  },
  "oklch": {
    "l": 0.44124,
    "c": 0.13408,
    "h": 327.6
  },
  "luminance": 0.0763
}

Semantic roles & 50–950 ramp

primary
#783278
secondary
#5FA75F
accent
#D15757
background
#FAF6F9
surface
#F4ECF2
border
#CEC7CC
text
#0F070E
muted
#7F7A7E

Preview Lab

Preview with #783278

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

Preview Lab → · Contrast checker → · Palette generator →

#783278 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva