#321334#321334

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

Color values

HEX#321334
RGBrgb(50, 19, 52)
HSLhsl(296, 46%, 14%)
HSVhsv(296, 63%, 20%)
CMYKcmyk(3.8%, 63.5%, 0%, 79.6%)
CIE-LABlab(11.90, 21.53, -14.89)
CIE-LCHlch(11.90, 26.17, 325.33°)
OKLaboklab(24.96% 0.0589 -0.0411)
OKLCHoklch(24.96% 0.072 325.1)
XYZxyz(2.1680, 1.3919, 3.4026)
Luminance0.0139 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321334 #153413
analogous
#221334 #321334 #341326
triadic
#321334 #343213 #133432
tetradic
#321334 #342213 #153413 #132634
square
#321334 #342213 #153413 #132634
split-complementary
#321334 #263413 #133422
monochromatic
#160816 #160816 #321334 #5D2361 #88348E

Accessibility & contrast

On white

16.43
#321334 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#321334 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #321334
16.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321334#FFFFFF#000000##FFFFFF
##3213341.0016.431.2816.43
#FFFFFF16.431.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F1D35
Deuteranopia (green-blind)
#192133
Tritanopia (blue-blind)
#331721
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #321334;
/* rgb */ color: rgb(50, 19, 52);
/* oklch */ color: oklch(25.0% 0.072 325.1);
Tailwind
colors: {
  custom: {
    50: '#6b526b',
    500: '#321334',
    950: '#000000',
  },
}
SCSS
$custom: #321334;
$custom-light: #6b526b;
$custom-dark: #000000;
JSON
{
  "hex": "#321334",
  "rgb": {
    "r": 50,
    "g": 19,
    "b": 52
  },
  "hsl": {
    "h": 296.364,
    "s": 46.479,
    "l": 13.922
  },
  "oklch": {
    "l": 0.24956,
    "c": 0.0718,
    "h": 325.1
  },
  "luminance": 0.01392
}

Semantic roles & 50–950 ramp

primary
#321334
secondary
#3A6C37
accent
#D6525A
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#070206
muted
#7A787A

Preview Lab

Preview with #321334

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

Preview Lab → · Contrast checker → · Palette generator →

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