#802383#802383

#802383 is a dark, vivid purple. Relative luminance 0.074; OKLCH L 44.3% C 0.170 H 326.6°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#802383
RGBrgb(128, 35, 131)
HSLhsl(298, 58%, 33%)
HSVhsv(298, 73%, 51%)
CMYKcmyk(2.3%, 73.3%, 0%, 48.6%)
CIE-LABlab(32.77, 51.31, -33.61)
CIE-LCHlch(32.77, 61.33, 326.78°)
OKLaboklab(44.27% 0.1416 -0.0933)
OKLCHoklch(44.27% 0.17 326.6)
XYZxyz(13.5996, 7.4309, 22.1863)
Luminance0.0743 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802383 #268323
analogous
#502383 #802383 #832356
triadic
#802383 #838023 #238380
tetradic
#802383 #835023 #268323 #235683
square
#802383 #835023 #268323 #235683
split-complementary
#802383 #568323 #238350
monochromatic
#220922 #511653 #802383 #AF30B3 #CC50D0

Accessibility & contrast

On white

8.45
#802383 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#802383 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802383
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802383#FFFFFF#000000##FFFFFF
##8023831.008.452.498.45
#FFFFFF8.451.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D4686
Deuteranopia (green-blind)
#3A5181
Tritanopia (blue-blind)
#843251
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #802383;
/* rgb */ color: rgb(128, 35, 131);
/* oklch */ color: oklch(44.3% 0.170 326.6);
Tailwind
colors: {
  custom: {
    50: '#a868a7',
    500: '#802383',
    950: '#000000',
  },
}
SCSS
$custom: #802383;
$custom-light: #a868a7;
$custom-dark: #000000;
JSON
{
  "hex": "#802383",
  "rgb": {
    "r": 128,
    "g": 35,
    "b": 131
  },
  "hsl": {
    "h": 298.125,
    "s": 57.831,
    "l": 32.549
  },
  "oklch": {
    "l": 0.44266,
    "c": 0.16958,
    "h": 326.6
  },
  "luminance": 0.0743
}

Semantic roles & 50–950 ramp

primary
#802383
secondary
#51B44E
accent
#E1474C
background
#FAF6FA
surface
#F4EBF4
border
#CEC6CE
text
#10070F
muted
#7F7A7F

Preview Lab

Preview with #802383

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

Preview Lab → · Contrast checker → · Palette generator →

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