#321C33#321C33

#321C33 is a dark, muted purple. Relative luminance 0.017; OKLCH L 26.6% C 0.052 H 325.4°. Best body text is #FFFFFF at 15.56:1 contrast (WCAG AA passes).

Color values

HEX#321C33
RGBrgb(50, 28, 51)
HSLhsl(297, 29%, 15%)
HSVhsv(297, 45%, 20%)
CMYKcmyk(2%, 45.1%, 0%, 80%)
CIE-LABlab(14.10, 15.45, -10.74)
CIE-LCHlch(14.10, 18.82, 325.19°)
OKLaboklab(26.57% 0.0425 -0.0293)
OKLCHoklch(26.57% 0.052 325.4)
XYZxyz(2.3281, 1.7477, 3.3460)
Luminance0.0175 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321C33 #1D331C
analogous
#261C33 #321C33 #331C28
triadic
#321C33 #33321C #1C3332
tetradic
#321C33 #33261C #1D331C #1C2833
square
#321C33 #33261C #1D331C #1C2833
split-complementary
#321C33 #28331C #1C3326
monochromatic
#130B14 #130B14 #321C33 #59325B #7F4782

Accessibility & contrast

On white

15.56
#321C33 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#321C33 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #321C33
15.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321C33#FFFFFF#000000##FFFFFF
##321C331.0015.561.3515.56
#FFFFFF15.561.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A2234
Deuteranopia (green-blind)
#202532
Tritanopia (blue-blind)
#331E25
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #321c33;
/* rgb */ color: rgb(50, 28, 51);
/* oklch */ color: oklch(26.6% 0.052 325.4);
Tailwind
colors: {
  custom: {
    50: '#6a586a',
    500: '#321c33',
    950: '#000000',
  },
}
SCSS
$custom: #321c33;
$custom-light: #6a586a;
$custom-dark: #000000;
JSON
{
  "hex": "#321c33",
  "rgb": {
    "r": 50,
    "g": 28,
    "b": 51
  },
  "hsl": {
    "h": 297.391,
    "s": 29.114,
    "l": 15.49
  },
  "oklch": {
    "l": 0.26574,
    "c": 0.05159,
    "h": 325.4
  },
  "luminance": 0.01748
}

Semantic roles & 50–950 ramp

primary
#321C33
secondary
#466744
accent
#C56267
background
#F6F5F6
surface
#EBE9EB
border
#C6C5C6
text
#060306
muted
#7A787A

Preview Lab

Preview with #321C33

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

Preview Lab → · Contrast checker → · Palette generator →

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