#782276#782276

#782276 is a dark, vivid purple. Relative luminance 0.064; OKLCH L 42.1% C 0.156 H 328.9°. Best body text is #FFFFFF at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#782276
RGBrgb(120, 34, 118)
HSLhsl(301, 56%, 30%)
HSVhsv(301, 72%, 47%)
CMYKcmyk(0%, 71.7%, 1.7%, 52.9%)
CIE-LABlab(30.51, 47.45, -29.11)
CIE-LCHlch(30.51, 55.66, 328.48°)
OKLaboklab(42.14% 0.1333 -0.0804)
OKLCHoklch(42.14% 0.156 328.9)
XYZxyz(11.5877, 6.4460, 17.7699)
Luminance0.0644 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#782276 #227824
analogous
#4F2278 #782276 #78224B
triadic
#782276 #767822 #227678
tetradic
#782276 #784F22 #227824 #224B78
square
#782276 #784F22 #227824 #224B78
split-complementary
#782276 #4B7822 #22784F
monochromatic
#190718 #481447 #782276 #A830A5 #CB49C8

Accessibility & contrast

On white

9.17
#782276 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#782276 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #782276
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##782276#FFFFFF#000000##FFFFFF
##7822761.009.172.299.17
#FFFFFF9.171.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#174078
Deuteranopia (green-blind)
#394C74
Tritanopia (blue-blind)
#7C2E49
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #782276;
/* rgb */ color: rgb(120, 34, 118);
/* oklch */ color: oklch(42.1% 0.156 328.9);
Tailwind
colors: {
  custom: {
    50: '#a2669e',
    500: '#782276',
    950: '#000000',
  },
}
SCSS
$custom: #782276;
$custom-light: #a2669e;
$custom-dark: #000000;
JSON
{
  "hex": "#782276",
  "rgb": {
    "r": 120,
    "g": 34,
    "b": 118
  },
  "hsl": {
    "h": 301.395,
    "s": 55.844,
    "l": 30.196
  },
  "oklch": {
    "l": 0.42135,
    "c": 0.15564,
    "h": 328.9
  },
  "luminance": 0.06445
}

Semantic roles & 50–950 ramp

primary
#782276
secondary
#4BAB4D
accent
#DF4C49
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#0F060E
muted
#7F7A7E

Preview Lab

Preview with #782276

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

Preview Lab → · Contrast checker → · Palette generator →

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