#842679#842679

#842679 is a dark, vivid purple. Relative luminance 0.077; OKLCH L 44.6% C 0.160 H 333.0°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#842679
RGBrgb(132, 38, 121)
HSLhsl(307, 55%, 33%)
HSVhsv(307, 71%, 52%)
CMYKcmyk(0%, 71.2%, 8.3%, 48.2%)
CIE-LABlab(33.29, 49.43, -26.47)
CIE-LCHlch(33.29, 56.08, 331.83°)
OKLaboklab(44.6% 0.1425 -0.0726)
OKLCHoklch(44.6% 0.16 333)
XYZxyz(13.6601, 7.6733, 18.8471)
Luminance0.0767 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#842679 #268431
analogous
#602684 #842679 #84264A
triadic
#842679 #798426 #267984
tetradic
#842679 #846026 #268431 #264A84
square
#842679 #846026 #268431 #264A84
split-complementary
#842679 #4A8426 #268460
monochromatic
#250B22 #54184D #842679 #B434A5 #CE56C0

Accessibility & contrast

On white

8.29
#842679 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#842679 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #842679
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##842679#FFFFFF#000000##FFFFFF
##8426791.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22467B
Deuteranopia (green-blind)
#445377
Tritanopia (blue-blind)
#8A2F4C
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #842679;
/* rgb */ color: rgb(132, 38, 121);
/* oklch */ color: oklch(44.6% 0.160 333.0);
Tailwind
colors: {
  custom: {
    50: '#ab69a0',
    500: '#842679',
    950: '#000000',
  },
}
SCSS
$custom: #842679;
$custom-light: #ab69a0;
$custom-dark: #000000;
JSON
{
  "hex": "#842679",
  "rgb": {
    "r": 132,
    "g": 38,
    "b": 121
  },
  "hsl": {
    "h": 307.021,
    "s": 55.294,
    "l": 33.333
  },
  "oklch": {
    "l": 0.44596,
    "c": 0.15993,
    "h": 333
  },
  "luminance": 0.07672
}

Semantic roles & 50–950 ramp

primary
#842679
secondary
#53B35E
accent
#DF5B49
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10070E
muted
#7F7A7E

Preview Lab

Preview with #842679

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

Preview Lab → · Contrast checker → · Palette generator →

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