#782288#782288

#782288 is a dark, vivid purple. Relative luminance 0.069; OKLCH L 43.3% C 0.171 H 320.8°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#782288
RGBrgb(120, 34, 136)
HSLhsl(291, 60%, 33%)
HSVhsv(291, 75%, 53%)
CMYKcmyk(11.8%, 75%, 0%, 46.7%)
CIE-LABlab(31.61, 50.80, -38.64)
CIE-LCHlch(31.61, 63.82, 322.74°)
OKLaboklab(43.28% 0.1328 -0.1082)
OKLCHoklch(43.28% 0.171 320.8)
XYZxyz(12.7612, 6.9154, 23.9504)
Luminance0.0692 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#782288 #328822
analogous
#452288 #782288 #882265
triadic
#782288 #887822 #228878
tetradic
#782288 #884522 #328822 #226588
square
#782288 #884522 #328822 #226588
split-complementary
#782288 #658822 #228845
monochromatic
#220A26 #4D1657 #782288 #A32EB9 #BF51D3

Accessibility & contrast

On white

8.81
#782288 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#782288 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #782288
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##782288#FFFFFF#000000##FFFFFF
##7822881.008.812.388.81
#FFFFFF8.811.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448B
Deuteranopia (green-blind)
#2D4D86
Tritanopia (blue-blind)
#793653
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #782288;
/* rgb */ color: rgb(120, 34, 136);
/* oklch */ color: oklch(43.3% 0.171 320.8);
Tailwind
colors: {
  custom: {
    50: '#a266ab',
    500: '#782288',
    950: '#000000',
  },
}
SCSS
$custom: #782288;
$custom-light: #a266ab;
$custom-dark: #000000;
JSON
{
  "hex": "#782288",
  "rgb": {
    "r": 120,
    "g": 34,
    "b": 136
  },
  "hsl": {
    "h": 290.588,
    "s": 60,
    "l": 33.333
  },
  "oklch": {
    "l": 0.43279,
    "c": 0.17132,
    "h": 320.8
  },
  "luminance": 0.06915
}

Semantic roles & 50–950 ramp

primary
#782288
secondary
#5FB74F
accent
#E3455E
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0610
muted
#7F7A7F

Preview Lab

Preview with #782288

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

Preview Lab → · Contrast checker → · Palette generator →

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