#783279#783279

#783279 is a dark, vivid purple. Relative luminance 0.077; OKLCH L 44.2% C 0.135 H 327.0°. Best body text is #FFFFFF at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#783279
RGBrgb(120, 50, 121)
HSLhsl(299, 42%, 34%)
HSVhsv(299, 59%, 47%)
CMYKcmyk(0.8%, 58.7%, 0%, 52.5%)
CIE-LABlab(33.25, 40.86, -26.67)
CIE-LCHlch(33.25, 48.79, 326.86°)
OKLaboklab(44.18% 0.1133 -0.0735)
OKLCHoklch(44.18% 0.135 327)
XYZxyz(12.3373, 7.6555, 18.9133)
Luminance0.0766 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783279 #337932
analogous
#543279 #783279 #793256
triadic
#783279 #797832 #327978
tetradic
#783279 #795432 #337932 #325679
square
#783279 #795432 #337932 #325679
split-complementary
#783279 #567932 #327954
monochromatic
#220E22 #4D204E #783279 #A344A4 #BE66C0

Accessibility & contrast

On white

8.30
#783279 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #783279
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783279#FFFFFF#000000##FFFFFF
##7832791.008.302.538.30
#FFFFFF8.301.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A487B
Deuteranopia (green-blind)
#415177
Tritanopia (blue-blind)
#7B3B50
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #783279;
/* rgb */ color: rgb(120, 50, 121);
/* oklch */ color: oklch(44.2% 0.135 327.0);
Tailwind
colors: {
  custom: {
    50: '#a16ea0',
    500: '#783279',
    950: '#000000',
  },
}
SCSS
$custom: #783279;
$custom-light: #a16ea0;
$custom-dark: #000000;
JSON
{
  "hex": "#783279",
  "rgb": {
    "r": 120,
    "g": 50,
    "b": 121
  },
  "hsl": {
    "h": 299.155,
    "s": 41.52,
    "l": 33.529
  },
  "oklch": {
    "l": 0.44179,
    "c": 0.13503,
    "h": 327
  },
  "luminance": 0.07655
}

Semantic roles & 50–950 ramp

primary
#783279
secondary
#60A75F
accent
#D15658
background
#FAF6F9
surface
#F4ECF2
border
#CEC7CC
text
#0F070E
muted
#7F7A7E

Preview Lab

Preview with #783279

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

Preview Lab → · Contrast checker → · Palette generator →

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