#321136#321136

#321136 is a very dark, moderate purple. Relative luminance 0.013; OKLCH L 24.8% C 0.078 H 323.2°. Best body text is #FFFFFF at 16.55:1 contrast (WCAG AA passes).

Color values

HEX#321136
RGBrgb(50, 17, 54)
HSLhsl(294, 52%, 14%)
HSVhsv(294, 69%, 21%)
CMYKcmyk(7.4%, 68.5%, 0%, 78.8%)
CIE-LABlab(11.59, 23.17, -16.82)
CIE-LCHlch(11.59, 28.64, 324.02°)
OKLaboklab(24.77% 0.0624 -0.0467)
OKLCHoklch(24.77% 0.078 323.2)
XYZxyz(2.1816, 1.3455, 3.6341)
Luminance0.0135 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321136 #153611
analogous
#201136 #321136 #361128
triadic
#321136 #363211 #113632
tetradic
#321136 #362011 #153611 #112836
square
#321136 #362011 #153611 #112836
split-complementary
#321136 #283611 #113620
monochromatic
#160717 #160717 #321136 #5D2065 #882E93

Accessibility & contrast

On white

16.55
#321136 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#321136 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #321136
16.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321136#FFFFFF#000000##FFFFFF
##3211361.0016.551.2716.55
#FFFFFF16.551.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B1C37
Deuteranopia (green-blind)
#162035
Tritanopia (blue-blind)
#331621
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #321136;
/* rgb */ color: rgb(50, 17, 54);
/* oklch */ color: oklch(24.8% 0.078 323.2);
Tailwind
colors: {
  custom: {
    50: '#6b516d',
    500: '#321136',
    950: '#000000',
  },
}
SCSS
$custom: #321136;
$custom-light: #6b516d;
$custom-dark: #000000;
JSON
{
  "hex": "#321136",
  "rgb": {
    "r": 50,
    "g": 17,
    "b": 54
  },
  "hsl": {
    "h": 293.514,
    "s": 52.113,
    "l": 13.922
  },
  "oklch": {
    "l": 0.24766,
    "c": 0.07792,
    "h": 323.2
  },
  "luminance": 0.01345
}

Semantic roles & 50–950 ramp

primary
#321136
secondary
#3A6F34
accent
#DC4C5C
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#070207
muted
#7A787A

Preview Lab

Preview with #321136

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

Preview Lab → · Contrast checker → · Palette generator →

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