#321A36#321A36

#321A36 is a dark, muted purple. Relative luminance 0.017; OKLCH L 26.3% C 0.060 H 321.7°. Best body text is #FFFFFF at 15.71:1 contrast (WCAG AA passes).

Color values

HEX#321A36
RGBrgb(50, 26, 54)
HSLhsl(291, 35%, 16%)
HSVhsv(291, 52%, 21%)
CMYKcmyk(7.4%, 51.9%, 0%, 78.8%)
CIE-LABlab(13.73, 17.53, -13.47)
CIE-LCHlch(13.73, 22.11, 322.47°)
OKLaboklab(26.35% 0.047 -0.0371)
OKLCHoklch(26.35% 0.06 321.7)
XYZxyz(2.3506, 1.6833, 3.6904)
Luminance0.0168 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321A36 #1E361A
analogous
#241A36 #321A36 #361A2C
triadic
#321A36 #36321A #1A3632
tetradic
#321A36 #36241A #1E361A #1A2C36
square
#321A36 #36241A #1E361A #1A2C36
split-complementary
#321A36 #2C361A #1A3624
monochromatic
#130A15 #130A15 #321A36 #582E5F #7E4289

Accessibility & contrast

On white

15.71
#321A36 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#321A36 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #321A36
15.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321A36#FFFFFF#000000##FFFFFF
##321A361.0015.711.3415.71
#FFFFFF15.711.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#162137
Deuteranopia (green-blind)
#1D2435
Tritanopia (blue-blind)
#331D25
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #321a36;
/* rgb */ color: rgb(50, 26, 54);
/* oklch */ color: oklch(26.3% 0.060 321.7);
Tailwind
colors: {
  custom: {
    50: '#6b576d',
    500: '#321a36',
    950: '#000000',
  },
}
SCSS
$custom: #321a36;
$custom-light: #6b576d;
$custom-dark: #000000;
JSON
{
  "hex": "#321a36",
  "rgb": {
    "r": 50,
    "g": 26,
    "b": 54
  },
  "hsl": {
    "h": 291.429,
    "s": 35,
    "l": 15.686
  },
  "oklch": {
    "l": 0.26346,
    "c": 0.05981,
    "h": 321.7
  },
  "luminance": 0.01683
}

Semantic roles & 50–950 ramp

primary
#321A36
secondary
#476B41
accent
#CB5D6D
background
#F6F5F6
surface
#EBE9EB
border
#C6C5C6
text
#060307
muted
#7A787A

Preview Lab

Preview with #321A36

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

Preview Lab → · Contrast checker → · Palette generator →

#321A36 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva