#321F3D#321F3D

#321F3D is a dark, muted violet. Relative luminance 0.020; OKLCH L 27.8% C 0.059 H 312.2°. Best body text is #FFFFFF at 15.01:1 contrast (WCAG AA passes).

Color values

HEX#321F3D
RGBrgb(50, 31, 61)
HSLhsl(278, 33%, 18%)
HSVhsv(278, 49%, 24%)
CMYKcmyk(18%, 49.2%, 0%, 76.1%)
CIE-LABlab(15.46, 15.96, -15.71)
CIE-LCHlch(15.46, 22.39, 315.44°)
OKLaboklab(27.77% 0.0395 -0.0435)
OKLCHoklch(27.77% 0.059 312.2)
XYZxyz(2.6475, 1.9951, 4.6596)
Luminance0.0199 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321F3D #2A3D1F
analogous
#231F3D #321F3D #3D1F39
triadic
#321F3D #3D321F #1F3D32
tetradic
#321F3D #3D231F #2A3D1F #1F393D
square
#321F3D #3D231F #2A3D1F #1F393D
split-complementary
#321F3D #393D1F #1F3D23
monochromatic
#110A14 #110A14 #321F3D #533466 #75488E

Accessibility & contrast

On white

15.01
#321F3D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#321F3D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #321F3D
15.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321F3D#FFFFFF#000000##FFFFFF
##321F3D1.0015.011.4015.01
#FFFFFF15.011.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#19263E
Deuteranopia (green-blind)
#1E273C
Tritanopia (blue-blind)
#31232B
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #321f3d;
/* rgb */ color: rgb(50, 31, 61);
/* oklch */ color: oklch(27.8% 0.059 312.2);
Tailwind
colors: {
  custom: {
    50: '#6a5b72',
    500: '#321f3d',
    950: '#000000',
  },
}
SCSS
$custom: #321f3d;
$custom-light: #6a5b72;
$custom-dark: #000000;
JSON
{
  "hex": "#321f3d",
  "rgb": {
    "r": 50,
    "g": 31,
    "b": 61
  },
  "hsl": {
    "h": 278,
    "s": 32.609,
    "l": 18.039
  },
  "oklch": {
    "l": 0.27771,
    "c": 0.0588,
    "h": 312.2
  },
  "luminance": 0.01995
}

Semantic roles & 50–950 ramp

primary
#321F3D
secondary
#567147
accent
#C95F86
background
#F6F5F6
surface
#EBE9EC
border
#C6C5C7
text
#060408
muted
#7A797B

Preview Lab

Preview with #321F3D

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

Preview Lab → · Contrast checker → · Palette generator →

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