#320841#320841

#320841 is a very dark, moderate purple. Relative luminance 0.012; OKLCH L 24.5% C 0.104 H 315.1°. Best body text is #FFFFFF at 16.85:1 contrast (WCAG AA passes).

Color values

HEX#320841
RGBrgb(50, 8, 65)
HSLhsl(284, 78%, 14%)
HSVhsv(284, 88%, 25%)
CMYKcmyk(23.1%, 87.7%, 0%, 74.5%)
CIE-LABlab(10.80, 30.26, -25.95)
CIE-LCHlch(10.80, 39.87, 319.39°)
OKLaboklab(24.46% 0.0736 -0.0732)
OKLCHoklch(24.46% 0.104 315.1)
XYZxyz(2.3562, 1.2335, 5.1140)
Luminance0.0123 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#320841 #174108
analogous
#160841 #320841 #410834
triadic
#320841 #413208 #084132
tetradic
#320841 #411608 #174108 #083441
square
#320841 #411608 #174108 #083441
split-complementary
#320841 #344108 #084116
monochromatic
#15031B #15031B #320841 #5C0F77 #8615AE

Accessibility & contrast

On white

16.85
#320841 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #320841
16.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##320841#FFFFFF#000000##FFFFFF
##3208411.0016.851.2516.85
#FFFFFF16.851.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B43
Deuteranopia (green-blind)
#061E40
Tritanopia (blue-blind)
#311524
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #320841;
/* rgb */ color: rgb(50, 8, 65);
/* oklch */ color: oklch(24.5% 0.104 315.1);
Tailwind
colors: {
  custom: {
    50: '#6d4d76',
    500: '#320841',
    950: '#000000',
  },
}
SCSS
$custom: #320841;
$custom-light: #6d4d76;
$custom-dark: #000000;
JSON
{
  "hex": "#320841",
  "rgb": {
    "r": 50,
    "g": 8,
    "b": 65
  },
  "hsl": {
    "h": 284.211,
    "s": 78.082,
    "l": 14.314
  },
  "oklch": {
    "l": 0.24462,
    "c": 0.10385,
    "h": 315.1
  },
  "luminance": 0.01233
}

Semantic roles & 50–950 ramp

primary
#320841
secondary
#3D7F25
accent
#F53366
background
#F6F4F7
surface
#ECE7ED
border
#C7C3C8
text
#070108
muted
#7A777B

Preview Lab

Preview with #320841

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

Preview Lab → · Contrast checker → · Palette generator →

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