#842999#842999

#842999 is a mid, vivid purple. Relative luminance 0.088; OKLCH L 46.8% C 0.184 H 319.4°. Best body text is #FFFFFF at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#842999
RGBrgb(132, 41, 153)
HSLhsl(289, 58%, 38%)
HSVhsv(289, 73%, 60%)
CMYKcmyk(13.7%, 73.2%, 0%, 40%)
CIE-LABlab(35.58, 54.08, -42.61)
CIE-LCHlch(35.58, 68.85, 321.76°)
OKLaboklab(46.84% 0.1393 -0.1195)
OKLCHoklch(46.84% 0.184 319.4)
XYZxyz(16.0577, 8.7921, 30.9820)
Luminance0.0879 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#842999 #3E9929
analogous
#4C2999 #842999 #992976
triadic
#842999 #998429 #299984
tetradic
#842999 #994C29 #3E9929 #297699
square
#842999 #994C29 #3E9929 #297699
split-complementary
#842999 #769929 #29994C
monochromatic
#310F38 #5A1C69 #842999 #AE36C9 #C166D6

Accessibility & contrast

On white

7.61
#842999 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.76
#842999 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #842999
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##842999#FFFFFF#000000##FFFFFF
##8429991.007.612.767.61
#FFFFFF7.611.0021.001.00
#0000002.7621.001.0021.00
##FFFFFF7.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E9C
Deuteranopia (green-blind)
#315796
Tritanopia (blue-blind)
#843F5F
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #842999;
/* rgb */ color: rgb(132, 41, 153);
/* oklch */ color: oklch(46.8% 0.184 319.4);
Tailwind
colors: {
  custom: {
    50: '#ab6cb8',
    500: '#842999',
    950: '#000000',
  },
}
SCSS
$custom: #842999;
$custom-light: #ab6cb8;
$custom-dark: #000000;
JSON
{
  "hex": "#842999",
  "rgb": {
    "r": 132,
    "g": 41,
    "b": 153
  },
  "hsl": {
    "h": 288.75,
    "s": 57.732,
    "l": 38.039
  },
  "oklch": {
    "l": 0.46843,
    "c": 0.18353,
    "h": 319.4
  },
  "luminance": 0.08791
}

Semantic roles & 50–950 ramp

primary
#842999
secondary
#73BC62
accent
#E14764
background
#FAF6FB
surface
#F5ECF6
border
#CFC7D0
text
#100711
muted
#7F7A80

Preview Lab

Preview with #842999

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

Preview Lab → · Contrast checker → · Palette generator →

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