#782583#782583

#782583 is a dark, vivid purple. Relative luminance 0.070; OKLCH L 43.2% C 0.163 H 322.8°. Best body text is #FFFFFF at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#782583
RGBrgb(120, 37, 131)
HSLhsl(293, 56%, 33%)
HSVhsv(293, 72%, 51%)
CMYKcmyk(8.4%, 71.8%, 0%, 48.6%)
CIE-LABlab(31.71, 48.67, -35.38)
CIE-LCHlch(31.71, 60.17, 323.98°)
OKLaboklab(43.24% 0.13 -0.0987)
OKLCHoklch(43.24% 0.163 322.8)
XYZxyz(12.5036, 6.9556, 22.1523)
Luminance0.0696 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#782583 #308325
analogous
#492583 #782583 #83255F
triadic
#782583 #837825 #258378
tetradic
#782583 #834925 #308325 #255F83
square
#782583 #834925 #308325 #255F83
split-complementary
#782583 #5F8325 #258349
monochromatic
#210A24 #4C1853 #782583 #A432B3 #C054CF

Accessibility & contrast

On white

8.78
#782583 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#782583 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #782583
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##782583#FFFFFF#000000##FFFFFF
##7825831.008.782.398.78
#FFFFFF8.781.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#054486
Deuteranopia (green-blind)
#334E81
Tritanopia (blue-blind)
#7A3551
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #782583;
/* rgb */ color: rgb(120, 37, 131);
/* oklch */ color: oklch(43.2% 0.163 322.8);
Tailwind
colors: {
  custom: {
    50: '#a268a7',
    500: '#782583',
    950: '#000000',
  },
}
SCSS
$custom: #782583;
$custom-light: #a268a7;
$custom-dark: #000000;
JSON
{
  "hex": "#782583",
  "rgb": {
    "r": 120,
    "g": 37,
    "b": 131
  },
  "hsl": {
    "h": 292.979,
    "s": 55.952,
    "l": 32.941
  },
  "oklch": {
    "l": 0.43242,
    "c": 0.16319,
    "h": 322.8
  },
  "luminance": 0.06955
}

Semantic roles & 50–950 ramp

primary
#782583
secondary
#5CB351
accent
#DF495A
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#0F060F
muted
#7F7A7F

Preview Lab

Preview with #782583

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

Preview Lab → · Contrast checker → · Palette generator →

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