#842376#842376

#842376 is a dark, vivid purple. Relative luminance 0.074; OKLCH L 44.1% C 0.161 H 334.4°. Best body text is #FFFFFF at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#842376
RGBrgb(132, 35, 118)
HSLhsl(309, 58%, 33%)
HSVhsv(309, 73%, 52%)
CMYKcmyk(0%, 73.5%, 10.6%, 48.2%)
CIE-LABlab(32.74, 50.07, -25.46)
CIE-LCHlch(32.74, 56.17, 333.05°)
OKLaboklab(44.14% 0.1456 -0.0696)
OKLCHoklch(44.14% 0.161 334.4)
XYZxyz(13.3869, 7.4168, 17.8626)
Luminance0.0742 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#842376 #238431
analogous
#622384 #842376 #842345
triadic
#842376 #768423 #237684
tetradic
#842376 #846223 #238431 #234584
square
#842376 #846223 #238431 #234584
split-complementary
#842376 #458423 #238462
monochromatic
#230920 #54164B #842376 #B430A1 #D151BE

Accessibility & contrast

On white

8.46
#842376 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#842376 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #842376
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##842376#FFFFFF#000000##FFFFFF
##8423761.008.462.488.46
#FFFFFF8.461.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224478
Deuteranopia (green-blind)
#445274
Tritanopia (blue-blind)
#8A2B4A
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #842376;
/* rgb */ color: rgb(132, 35, 118);
/* oklch */ color: oklch(44.1% 0.161 334.4);
Tailwind
colors: {
  custom: {
    50: '#ab689e',
    500: '#842376',
    950: '#000000',
  },
}
SCSS
$custom: #842376;
$custom-light: #ab689e;
$custom-dark: #000000;
JSON
{
  "hex": "#842376",
  "rgb": {
    "r": 132,
    "g": 35,
    "b": 118
  },
  "hsl": {
    "h": 308.66,
    "s": 58.084,
    "l": 32.745
  },
  "oklch": {
    "l": 0.44143,
    "c": 0.16135,
    "h": 334.4
  },
  "luminance": 0.07416
}

Semantic roles & 50–950 ramp

primary
#842376
secondary
#4EB45D
accent
#E15D46
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10070E
muted
#7F7A7E

Preview Lab

Preview with #842376

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

Preview Lab → · Contrast checker → · Palette generator →

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