#321339#321339

#321339 is a dark, moderate purple. Relative luminance 0.014; OKLCH L 25.3% C 0.078 H 319.9°. Best body text is #FFFFFF at 16.31:1 contrast (WCAG AA passes).

Color values

HEX#321339
RGBrgb(50, 19, 57)
HSLhsl(289, 50%, 15%)
HSVhsv(289, 67%, 22%)
CMYKcmyk(12.3%, 66.7%, 0%, 77.6%)
CIE-LABlab(12.22, 22.72, -17.99)
CIE-LCHlch(12.22, 28.97, 321.63°)
OKLaboklab(25.29% 0.0595 -0.05)
OKLCHoklch(25.29% 0.078 319.9)
XYZxyz(2.2867, 1.4394, 4.0275)
Luminance0.0144 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321339 #1A3913
analogous
#1F1339 #321339 #39132D
triadic
#321339 #393213 #133932
tetradic
#321339 #391F13 #1A3913 #132D39
square
#321339 #391F13 #1A3913 #132D39
split-complementary
#321339 #2D3913 #13391F
monochromatic
#140817 #140817 #321339 #5A2267 #833295

Accessibility & contrast

On white

16.31
#321339 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#321339 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #321339
16.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321339#FFFFFF#000000##FFFFFF
##3213391.0016.311.2916.31
#FFFFFF16.311.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B1E3A
Deuteranopia (green-blind)
#162138
Tritanopia (blue-blind)
#321923
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #321339;
/* rgb */ color: rgb(50, 19, 57);
/* oklch */ color: oklch(25.3% 0.078 319.9);
Tailwind
colors: {
  custom: {
    50: '#6b526f',
    500: '#321339',
    950: '#000000',
  },
}
SCSS
$custom: #321339;
$custom-light: #6b526f;
$custom-dark: #000000;
JSON
{
  "hex": "#321339",
  "rgb": {
    "r": 50,
    "g": 19,
    "b": 57
  },
  "hsl": {
    "h": 288.947,
    "s": 50,
    "l": 14.902
  },
  "oklch": {
    "l": 0.25287,
    "c": 0.07774,
    "h": 319.9
  },
  "luminance": 0.01439
}

Semantic roles & 50–950 ramp

primary
#321339
secondary
#417137
accent
#DA4E68
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#070207
muted
#7A787A

Preview Lab

Preview with #321339

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

Preview Lab → · Contrast checker → · Palette generator →

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