#321C41#321C41

#321C41 is a dark, moderate violet. Relative luminance 0.019; OKLCH L 27.4% C 0.071 H 310.0°. Best body text is #FFFFFF at 15.24:1 contrast (WCAG AA passes).

Color values

HEX#321C41
RGBrgb(50, 28, 65)
HSLhsl(276, 40%, 18%)
HSVhsv(276, 57%, 25%)
CMYKcmyk(23.1%, 56.9%, 0%, 74.5%)
CIE-LABlab(14.90, 19.08, -19.39)
CIE-LCHlch(14.90, 27.20, 314.53°)
OKLaboklab(27.43% 0.0454 -0.0542)
OKLCHoklch(27.43% 0.071 310)
XYZxyz(2.6846, 1.8903, 5.2234)
Luminance0.0189 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321C41 #2B411C
analogous
#1F1C41 #321C41 #411C3D
triadic
#321C41 #41321C #1C4132
tetradic
#321C41 #411F1C #2B411C #1C3D41
square
#321C41 #411F1C #2B411C #1C3D41
split-complementary
#321C41 #3D411C #1C411F
monochromatic
#100915 #110A16 #321C41 #532E6C #744197

Accessibility & contrast

On white

15.24
#321C41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#321C41 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #321C41
15.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321C41#FFFFFF#000000##FFFFFF
##321C411.0015.241.3815.24
#FFFFFF15.241.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#122442
Deuteranopia (green-blind)
#192640
Tritanopia (blue-blind)
#30222B
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #321c41;
/* rgb */ color: rgb(50, 28, 65);
/* oklch */ color: oklch(27.4% 0.071 310.0);
Tailwind
colors: {
  custom: {
    50: '#6b5976',
    500: '#321c41',
    950: '#000000',
  },
}
SCSS
$custom: #321c41;
$custom-light: #6b5976;
$custom-dark: #000000;
JSON
{
  "hex": "#321c41",
  "rgb": {
    "r": 50,
    "g": 28,
    "b": 65
  },
  "hsl": {
    "h": 275.676,
    "s": 39.785,
    "l": 18.235
  },
  "oklch": {
    "l": 0.27431,
    "c": 0.07072,
    "h": 310
  },
  "luminance": 0.0189
}

Semantic roles & 50–950 ramp

primary
#321C41
secondary
#587643
accent
#D05889
background
#F6F5F7
surface
#EBE9ED
border
#C6C5C8
text
#070308
muted
#7A787B

Preview Lab

Preview with #321C41

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

Preview Lab → · Contrast checker → · Palette generator →

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