#822378#822378

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

Color values

HEX#822378
RGBrgb(130, 35, 120)
HSLhsl(306, 58%, 32%)
HSVhsv(306, 73%, 51%)
CMYKcmyk(0%, 73.1%, 7.7%, 49%)
CIE-LABlab(32.49, 49.90, -27.13)
CIE-LCHlch(32.49, 56.79, 331.47°)
OKLaboklab(43.93% 0.1436 -0.0745)
OKLCHoklch(43.93% 0.162 332.6)
XYZxyz(13.1972, 7.3050, 18.4806)
Luminance0.0730 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822378 #23822D
analogous
#5D2382 #822378 #822348
triadic
#822378 #788223 #237882
tetradic
#822378 #825D23 #23822D #234882
square
#822378 #825D23 #23822D #234882
split-complementary
#822378 #488223 #23825D
monochromatic
#22091F #52164B #822378 #B230A5 #D050C2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##822378#FFFFFF#000000##FFFFFF
##8223781.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)
#1E447A
Deuteranopia (green-blind)
#415176
Tritanopia (blue-blind)
#882D4B
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #822378;
/* rgb */ color: rgb(130, 35, 120);
/* oklch */ color: oklch(43.9% 0.162 332.6);
Tailwind
colors: {
  custom: {
    50: '#a9689f',
    500: '#822378',
    950: '#000000',
  },
}
SCSS
$custom: #822378;
$custom-light: #a9689f;
$custom-dark: #000000;
JSON
{
  "hex": "#822378",
  "rgb": {
    "r": 130,
    "g": 35,
    "b": 120
  },
  "hsl": {
    "h": 306.316,
    "s": 57.576,
    "l": 32.353
  },
  "oklch": {
    "l": 0.43933,
    "c": 0.16171,
    "h": 332.6
  },
  "luminance": 0.07304
}

Semantic roles & 50–950 ramp

primary
#822378
secondary
#4DB358
accent
#E15747
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10070E
muted
#7F7A7E

Preview Lab

Preview with #822378

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

Preview Lab → · Contrast checker → · Palette generator →

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