#782597#782597

#782597 is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.6% C 0.182 H 314.9°. Best body text is #FFFFFF at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#782597
RGBrgb(120, 37, 151)
HSLhsl(284, 61%, 37%)
HSVhsv(284, 75%, 59%)
CMYKcmyk(20.5%, 75.5%, 0%, 40.8%)
CIE-LABlab(33.03, 52.67, -45.60)
CIE-LCHlch(33.03, 69.67, 319.12°)
OKLaboklab(44.61% 0.1282 -0.1286)
OKLCHoklch(44.61% 0.182 314.9)
XYZxyz(13.9923, 7.5511, 29.9926)
Luminance0.0755 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#782597 #449725
analogous
#3F2597 #782597 #97257D
triadic
#782597 #977825 #259778
tetradic
#782597 #973F25 #449725 #257D97
square
#782597 #973F25 #449725 #257D97
split-complementary
#782597 #7D9725 #25973F
monochromatic
#2A0D35 #511966 #782597 #9F31C8 #B75FD8

Accessibility & contrast

On white

8.37
#782597 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#782597 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #782597
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##782597#FFFFFF#000000##FFFFFF
##7825971.008.372.518.37
#FFFFFF8.371.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499A
Deuteranopia (green-blind)
#205095
Tritanopia (blue-blind)
#753E5C
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #782597;
/* rgb */ color: rgb(120, 37, 151);
/* oklch */ color: oklch(44.6% 0.182 314.9);
Tailwind
colors: {
  custom: {
    50: '#a368b6',
    500: '#782597',
    950: '#000000',
  },
}
SCSS
$custom: #782597;
$custom-light: #a368b6;
$custom-dark: #000000;
JSON
{
  "hex": "#782597",
  "rgb": {
    "r": 120,
    "g": 37,
    "b": 151
  },
  "hsl": {
    "h": 283.684,
    "s": 60.638,
    "l": 36.863
  },
  "oklch": {
    "l": 0.44609,
    "c": 0.18161,
    "h": 314.9
  },
  "luminance": 0.07551
}

Semantic roles & 50–950 ramp

primary
#782597
secondary
#76BD5B
accent
#E4446F
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #782597

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

Preview Lab → · Contrast checker → · Palette generator →

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