#842383#842383

#842383 is a dark, vivid purple. Relative luminance 0.077; OKLCH L 44.9% C 0.172 H 328.4°. Best body text is #FFFFFF at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#842383
RGBrgb(132, 35, 131)
HSLhsl(301, 58%, 33%)
HSVhsv(301, 73%, 52%)
CMYKcmyk(0%, 73.5%, 0.8%, 48.2%)
CIE-LABlab(33.45, 52.24, -32.48)
CIE-LCHlch(33.45, 61.52, 328.13°)
OKLaboklab(44.89% 0.1462 -0.0899)
OKLCHoklch(44.89% 0.172 328.4)
XYZxyz(14.2133, 7.7473, 22.2151)
Luminance0.0775 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#842383 #238424
analogous
#552384 #842383 #842352
triadic
#842383 #838423 #238384
tetradic
#842383 #845523 #238424 #235284
square
#842383 #845523 #238424 #235284
split-complementary
#842383 #528423 #238455
monochromatic
#230923 #541653 #842383 #B430B3 #D151CF

Accessibility & contrast

On white

8.24
#842383 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#842383 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #842383
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##842383#FFFFFF#000000##FFFFFF
##8423831.008.242.558.24
#FFFFFF8.241.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#134786
Deuteranopia (green-blind)
#3E5381
Tritanopia (blue-blind)
#883151
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #842383;
/* rgb */ color: rgb(132, 35, 131);
/* oklch */ color: oklch(44.9% 0.172 328.4);
Tailwind
colors: {
  custom: {
    50: '#ab68a7',
    500: '#842383',
    950: '#000000',
  },
}
SCSS
$custom: #842383;
$custom-light: #ab68a7;
$custom-dark: #000000;
JSON
{
  "hex": "#842383",
  "rgb": {
    "r": 132,
    "g": 35,
    "b": 131
  },
  "hsl": {
    "h": 300.619,
    "s": 58.084,
    "l": 32.745
  },
  "oklch": {
    "l": 0.44888,
    "c": 0.17163,
    "h": 328.4
  },
  "luminance": 0.07746
}

Semantic roles & 50–950 ramp

primary
#842383
secondary
#4EB44F
accent
#E14846
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10070F
muted
#7F7A7F

Preview Lab

Preview with #842383

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

Preview Lab → · Contrast checker → · Palette generator →

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