#320942#320942

#320942 is a very dark, moderate purple. Relative luminance 0.013; OKLCH L 24.7% C 0.104 H 314.3°. Best body text is #FFFFFF at 16.75:1 contrast (WCAG AA passes).

Color values

HEX#320942
RGBrgb(50, 9, 66)
HSLhsl(283, 76%, 15%)
HSVhsv(283, 86%, 26%)
CMYKcmyk(24.2%, 86.4%, 0%, 74.1%)
CIE-LABlab(11.04, 30.05, -26.27)
CIE-LCHlch(11.04, 39.91, 318.84°)
OKLaboklab(24.66% 0.0723 -0.0742)
OKLCHoklch(24.66% 0.104 314.3)
XYZxyz(2.3963, 1.2669, 5.2715)
Luminance0.0127 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#320942 #194209
analogous
#160942 #320942 #420936
triadic
#320942 #423209 #094232
tetradic
#320942 #421609 #194209 #093642
square
#320942 #421609 #194209 #093642
split-complementary
#320942 #364209 #094216
monochromatic
#14041B #14041B #320942 #5B1078 #8418AE

Accessibility & contrast

On white

16.75
#320942 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#320942 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #320942
16.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##320942#FFFFFF#000000##FFFFFF
##3209421.0016.751.2516.75
#FFFFFF16.751.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B44
Deuteranopia (green-blind)
#051F41
Tritanopia (blue-blind)
#301625
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #320942;
/* rgb */ color: rgb(50, 9, 66);
/* oklch */ color: oklch(24.7% 0.104 314.3);
Tailwind
colors: {
  custom: {
    50: '#6d4e77',
    500: '#320942',
    950: '#000000',
  },
}
SCSS
$custom: #320942;
$custom-light: #6d4e77;
$custom-dark: #000000;
JSON
{
  "hex": "#320942",
  "rgb": {
    "r": 50,
    "g": 9,
    "b": 66
  },
  "hsl": {
    "h": 283.158,
    "s": 76,
    "l": 14.706
  },
  "oklch": {
    "l": 0.24657,
    "c": 0.10359,
    "h": 314.3
  },
  "luminance": 0.01267
}

Semantic roles & 50–950 ramp

primary
#320942
secondary
#408027
accent
#F3356A
background
#F6F4F7
surface
#ECE7ED
border
#C7C3C8
text
#070208
muted
#7A787B

Preview Lab

Preview with #320942

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

Preview Lab → · Contrast checker → · Palette generator →

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