#782585#782585

#782585 is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.4% C 0.165 H 321.9°. Best body text is #FFFFFF at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#782585
RGBrgb(120, 37, 133)
HSLhsl(292, 56%, 33%)
HSVhsv(292, 72%, 52%)
CMYKcmyk(9.8%, 72.2%, 0%, 47.8%)
CIE-LABlab(31.83, 49.05, -36.43)
CIE-LCHlch(31.83, 61.10, 323.40°)
OKLaboklab(43.37% 0.1299 -0.1017)
OKLCHoklch(43.37% 0.165 321.9)
XYZxyz(12.6405, 7.0104, 22.8731)
Luminance0.0701 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#782585 #328525
analogous
#482585 #782585 #852562
triadic
#782585 #857825 #258578
tetradic
#782585 #854825 #328525 #256285
square
#782585 #854825 #328525 #256285
split-complementary
#782585 #628525 #258548
monochromatic
#220A25 #4D1855 #782585 #A332B5 #BF55D0

Accessibility & contrast

On white

8.74
#782585 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#782585 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #782585
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##782585#FFFFFF#000000##FFFFFF
##7825851.008.742.408.74
#FFFFFF8.741.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004588
Deuteranopia (green-blind)
#324E83
Tritanopia (blue-blind)
#793652
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #782585;
/* rgb */ color: rgb(120, 37, 133);
/* oklch */ color: oklch(43.4% 0.165 321.9);
Tailwind
colors: {
  custom: {
    50: '#a268a9',
    500: '#782585',
    950: '#000000',
  },
}
SCSS
$custom: #782585;
$custom-light: #a268a9;
$custom-dark: #000000;
JSON
{
  "hex": "#782585",
  "rgb": {
    "r": 120,
    "g": 37,
    "b": 133
  },
  "hsl": {
    "h": 291.875,
    "s": 56.471,
    "l": 33.333
  },
  "oklch": {
    "l": 0.43372,
    "c": 0.165,
    "h": 321.9
  },
  "luminance": 0.0701
}

Semantic roles & 50–950 ramp

primary
#782585
secondary
#5FB452
accent
#E0485D
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F0710
muted
#7F7A7F

Preview Lab

Preview with #782585

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

Preview Lab → · Contrast checker → · Palette generator →

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