#321B33#321B33

#321B33 is a dark, muted purple. Relative luminance 0.017; OKLCH L 26.4% C 0.054 H 325.5°. Best body text is #FFFFFF at 15.67:1 contrast (WCAG AA passes).

Color values

HEX#321B33
RGBrgb(50, 27, 51)
HSLhsl(298, 31%, 15%)
HSVhsv(298, 47%, 20%)
CMYKcmyk(2%, 47.1%, 0%, 80%)
CIE-LABlab(13.83, 16.13, -11.16)
CIE-LCHlch(13.83, 19.61, 325.32°)
OKLaboklab(26.37% 0.0443 -0.0305)
OKLCHoklch(26.37% 0.054 325.5)
XYZxyz(2.3048, 1.7011, 3.3383)
Luminance0.0170 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321B33 #1C331B
analogous
#261B33 #321B33 #331B28
triadic
#321B33 #33321B #1B3332
tetradic
#321B33 #33261B #1C331B #1B2833
square
#321B33 #33261B #1C331B #1B2833
split-complementary
#321B33 #28331B #1B3326
monochromatic
#140B14 #140B14 #321B33 #59305B #804583

Accessibility & contrast

On white

15.67
#321B33 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #321B33
15.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321B33#FFFFFF#000000##FFFFFF
##321B331.0015.671.3415.67
#FFFFFF15.671.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#192134
Deuteranopia (green-blind)
#1F2432
Tritanopia (blue-blind)
#331D24
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #321b33;
/* rgb */ color: rgb(50, 27, 51);
/* oklch */ color: oklch(26.4% 0.054 325.5);
Tailwind
colors: {
  custom: {
    50: '#6a586a',
    500: '#321b33',
    950: '#000000',
  },
}
SCSS
$custom: #321b33;
$custom-light: #6a586a;
$custom-dark: #000000;
JSON
{
  "hex": "#321b33",
  "rgb": {
    "r": 50,
    "g": 27,
    "b": 51
  },
  "hsl": {
    "h": 297.5,
    "s": 30.769,
    "l": 15.294
  },
  "oklch": {
    "l": 0.26371,
    "c": 0.0538,
    "h": 325.5
  },
  "luminance": 0.01701
}

Semantic roles & 50–950 ramp

primary
#321B33
secondary
#446743
accent
#C76165
background
#F6F5F6
surface
#EBE9EB
border
#C6C5C6
text
#060306
muted
#7A787A

Preview Lab

Preview with #321B33

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

Preview Lab → · Contrast checker → · Palette generator →

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