#842374#842374

#842374 is a dark, vivid purple. Relative luminance 0.074; OKLCH L 44.0% C 0.160 H 335.4°. Best body text is #FFFFFF at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#842374
RGBrgb(132, 35, 116)
HSLhsl(310, 58%, 33%)
HSVhsv(310, 73%, 52%)
CMYKcmyk(0%, 73.5%, 12.1%, 48.2%)
CIE-LABlab(32.63, 49.75, -24.35)
CIE-LCHlch(32.63, 55.39, 333.92°)
OKLaboklab(44.04% 0.1454 -0.0664)
OKLCHoklch(44.04% 0.16 335.4)
XYZxyz(13.2693, 7.3697, 17.2433)
Luminance0.0737 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#842374 #238433
analogous
#632384 #842374 #842343
triadic
#842374 #748423 #237484
tetradic
#842374 #846323 #238433 #234384
square
#842374 #846323 #238433 #234384
split-complementary
#842374 #438423 #238463
monochromatic
#23091F #541649 #842374 #B4309F #D151BC

Accessibility & contrast

On white

8.49
#842374 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#842374 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #842374
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##842374#FFFFFF#000000##FFFFFF
##8423741.008.492.478.49
#FFFFFF8.491.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234476
Deuteranopia (green-blind)
#455272
Tritanopia (blue-blind)
#8B2A49
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #842374;
/* rgb */ color: rgb(132, 35, 116);
/* oklch */ color: oklch(44.0% 0.160 335.4);
Tailwind
colors: {
  custom: {
    50: '#ab689c',
    500: '#842374',
    950: '#000000',
  },
}
SCSS
$custom: #842374;
$custom-light: #ab689c;
$custom-dark: #000000;
JSON
{
  "hex": "#842374",
  "rgb": {
    "r": 132,
    "g": 35,
    "b": 116
  },
  "hsl": {
    "h": 309.897,
    "s": 58.084,
    "l": 32.745
  },
  "oklch": {
    "l": 0.44035,
    "c": 0.15983,
    "h": 335.4
  },
  "luminance": 0.07369
}

Semantic roles & 50–950 ramp

primary
#842374
secondary
#4EB45F
accent
#E16046
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10070E
muted
#7F7A7E

Preview Lab

Preview with #842374

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

Preview Lab → · Contrast checker → · Palette generator →

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