#842380#842380

#842380 is a dark, vivid purple. Relative luminance 0.077; OKLCH L 44.7% C 0.169 H 329.7°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#842380
RGBrgb(132, 35, 128)
HSLhsl(302, 58%, 33%)
HSVhsv(302, 73%, 52%)
CMYKcmyk(0%, 73.5%, 3%, 48.2%)
CIE-LABlab(33.28, 51.73, -30.88)
CIE-LCHlch(33.28, 60.24, 329.16°)
OKLaboklab(44.71% 0.1462 -0.0853)
OKLCHoklch(44.71% 0.169 329.7)
XYZxyz(14.0129, 7.6672, 21.1598)
Luminance0.0767 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#842380 #238427
analogous
#572384 #842380 #842350
triadic
#842380 #808423 #238084
tetradic
#842380 #845723 #238427 #235084
square
#842380 #845723 #238427 #235084
split-complementary
#842380 #508423 #238457
monochromatic
#230922 #541651 #842380 #B430AF #D151CB

Accessibility & contrast

On white

8.29
#842380 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#842380 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #842380
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##842380#FFFFFF#000000##FFFFFF
##8423801.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#174683
Deuteranopia (green-blind)
#3F537E
Tritanopia (blue-blind)
#89304F
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #842380;
/* rgb */ color: rgb(132, 35, 128);
/* oklch */ color: oklch(44.7% 0.169 329.7);
Tailwind
colors: {
  custom: {
    50: '#ab68a5',
    500: '#842380',
    950: '#000000',
  },
}
SCSS
$custom: #842380;
$custom-light: #ab68a5;
$custom-dark: #000000;
JSON
{
  "hex": "#842380",
  "rgb": {
    "r": 132,
    "g": 35,
    "b": 128
  },
  "hsl": {
    "h": 302.474,
    "s": 58.084,
    "l": 32.745
  },
  "oklch": {
    "l": 0.4471,
    "c": 0.1692,
    "h": 329.7
  },
  "luminance": 0.07666
}

Semantic roles & 50–950 ramp

primary
#842380
secondary
#4EB453
accent
#E14D46
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10070F
muted
#7F7A7F

Preview Lab

Preview with #842380

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

Preview Lab → · Contrast checker → · Palette generator →

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