#783281#783281

#783281 is a dark, vivid purple. Relative luminance 0.079; OKLCH L 44.6% C 0.143 H 323.0°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#783281
RGBrgb(120, 50, 129)
HSLhsl(293, 44%, 35%)
HSVhsv(293, 61%, 51%)
CMYKcmyk(7%, 61.2%, 0%, 49.4%)
CIE-LABlab(33.69, 42.43, -30.98)
CIE-LCHlch(33.69, 52.54, 323.87°)
OKLaboklab(44.64% 0.114 -0.086)
OKLCHoklch(44.64% 0.143 323)
XYZxyz(12.8484, 7.8599, 21.6050)
Luminance0.0786 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783281 #3B8132
analogous
#513281 #783281 #813262
triadic
#783281 #817832 #328178
tetradic
#783281 #815132 #3B8132 #326281
square
#783281 #815132 #3B8132 #326281
split-complementary
#783281 #628132 #328151
monochromatic
#261029 #4F2155 #783281 #A143AD #BA69C5

Accessibility & contrast

On white

8.17
#783281 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#783281 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #783281
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783281#FFFFFF#000000##FFFFFF
##7832811.008.172.578.17
#FFFFFF8.171.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234A83
Deuteranopia (green-blind)
#3D527F
Tritanopia (blue-blind)
#7A3D54
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #783281;
/* rgb */ color: rgb(120, 50, 129);
/* oklch */ color: oklch(44.6% 0.143 323.0);
Tailwind
colors: {
  custom: {
    50: '#a16ea6',
    500: '#783281',
    950: '#000000',
  },
}
SCSS
$custom: #783281;
$custom-light: #a16ea6;
$custom-dark: #000000;
JSON
{
  "hex": "#783281",
  "rgb": {
    "r": 120,
    "g": 50,
    "b": 129
  },
  "hsl": {
    "h": 293.165,
    "s": 44.134,
    "l": 35.098
  },
  "oklch": {
    "l": 0.44638,
    "c": 0.14278,
    "h": 323
  },
  "luminance": 0.07859
}

Semantic roles & 50–950 ramp

primary
#783281
secondary
#6BAC62
accent
#D45463
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#0F070F
muted
#7F7A7F

Preview Lab

Preview with #783281

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

Preview Lab → · Contrast checker → · Palette generator →

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