#321A41#321A41

#321A41 is a dark, moderate violet. Relative luminance 0.018; OKLCH L 27.1% C 0.075 H 310.8°. Best body text is #FFFFFF at 15.44:1 contrast (WCAG AA passes).

Color values

HEX#321A41
RGBrgb(50, 26, 65)
HSLhsl(277, 43%, 18%)
HSVhsv(277, 60%, 25%)
CMYKcmyk(23.1%, 60%, 0%, 74.5%)
CIE-LABlab(14.39, 20.40, -20.20)
CIE-LCHlch(14.39, 28.70, 315.28°)
OKLaboklab(27.06% 0.0488 -0.0565)
OKLCHoklch(27.06% 0.075 310.8)
XYZxyz(2.6387, 1.7986, 5.2082)
Luminance0.0180 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321A41 #29411A
analogous
#1E1A41 #321A41 #411A3C
triadic
#321A41 #41321A #1A4132
tetradic
#321A41 #411E1A #29411A #1A3C41
square
#321A41 #411E1A #29411A #1A3C41
split-complementary
#321A41 #3C411A #1A411E
monochromatic
#110916 #110916 #321A41 #542B6D #753D98

Accessibility & contrast

On white

15.44
#321A41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#321A41 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #321A41
15.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321A41#FFFFFF#000000##FFFFFF
##321A411.0015.441.3615.44
#FFFFFF15.441.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F2342
Deuteranopia (green-blind)
#172540
Tritanopia (blue-blind)
#30212A
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #321a41;
/* rgb */ color: rgb(50, 26, 65);
/* oklch */ color: oklch(27.1% 0.075 310.8);
Tailwind
colors: {
  custom: {
    50: '#6b5776',
    500: '#321a41',
    950: '#000000',
  },
}
SCSS
$custom: #321a41;
$custom-light: #6b5776;
$custom-dark: #000000;
JSON
{
  "hex": "#321a41",
  "rgb": {
    "r": 50,
    "g": 26,
    "b": 65
  },
  "hsl": {
    "h": 276.923,
    "s": 42.857,
    "l": 17.843
  },
  "oklch": {
    "l": 0.27055,
    "c": 0.07465,
    "h": 310.8
  },
  "luminance": 0.01799
}

Semantic roles & 50–950 ramp

primary
#321A41
secondary
#557740
accent
#D35585
background
#F6F5F7
surface
#EBE9ED
border
#C6C5C8
text
#070308
muted
#7A787B

Preview Lab

Preview with #321A41

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

Preview Lab → · Contrast checker → · Palette generator →

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