#842377#842377

#842377 is a dark, vivid purple. Relative luminance 0.074; OKLCH L 44.2% C 0.162 H 334.0°. Best body text is #FFFFFF at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#842377
RGBrgb(132, 35, 119)
HSLhsl(308, 58%, 33%)
HSVhsv(308, 73%, 52%)
CMYKcmyk(0%, 73.5%, 9.8%, 48.2%)
CIE-LABlab(32.79, 50.23, -26.00)
CIE-LCHlch(32.79, 56.56, 332.63°)
OKLaboklab(44.2% 0.1456 -0.0712)
OKLCHoklch(44.2% 0.162 334)
XYZxyz(13.4466, 7.4406, 18.1772)
Luminance0.0744 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#842377 #238430
analogous
#602384 #842377 #842347
triadic
#842377 #778423 #237784
tetradic
#842377 #846023 #238430 #234784
square
#842377 #846023 #238430 #234784
split-complementary
#842377 #478423 #238460
monochromatic
#230920 #54164B #842377 #B430A3 #D151C0

Accessibility & contrast

On white

8.44
#842377 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#842377 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #842377
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##842377#FFFFFF#000000##FFFFFF
##8423771.008.442.498.44
#FFFFFF8.441.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214479
Deuteranopia (green-blind)
#445275
Tritanopia (blue-blind)
#8A2C4A
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #842377;
/* rgb */ color: rgb(132, 35, 119);
/* oklch */ color: oklch(44.2% 0.162 334.0);
Tailwind
colors: {
  custom: {
    50: '#ab689e',
    500: '#842377',
    950: '#000000',
  },
}
SCSS
$custom: #842377;
$custom-light: #ab689e;
$custom-dark: #000000;
JSON
{
  "hex": "#842377",
  "rgb": {
    "r": 132,
    "g": 35,
    "b": 119
  },
  "hsl": {
    "h": 308.041,
    "s": 58.084,
    "l": 32.745
  },
  "oklch": {
    "l": 0.44198,
    "c": 0.16211,
    "h": 334
  },
  "luminance": 0.0744
}

Semantic roles & 50–950 ramp

primary
#842377
secondary
#4EB45C
accent
#E15B46
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10070E
muted
#7F7A7E

Preview Lab

Preview with #842377

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

Preview Lab → · Contrast checker → · Palette generator →

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