#321C30#321C30

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

Color values

HEX#321C30
RGBrgb(50, 28, 48)
HSLhsl(305, 28%, 15%)
HSVhsv(305, 44%, 20%)
CMYKcmyk(0%, 44%, 4%, 80.4%)
CIE-LABlab(13.96, 14.75, -8.82)
CIE-LCHlch(13.96, 17.18, 329.12°)
OKLaboklab(26.41% 0.0415 -0.0239)
OKLCHoklch(26.41% 0.048 330.1)
XYZxyz(2.2641, 1.7221, 3.0089)
Luminance0.0172 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321C30 #1C321E
analogous
#291C32 #321C30 #321C25
triadic
#321C30 #30321C #1C3032
tetradic
#321C30 #32291C #1C321E #1C2532
square
#321C30 #32291C #1C321E #1C2532
split-complementary
#321C30 #25321C #1C3229
monochromatic
#140B13 #140B13 #321C30 #593256 #80487B

Accessibility & contrast

On white

15.62
#321C30 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #321C30
15.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321C30#FFFFFF#000000##FFFFFF
##321C301.0015.621.3415.62
#FFFFFF15.621.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B2231
Deuteranopia (green-blind)
#21252F
Tritanopia (blue-blind)
#341E23
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #321c30;
/* rgb */ color: rgb(50, 28, 48);
/* oklch */ color: oklch(26.4% 0.048 330.1);
Tailwind
colors: {
  custom: {
    50: '#6a5868',
    500: '#321c30',
    950: '#000000',
  },
}
SCSS
$custom: #321c30;
$custom-light: #6a5868;
$custom-dark: #000000;
JSON
{
  "hex": "#321c30",
  "rgb": {
    "r": 50,
    "g": 28,
    "b": 48
  },
  "hsl": {
    "h": 305.455,
    "s": 28.205,
    "l": 15.294
  },
  "oklch": {
    "l": 0.26414,
    "c": 0.04788,
    "h": 330.1
  },
  "luminance": 0.01722
}

Semantic roles & 50–950 ramp

primary
#321C30
secondary
#446647
accent
#C56C63
background
#F6F5F6
surface
#EBE9EB
border
#C6C5C6
text
#060306
muted
#7A787A

Preview Lab

Preview with #321C30

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

Preview Lab → · Contrast checker → · Palette generator →

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