#321D41#321D41

#321D41 is a dark, moderate violet. Relative luminance 0.019; OKLCH L 27.6% C 0.069 H 309.5°. Best body text is #FFFFFF at 15.13:1 contrast (WCAG AA passes).

Color values

HEX#321D41
RGBrgb(50, 29, 65)
HSLhsl(275, 38%, 18%)
HSVhsv(275, 55%, 25%)
CMYKcmyk(23.1%, 55.4%, 0%, 74.5%)
CIE-LABlab(15.16, 18.41, -18.98)
CIE-LCHlch(15.16, 26.44, 314.12°)
OKLaboklab(27.62% 0.0437 -0.053)
OKLCHoklch(27.62% 0.069 309.5)
XYZxyz(2.7087, 1.9385, 5.2315)
Luminance0.0194 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321D41 #2C411D
analogous
#201D41 #321D41 #411D3E
triadic
#321D41 #41321D #1D4132
tetradic
#321D41 #41201D #2C411D #1D3E41
square
#321D41 #41201D #2C411D #1D3E41
split-complementary
#321D41 #3E411D #1D4120
monochromatic
#100915 #110A17 #321D41 #53306B #734396

Accessibility & contrast

On white

15.13
#321D41 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#321D41 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #321D41
15.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321D41#FFFFFF#000000##FFFFFF
##321D411.0015.131.3915.13
#FFFFFF15.131.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#142542
Deuteranopia (green-blind)
#1A2640
Tritanopia (blue-blind)
#30232C
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #321d41;
/* rgb */ color: rgb(50, 29, 65);
/* oklch */ color: oklch(27.6% 0.069 309.5);
Tailwind
colors: {
  custom: {
    50: '#6b5976',
    500: '#321d41',
    950: '#000000',
  },
}
SCSS
$custom: #321d41;
$custom-light: #6b5976;
$custom-dark: #000000;
JSON
{
  "hex": "#321d41",
  "rgb": {
    "r": 50,
    "g": 29,
    "b": 65
  },
  "hsl": {
    "h": 275,
    "s": 38.298,
    "l": 18.431
  },
  "oklch": {
    "l": 0.27624,
    "c": 0.06872,
    "h": 309.5
  },
  "luminance": 0.01938
}

Semantic roles & 50–950 ramp

primary
#321D41
secondary
#597644
accent
#CE5A8A
background
#F6F5F7
surface
#EBE9ED
border
#C6C5C8
text
#070308
muted
#7A787B

Preview Lab

Preview with #321D41

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

Preview Lab → · Contrast checker → · Palette generator →

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