#782295#782295

#782295 is a dark, vivid purple. Relative luminance 0.073; OKLCH L 44.2% C 0.183 H 315.8°. Best body text is #FFFFFF at 8.53:1 contrast (WCAG AA passes).

Color values

HEX#782295
RGBrgb(120, 34, 149)
HSLhsl(285, 63%, 36%)
HSVhsv(285, 77%, 58%)
CMYKcmyk(19.5%, 77.2%, 0%, 41.6%)
CIE-LABlab(32.50, 53.38, -45.23)
CIE-LCHlch(32.50, 69.97, 319.73°)
OKLaboklab(44.19% 0.1314 -0.1275)
OKLCHoklch(44.19% 0.183 315.8)
XYZxyz(13.7417, 7.3076, 29.1146)
Luminance0.0731 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#782295 #3F9522
analogous
#3F2295 #782295 #952278
triadic
#782295 #957822 #229578
tetradic
#782295 #953F22 #3F9522 #227895
square
#782295 #953F22 #3F9522 #227895
split-complementary
#782295 #789522 #22953F
monochromatic
#280B31 #501763 #782295 #A02DC7 #B958D9

Accessibility & contrast

On white

8.53
#782295 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#782295 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #782295
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##782295#FFFFFF#000000##FFFFFF
##7822951.008.532.468.53
#FFFFFF8.531.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004798
Deuteranopia (green-blind)
#204F93
Tritanopia (blue-blind)
#763C5A
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #782295;
/* rgb */ color: rgb(120, 34, 149);
/* oklch */ color: oklch(44.2% 0.183 315.8);
Tailwind
colors: {
  custom: {
    50: '#a367b5',
    500: '#782295',
    950: '#000000',
  },
}
SCSS
$custom: #782295;
$custom-light: #a367b5;
$custom-dark: #000000;
JSON
{
  "hex": "#782295",
  "rgb": {
    "r": 120,
    "g": 34,
    "b": 149
  },
  "hsl": {
    "h": 284.87,
    "s": 62.842,
    "l": 35.882
  },
  "oklch": {
    "l": 0.44187,
    "c": 0.18306,
    "h": 315.8
  },
  "luminance": 0.07307
}

Semantic roles & 50–950 ramp

primary
#782295
secondary
#70BD56
accent
#E6426B
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100611
muted
#7F7A80

Preview Lab

Preview with #782295

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

Preview Lab → · Contrast checker → · Palette generator →

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