#842280#842280

#842280 is a dark, vivid purple. Relative luminance 0.076; OKLCH L 44.6% C 0.170 H 329.8°. Best body text is #FFFFFF at 8.33:1 contrast (WCAG AA passes).

Color values

HEX#842280
RGBrgb(132, 34, 128)
HSLhsl(302, 59%, 33%)
HSVhsv(302, 74%, 52%)
CMYKcmyk(0%, 74.2%, 3%, 48.2%)
CIE-LABlab(33.16, 52.08, -31.08)
CIE-LCHlch(33.16, 60.65, 329.17°)
OKLaboklab(44.62% 0.1472 -0.0858)
OKLCHoklch(44.62% 0.17 329.8)
XYZxyz(13.9839, 7.6092, 21.1501)
Luminance0.0761 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#842280 #228426
analogous
#572284 #842280 #84224F
triadic
#842280 #808422 #228084
tetradic
#842280 #845722 #228426 #224F84
square
#842280 #845722 #228426 #224F84
split-complementary
#842280 #4F8422 #228457
monochromatic
#230922 #531551 #842280 #B52FAF #D24FCC

Accessibility & contrast

On white

8.33
#842280 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#842280 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #842280
8.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##842280#FFFFFF#000000##FFFFFF
##8422801.008.332.528.33
#FFFFFF8.331.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#154683
Deuteranopia (green-blind)
#3F537E
Tritanopia (blue-blind)
#892F4F
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #842280;
/* rgb */ color: rgb(132, 34, 128);
/* oklch */ color: oklch(44.6% 0.170 329.8);
Tailwind
colors: {
  custom: {
    50: '#ab68a5',
    500: '#842280',
    950: '#000000',
  },
}
SCSS
$custom: #842280;
$custom-light: #ab68a5;
$custom-dark: #000000;
JSON
{
  "hex": "#842280",
  "rgb": {
    "r": 132,
    "g": 34,
    "b": 128
  },
  "hsl": {
    "h": 302.449,
    "s": 59.036,
    "l": 32.549
  },
  "oklch": {
    "l": 0.4462,
    "c": 0.17036,
    "h": 329.8
  },
  "luminance": 0.07608
}

Semantic roles & 50–950 ramp

primary
#842280
secondary
#4DB551
accent
#E24C46
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10070F
muted
#7F7A7F

Preview Lab

Preview with #842280

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

Preview Lab → · Contrast checker → · Palette generator →

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