#782293#782293

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

Color values

HEX#782293
RGBrgb(120, 34, 147)
HSLhsl(286, 62%, 35%)
HSVhsv(286, 77%, 58%)
CMYKcmyk(18.4%, 76.9%, 0%, 42.4%)
CIE-LABlab(32.36, 52.98, -44.23)
CIE-LCHlch(32.36, 69.02, 320.14°)
OKLaboklab(44.04% 0.1316 -0.1246)
OKLCHoklch(44.04% 0.181 316.6)
XYZxyz(13.5834, 7.2443, 28.2809)
Luminance0.0724 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#782293 #3D9322
analogous
#402293 #782293 #932275
triadic
#782293 #937822 #229378
tetradic
#782293 #934022 #3D9322 #227593
square
#782293 #934022 #3D9322 #227593
split-complementary
#782293 #759322 #229340
monochromatic
#270B30 #4F1761 #782293 #A12DC5 #B957D8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##782293#FFFFFF#000000##FFFFFF
##7822931.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)
#004796
Deuteranopia (green-blind)
#224F91
Tritanopia (blue-blind)
#763B59
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #782293;
/* rgb */ color: rgb(120, 34, 147);
/* oklch */ color: oklch(44.0% 0.181 316.6);
Tailwind
colors: {
  custom: {
    50: '#a367b3',
    500: '#782293',
    950: '#000000',
  },
}
SCSS
$custom: #782293;
$custom-light: #a367b3;
$custom-dark: #000000;
JSON
{
  "hex": "#782293",
  "rgb": {
    "r": 120,
    "g": 34,
    "b": 147
  },
  "hsl": {
    "h": 285.664,
    "s": 62.431,
    "l": 35.49
  },
  "oklch": {
    "l": 0.44043,
    "c": 0.18124,
    "h": 316.6
  },
  "luminance": 0.07244
}

Semantic roles & 50–950 ramp

primary
#782293
secondary
#6DBC55
accent
#E54269
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #782293

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

Preview Lab → · Contrast checker → · Palette generator →

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