#321139#321139

#321139 is a very dark, moderate purple. Relative luminance 0.014; OKLCH L 25.0% C 0.081 H 320.3°. Best body text is #FFFFFF at 16.47:1 contrast (WCAG AA passes).

Color values

HEX#321139
RGBrgb(50, 17, 57)
HSLhsl(290, 54%, 15%)
HSVhsv(290, 70%, 22%)
CMYKcmyk(12.3%, 70.2%, 0%, 77.6%)
CIE-LABlab(11.79, 23.89, -18.67)
CIE-LCHlch(11.79, 30.32, 321.99°)
OKLaboklab(24.97% 0.0626 -0.052)
OKLCHoklch(24.97% 0.081 320.3)
XYZxyz(2.2543, 1.3745, 4.0167)
Luminance0.0137 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321139 #183911
analogous
#1E1139 #321139 #39112C
triadic
#321139 #393211 #113932
tetradic
#321139 #391E11 #183911 #112C39
square
#321139 #391E11 #183911 #112C39
split-complementary
#321139 #2C3911 #11391E
monochromatic
#150718 #150718 #321139 #5B1F68 #852D97

Accessibility & contrast

On white

16.47
#321139 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #321139
16.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321139#FFFFFF#000000##FFFFFF
##3211391.0016.471.2716.47
#FFFFFF16.471.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#081D3A
Deuteranopia (green-blind)
#142038
Tritanopia (blue-blind)
#321723
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #321139;
/* rgb */ color: rgb(50, 17, 57);
/* oklch */ color: oklch(25.0% 0.081 320.3);
Tailwind
colors: {
  custom: {
    50: '#6b516f',
    500: '#321139',
    950: '#000000',
  },
}
SCSS
$custom: #321139;
$custom-light: #6b516f;
$custom-dark: #000000;
JSON
{
  "hex": "#321139",
  "rgb": {
    "r": 50,
    "g": 17,
    "b": 57
  },
  "hsl": {
    "h": 289.5,
    "s": 54.054,
    "l": 14.51
  },
  "oklch": {
    "l": 0.24974,
    "c": 0.0814,
    "h": 320.3
  },
  "luminance": 0.01374
}

Semantic roles & 50–950 ramp

primary
#321139
secondary
#3F7234
accent
#DD4A64
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#070207
muted
#7A787A

Preview Lab

Preview with #321139

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

Preview Lab → · Contrast checker → · Palette generator →

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