#842599#842599

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

Color values

HEX#842599
RGBrgb(132, 37, 153)
HSLhsl(289, 61%, 37%)
HSVhsv(289, 76%, 60%)
CMYKcmyk(13.7%, 75.8%, 0%, 40%)
CIE-LABlab(35.06, 55.56, -43.45)
CIE-LCHlch(35.06, 70.53, 321.97°)
OKLaboklab(46.47% 0.1432 -0.1219)
OKLCHoklch(46.47% 0.188 319.6)
XYZxyz(15.9263, 8.5294, 30.9382)
Luminance0.0853 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#842599 #3A9925
analogous
#4A2599 #842599 #992574
triadic
#842599 #998425 #259984
tetradic
#842599 #994A25 #3A9925 #257499
square
#842599 #994A25 #3A9925 #257499
split-complementary
#842599 #749925 #25994A
monochromatic
#2F0D36 #591968 #842599 #AF31CA #C360D9

Accessibility & contrast

On white

7.76
#842599 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#842599 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #842599
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##842599#FFFFFF#000000##FFFFFF
##8425991.007.762.717.76
#FFFFFF7.761.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.761.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #842599;
/* rgb */ color: rgb(132, 37, 153);
/* oklch */ color: oklch(46.5% 0.188 319.6);
Tailwind
colors: {
  custom: {
    50: '#ab6ab8',
    500: '#842599',
    950: '#000000',
  },
}
SCSS
$custom: #842599;
$custom-light: #ab6ab8;
$custom-dark: #000000;
JSON
{
  "hex": "#842599",
  "rgb": {
    "r": 132,
    "g": 37,
    "b": 153
  },
  "hsl": {
    "h": 289.138,
    "s": 61.053,
    "l": 37.255
  },
  "oklch": {
    "l": 0.46474,
    "c": 0.18806,
    "h": 319.6
  },
  "luminance": 0.08529
}

Semantic roles & 50–950 ramp

primary
#842599
secondary
#6EBE5C
accent
#E44461
background
#FAF6FB
surface
#F5ECF6
border
#CFC7D0
text
#110711
muted
#807A80

Preview Lab

Preview with #842599

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

Preview Lab → · Contrast checker → · Palette generator →

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