#782391#782391

#782391 is a dark, vivid purple. Relative luminance 0.072; OKLCH L 44.0% C 0.178 H 317.3°. Best body text is #FFFFFF at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#782391
RGBrgb(120, 35, 145)
HSLhsl(286, 61%, 35%)
HSVhsv(286, 76%, 57%)
CMYKcmyk(17.2%, 75.9%, 0%, 43.1%)
CIE-LABlab(32.35, 52.21, -43.02)
CIE-LCHlch(32.35, 67.65, 320.51°)
OKLaboklab(43.99% 0.131 -0.121)
OKLCHoklch(43.99% 0.178 317.3)
XYZxyz(13.4568, 7.2400, 27.4712)
Luminance0.0724 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#782391 #3C9123
analogous
#412391 #782391 #912373
triadic
#782391 #917823 #239178
tetradic
#782391 #914123 #3C9123 #237391
square
#782391 #914123 #3C9123 #237391
split-complementary
#782391 #739123 #239141
monochromatic
#260B2E #4F1760 #782391 #A12FC2 #BA58D7

Accessibility & contrast

On white

8.58
#782391 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#782391 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #782391
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##782391#FFFFFF#000000##FFFFFF
##7823911.008.582.458.58
#FFFFFF8.581.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004794
Deuteranopia (green-blind)
#254F8F
Tritanopia (blue-blind)
#773A58
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #782391;
/* rgb */ color: rgb(120, 35, 145);
/* oklch */ color: oklch(44.0% 0.178 317.3);
Tailwind
colors: {
  custom: {
    50: '#a367b2',
    500: '#782391',
    950: '#000000',
  },
}
SCSS
$custom: #782391;
$custom-light: #a367b2;
$custom-dark: #000000;
JSON
{
  "hex": "#782391",
  "rgb": {
    "r": 120,
    "g": 35,
    "b": 145
  },
  "hsl": {
    "h": 286.364,
    "s": 61.111,
    "l": 35.294
  },
  "oklch": {
    "l": 0.43992,
    "c": 0.17831,
    "h": 317.3
  },
  "luminance": 0.07239
}

Semantic roles & 50–950 ramp

primary
#782391
secondary
#6CBB55
accent
#E44468
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #782391

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

Preview Lab → · Contrast checker → · Palette generator →

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