#842283#842283

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

Color values

HEX#842283
RGBrgb(132, 34, 131)
HSLhsl(301, 59%, 33%)
HSVhsv(301, 74%, 52%)
CMYKcmyk(0%, 74.2%, 0.8%, 48.2%)
CIE-LABlab(33.33, 52.59, -32.68)
CIE-LCHlch(33.33, 61.92, 328.15°)
OKLaboklab(44.8% 0.1472 -0.0904)
OKLCHoklch(44.8% 0.173 328.4)
XYZxyz(14.1843, 7.6893, 22.2054)
Luminance0.0769 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#842283 #228423
analogous
#542284 #842283 #842252
triadic
#842283 #838422 #228384
tetradic
#842283 #845422 #228423 #225284
square
#842283 #845422 #228423 #225284
split-complementary
#842283 #528422 #228454
monochromatic
#230922 #531553 #842283 #B52FB3 #D24FD0

Accessibility & contrast

On white

8.28
#842283 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#842283 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #842283
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##842283#FFFFFF#000000##FFFFFF
##8422831.008.282.548.28
#FFFFFF8.281.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#114686
Deuteranopia (green-blind)
#3D5381
Tritanopia (blue-blind)
#883150
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #842283;
/* rgb */ color: rgb(132, 34, 131);
/* oklch */ color: oklch(44.8% 0.173 328.4);
Tailwind
colors: {
  custom: {
    50: '#ab68a7',
    500: '#842283',
    950: '#000000',
  },
}
SCSS
$custom: #842283;
$custom-light: #ab68a7;
$custom-dark: #000000;
JSON
{
  "hex": "#842283",
  "rgb": {
    "r": 132,
    "g": 34,
    "b": 131
  },
  "hsl": {
    "h": 300.612,
    "s": 59.036,
    "l": 32.549
  },
  "oklch": {
    "l": 0.44799,
    "c": 0.17278,
    "h": 328.4
  },
  "luminance": 0.07688
}

Semantic roles & 50–950 ramp

primary
#842283
secondary
#4DB54E
accent
#E24746
background
#FAF6FA
surface
#F5EBF4
border
#CFC6CE
text
#10070F
muted
#7F7A7F

Preview Lab

Preview with #842283

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

Preview Lab → · Contrast checker → · Palette generator →

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