#842276#842276

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

Color values

HEX#842276
RGBrgb(132, 34, 118)
HSLhsl(309, 59%, 33%)
HSVhsv(309, 74%, 52%)
CMYKcmyk(0%, 74.2%, 10.6%, 48.2%)
CIE-LABlab(32.61, 50.43, -25.66)
CIE-LCHlch(32.61, 56.58, 333.04°)
OKLaboklab(44.05% 0.1466 -0.0702)
OKLCHoklch(44.05% 0.163 334.4)
XYZxyz(13.3579, 7.3587, 17.8529)
Luminance0.0736 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#842276 #228430
analogous
#612284 #842276 #842245
triadic
#842276 #768422 #227684
tetradic
#842276 #846122 #228430 #224584
square
#842276 #846122 #228430 #224584
split-complementary
#842276 #458422 #228461
monochromatic
#23091F #53154A #842276 #B52FA2 #D24FBF

Accessibility & contrast

On white

8.50
#842276 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #842276
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##842276#FFFFFF#000000##FFFFFF
##8422761.008.502.478.50
#FFFFFF8.501.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.501.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #842276;
/* rgb */ color: rgb(132, 34, 118);
/* oklch */ color: oklch(44.1% 0.163 334.4);
Tailwind
colors: {
  custom: {
    50: '#ab679e',
    500: '#842276',
    950: '#000000',
  },
}
SCSS
$custom: #842276;
$custom-light: #ab679e;
$custom-dark: #000000;
JSON
{
  "hex": "#842276",
  "rgb": {
    "r": 132,
    "g": 34,
    "b": 118
  },
  "hsl": {
    "h": 308.571,
    "s": 59.036,
    "l": 32.549
  },
  "oklch": {
    "l": 0.44051,
    "c": 0.16255,
    "h": 334.4
  },
  "luminance": 0.07358
}

Semantic roles & 50–950 ramp

primary
#842276
secondary
#4DB55C
accent
#E25C46
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10070E
muted
#7F7A7E

Preview Lab

Preview with #842276

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

Preview Lab → · Contrast checker → · Palette generator →

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