#782282#782282

#782282 is a dark, vivid purple. Relative luminance 0.067; OKLCH L 42.9% C 0.166 H 323.4°. Best body text is #FFFFFF at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#782282
RGBrgb(120, 34, 130)
HSLhsl(294, 59%, 32%)
HSVhsv(294, 74%, 51%)
CMYKcmyk(7.7%, 73.8%, 0%, 49%)
CIE-LABlab(31.23, 49.65, -35.51)
CIE-LCHlch(31.23, 61.04, 324.42°)
OKLaboklab(42.88% 0.1332 -0.099)
OKLCHoklch(42.88% 0.166 323.4)
XYZxyz(12.3466, 6.7496, 21.7672)
Luminance0.0675 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#782282 #2C8222
analogous
#482282 #782282 #82225C
triadic
#782282 #827822 #228278
tetradic
#782282 #824822 #2C8222 #225C82
square
#782282 #824822 #2C8222 #225C82
split-complementary
#782282 #5C8222 #228248
monochromatic
#1E0921 #4B1551 #782282 #A52FB3 #C34ED1

Accessibility & contrast

On white

8.94
#782282 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#782282 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #782282
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##782282#FFFFFF#000000##FFFFFF
##7822821.008.942.358.94
#FFFFFF8.941.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004385
Deuteranopia (green-blind)
#324D80
Tritanopia (blue-blind)
#7A3350
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #782282;
/* rgb */ color: rgb(120, 34, 130);
/* oklch */ color: oklch(42.9% 0.166 323.4);
Tailwind
colors: {
  custom: {
    50: '#a266a7',
    500: '#782282',
    950: '#000000',
  },
}
SCSS
$custom: #782282;
$custom-light: #a266a7;
$custom-dark: #000000;
JSON
{
  "hex": "#782282",
  "rgb": {
    "r": 120,
    "g": 34,
    "b": 130
  },
  "hsl": {
    "h": 293.75,
    "s": 58.537,
    "l": 32.157
  },
  "oklch": {
    "l": 0.42882,
    "c": 0.166,
    "h": 323.4
  },
  "luminance": 0.06749
}

Semantic roles & 50–950 ramp

primary
#782282
secondary
#57B44C
accent
#E24656
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #782282

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

Preview Lab → · Contrast checker → · Palette generator →

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