#822374#822374

#822374 is a dark, vivid purple. Relative luminance 0.072; OKLCH L 43.7% C 0.159 H 334.6°. Best body text is #FFFFFF at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#822374
RGBrgb(130, 35, 116)
HSLhsl(309, 58%, 32%)
HSVhsv(309, 73%, 51%)
CMYKcmyk(0%, 73.1%, 10.8%, 49%)
CIE-LABlab(32.28, 49.24, -24.93)
CIE-LCHlch(32.28, 55.20, 333.15°)
OKLaboklab(43.71% 0.1432 -0.0681)
OKLCHoklch(43.71% 0.159 334.6)
XYZxyz(12.9595, 7.2100, 17.2287)
Luminance0.0721 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#822374 #238231
analogous
#612382 #822374 #822345
triadic
#822374 #748223 #237482
tetradic
#822374 #826123 #238231 #234582
square
#822374 #826123 #238231 #234582
split-complementary
#822374 #458223 #238261
monochromatic
#22091E #521649 #822374 #B2309F #D050BD

Accessibility & contrast

On white

8.60
#822374 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#822374 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #822374
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##822374#FFFFFF#000000##FFFFFF
##8223741.008.602.448.60
#FFFFFF8.601.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224376
Deuteranopia (green-blind)
#435172
Tritanopia (blue-blind)
#882B49
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #822374;
/* rgb */ color: rgb(130, 35, 116);
/* oklch */ color: oklch(43.7% 0.159 334.6);
Tailwind
colors: {
  custom: {
    50: '#a9679c',
    500: '#822374',
    950: '#000000',
  },
}
SCSS
$custom: #822374;
$custom-light: #a9679c;
$custom-dark: #000000;
JSON
{
  "hex": "#822374",
  "rgb": {
    "r": 130,
    "g": 35,
    "b": 116
  },
  "hsl": {
    "h": 308.842,
    "s": 57.576,
    "l": 32.353
  },
  "oklch": {
    "l": 0.43712,
    "c": 0.1586,
    "h": 334.6
  },
  "luminance": 0.07209
}

Semantic roles & 50–950 ramp

primary
#822374
secondary
#4DB35C
accent
#E15E47
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10070E
muted
#7F7A7E

Preview Lab

Preview with #822374

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

Preview Lab → · Contrast checker → · Palette generator →

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