#780282#780282

#780282 is a dark, vivid purple. Relative luminance 0.056; OKLCH L 41.0% C 0.191 H 324.2°. Best body text is #FFFFFF at 9.86:1 contrast (WCAG AA passes).

Color values

HEX#780282
RGBrgb(120, 2, 130)
HSLhsl(295, 97%, 26%)
HSVhsv(295, 98%, 51%)
CMYKcmyk(7.7%, 98.5%, 0%, 49%)
CIE-LABlab(28.51, 57.56, -39.87)
CIE-LCHlch(28.51, 70.02, 325.29°)
OKLaboklab(40.96% 0.1548 -0.1116)
OKLCHoklch(40.96% 0.191 324.2)
XYZxyz(11.7964, 5.6490, 21.5838)
Luminance0.0565 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#780282 #0C8202
analogous
#380282 #780282 #82024C
triadic
#780282 #827802 #028278
tetradic
#780282 #823802 #0C8202 #024C82
square
#780282 #823802 #0C8202 #024C82
split-complementary
#780282 #4C8202 #028238
monochromatic
#1C001E #400146 #780282 #B003BE #E704FB

Accessibility & contrast

On white

9.86
#780282 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#780282 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #780282
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##780282#FFFFFF#000000##FFFFFF
##7802821.009.862.139.86
#FFFFFF9.861.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B85
Deuteranopia (green-blind)
#254780
Tritanopia (blue-blind)
#7A254A
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #780282;
/* rgb */ color: rgb(120, 2, 130);
/* oklch */ color: oklch(41.0% 0.191 324.2);
Tailwind
colors: {
  custom: {
    50: '#a35da7',
    500: '#780282',
    950: '#000000',
  },
}
SCSS
$custom: #780282;
$custom-light: #a35da7;
$custom-dark: #000000;
JSON
{
  "hex": "#780282",
  "rgb": {
    "r": 120,
    "g": 2,
    "b": 130
  },
  "hsl": {
    "h": 295.313,
    "s": 96.97,
    "l": 25.882
  },
  "oklch": {
    "l": 0.4096,
    "c": 0.19084,
    "h": 324.2
  },
  "luminance": 0.05648
}

Semantic roles & 50–950 ramp

primary
#780282
secondary
#30BC24
accent
#FF293A
background
#FAF5FA
surface
#F4EAF4
border
#CEC6CE
text
#10050F
muted
#7F797F

Preview Lab

Preview with #780282

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

Preview Lab → · Contrast checker → · Palette generator →

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