#842499#842499

#842499 is a mid, vivid purple. Relative luminance 0.085; OKLCH L 46.4% C 0.189 H 319.6°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#842499
RGBrgb(132, 36, 153)
HSLhsl(289, 62%, 37%)
HSVhsv(289, 76%, 60%)
CMYKcmyk(13.7%, 76.5%, 0%, 40%)
CIE-LABlab(34.94, 55.91, -43.64)
CIE-LCHlch(34.94, 70.93, 322.02°)
OKLaboklab(46.39% 0.1441 -0.1225)
OKLCHoklch(46.39% 0.189 319.6)
XYZxyz(15.8956, 8.4680, 30.9280)
Luminance0.0847 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#842499 #399924
analogous
#4A2499 #842499 #992474
triadic
#842499 #998424 #249984
tetradic
#842499 #994A24 #399924 #247499
square
#842499 #994A24 #399924 #247499
split-complementary
#842499 #749924 #24994A
monochromatic
#2F0D36 #591867 #842499 #AF30CB #C35ED9

Accessibility & contrast

On white

7.80
#842499 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#842499 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #842499
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##842499#FFFFFF#000000##FFFFFF
##8424991.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C9C
Deuteranopia (green-blind)
#2E5596
Tritanopia (blue-blind)
#843C5D
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #842499;
/* rgb */ color: rgb(132, 36, 153);
/* oklch */ color: oklch(46.4% 0.189 319.6);
Tailwind
colors: {
  custom: {
    50: '#ac6ab8',
    500: '#842499',
    950: '#000000',
  },
}
SCSS
$custom: #842499;
$custom-light: #ac6ab8;
$custom-dark: #000000;
JSON
{
  "hex": "#842499",
  "rgb": {
    "r": 132,
    "g": 36,
    "b": 153
  },
  "hsl": {
    "h": 289.231,
    "s": 61.905,
    "l": 37.059
  },
  "oklch": {
    "l": 0.46387,
    "c": 0.18914,
    "h": 319.6
  },
  "luminance": 0.08467
}

Semantic roles & 50–950 ramp

primary
#842499
secondary
#6DBE5B
accent
#E54360
background
#FAF6FB
surface
#F5ECF6
border
#CFC7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #842499

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

Preview Lab → · Contrast checker → · Palette generator →

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