#783183#783183

#783183 is a dark, vivid purple. Relative luminance 0.078; OKLCH L 44.6% C 0.146 H 322.1°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#783183
RGBrgb(120, 49, 131)
HSLhsl(292, 46%, 35%)
HSVhsv(292, 63%, 51%)
CMYKcmyk(8.4%, 62.6%, 0%, 48.6%)
CIE-LABlab(33.62, 43.32, -32.33)
CIE-LCHlch(33.62, 54.06, 323.27°)
OKLaboklab(44.63% 0.1154 -0.0899)
OKLCHoklch(44.63% 0.146 322.1)
XYZxyz(12.9403, 7.8290, 22.2979)
Luminance0.0783 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#783183 #3C8331
analogous
#4F3183 #783183 #833165
triadic
#783183 #837831 #318378
tetradic
#783183 #834F31 #3C8331 #316583
square
#783183 #834F31 #3C8331 #316583
split-complementary
#783183 #658331 #31834F
monochromatic
#26102A #4F2056 #783183 #A142B0 #BA68C6

Accessibility & contrast

On white

8.19
#783183 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #783183
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##783183#FFFFFF#000000##FFFFFF
##7831831.008.192.578.19
#FFFFFF8.191.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204A86
Deuteranopia (green-blind)
#3B5281
Tritanopia (blue-blind)
#793D55
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #783183;
/* rgb */ color: rgb(120, 49, 131);
/* oklch */ color: oklch(44.6% 0.146 322.1);
Tailwind
colors: {
  custom: {
    50: '#a16ea7',
    500: '#783183',
    950: '#000000',
  },
}
SCSS
$custom: #783183;
$custom-light: #a16ea7;
$custom-dark: #000000;
JSON
{
  "hex": "#783183",
  "rgb": {
    "r": 120,
    "g": 49,
    "b": 131
  },
  "hsl": {
    "h": 291.951,
    "s": 45.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.44627,
    "c": 0.14631,
    "h": 322.1
  },
  "luminance": 0.07828
}

Semantic roles & 50–950 ramp

primary
#783183
secondary
#6CAE62
accent
#D55364
background
#FAF6FA
surface
#F4ECF4
border
#CEC7CE
text
#0F070F
muted
#7F7A7F

Preview Lab

Preview with #783183

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

Preview Lab → · Contrast checker → · Palette generator →

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