#321D3E#321D3E

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

Color values

HEX#321D3E
RGBrgb(50, 29, 62)
HSLhsl(278, 36%, 18%)
HSVhsv(278, 53%, 24%)
CMYKcmyk(19.4%, 53.2%, 0%, 75.7%)
CIE-LABlab(14.98, 17.59, -17.17)
CIE-LCHlch(14.98, 24.58, 315.69°)
OKLaboklab(27.43% 0.0432 -0.0477)
OKLCHoklch(27.43% 0.064 312.2)
XYZxyz(2.6241, 1.9047, 4.7859)
Luminance0.0191 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321D3E #293E1D
analogous
#211D3E #321D3E #3E1D39
triadic
#321D3E #3E321D #1D3E32
tetradic
#321D3E #3E211D #293E1D #1D393E
square
#321D3E #3E211D #293E1D #1D393E
split-complementary
#321D3E #393E1D #1D3E21
monochromatic
#110A15 #110A15 #321D3E #543168 #754491

Accessibility & contrast

On white

15.21
#321D3E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #321D3E
15.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321D3E#FFFFFF#000000##FFFFFF
##321D3E1.0015.211.3815.21
#FFFFFF15.211.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#16253F
Deuteranopia (green-blind)
#1C263D
Tritanopia (blue-blind)
#31222A
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #321d3e;
/* rgb */ color: rgb(50, 29, 62);
/* oklch */ color: oklch(27.4% 0.064 312.2);
Tailwind
colors: {
  custom: {
    50: '#6b5973',
    500: '#321d3e',
    950: '#000000',
  },
}
SCSS
$custom: #321d3e;
$custom-light: #6b5973;
$custom-dark: #000000;
JSON
{
  "hex": "#321d3e",
  "rgb": {
    "r": 50,
    "g": 29,
    "b": 62
  },
  "hsl": {
    "h": 278.182,
    "s": 36.264,
    "l": 17.843
  },
  "oklch": {
    "l": 0.27429,
    "c": 0.06442,
    "h": 312.2
  },
  "luminance": 0.01905
}

Semantic roles & 50–950 ramp

primary
#321D3E
secondary
#557344
accent
#CC5C85
background
#F6F5F7
surface
#EBE9ED
border
#C6C5C8
text
#060308
muted
#7A787B

Preview Lab

Preview with #321D3E

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

Preview Lab → · Contrast checker → · Palette generator →

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