#782297#782297

#782297 is a dark, vivid purple. Relative luminance 0.074; OKLCH L 44.3% C 0.185 H 315.1°. Best body text is #FFFFFF at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#782297
RGBrgb(120, 34, 151)
HSLhsl(284, 63%, 36%)
HSVhsv(284, 77%, 59%)
CMYKcmyk(20.5%, 77.5%, 0%, 40.8%)
CIE-LABlab(32.64, 53.79, -46.23)
CIE-LCHlch(32.64, 70.93, 319.33°)
OKLaboklab(44.33% 0.1311 -0.1304)
OKLCHoklch(44.33% 0.185 315.1)
XYZxyz(13.9028, 7.3720, 29.9628)
Luminance0.0737 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#782297 #419722
analogous
#3E2297 #782297 #97227C
triadic
#782297 #977822 #229778
tetradic
#782297 #973E22 #419722 #227C97
square
#782297 #973E22 #419722 #227C97
split-complementary
#782297 #7C9722 #22973E
monochromatic
#290C33 #501765 #782297 #A02DC9 #B85ADA

Accessibility & contrast

On white

8.49
#782297 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#782297 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #782297
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##782297#FFFFFF#000000##FFFFFF
##7822971.008.492.478.49
#FFFFFF8.491.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00489A
Deuteranopia (green-blind)
#1D4F94
Tritanopia (blue-blind)
#753C5C
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #782297;
/* rgb */ color: rgb(120, 34, 151);
/* oklch */ color: oklch(44.3% 0.185 315.1);
Tailwind
colors: {
  custom: {
    50: '#a367b6',
    500: '#782297',
    950: '#000000',
  },
}
SCSS
$custom: #782297;
$custom-light: #a367b6;
$custom-dark: #000000;
JSON
{
  "hex": "#782297",
  "rgb": {
    "r": 120,
    "g": 34,
    "b": 151
  },
  "hsl": {
    "h": 284.103,
    "s": 63.243,
    "l": 36.275
  },
  "oklch": {
    "l": 0.44333,
    "c": 0.18489,
    "h": 315.1
  },
  "luminance": 0.07371
}

Semantic roles & 50–950 ramp

primary
#782297
secondary
#72BE57
accent
#E6426D
background
#FAF6FB
surface
#F4EBF6
border
#CEC6D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #782297

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

Preview Lab → · Contrast checker → · Palette generator →

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