#782291#782291

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

Color values

HEX#782291
RGBrgb(120, 34, 145)
HSLhsl(286, 62%, 35%)
HSVhsv(286, 77%, 57%)
CMYKcmyk(17.2%, 76.6%, 0%, 43.1%)
CIE-LABlab(32.22, 52.58, -43.23)
CIE-LCHlch(32.22, 68.07, 320.57°)
OKLaboklab(43.9% 0.1319 -0.1216)
OKLCHoklch(43.9% 0.179 317.3)
XYZxyz(13.4278, 7.1820, 27.4615)
Luminance0.0718 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#782291 #3B9122
analogous
#402291 #782291 #912273
triadic
#782291 #917822 #229178
tetradic
#782291 #914022 #3B9122 #227391
square
#782291 #914022 #3B9122 #227391
split-complementary
#782291 #739122 #229140
monochromatic
#260B2E #4F165F #782291 #A12EC3 #BA56D7

Accessibility & contrast

On white

8.62
#782291 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#782291 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #782291
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##782291#FFFFFF#000000##FFFFFF
##7822911.008.622.448.62
#FFFFFF8.621.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #782291;
/* rgb */ color: rgb(120, 34, 145);
/* oklch */ color: oklch(43.9% 0.179 317.3);
Tailwind
colors: {
  custom: {
    50: '#a367b2',
    500: '#782291',
    950: '#000000',
  },
}
SCSS
$custom: #782291;
$custom-light: #a367b2;
$custom-dark: #000000;
JSON
{
  "hex": "#782291",
  "rgb": {
    "r": 120,
    "g": 34,
    "b": 145
  },
  "hsl": {
    "h": 286.486,
    "s": 62.011,
    "l": 35.098
  },
  "oklch": {
    "l": 0.43901,
    "c": 0.17943,
    "h": 317.3
  },
  "luminance": 0.07181
}

Semantic roles & 50–950 ramp

primary
#782291
secondary
#6BBB53
accent
#E54367
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#0F0611
muted
#7F7A80

Preview Lab

Preview with #782291

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

Preview Lab → · Contrast checker → · Palette generator →

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