#321A3D#321A3D

#321A3D is a dark, moderate purple. Relative luminance 0.018; OKLCH L 26.8% C 0.069 H 314.3°. Best body text is #FFFFFF at 15.55:1 contrast (WCAG AA passes).

Color values

HEX#321A3D
RGBrgb(50, 26, 61)
HSLhsl(281, 40%, 17%)
HSVhsv(281, 57%, 24%)
CMYKcmyk(18%, 57.4%, 0%, 76.1%)
CIE-LABlab(14.14, 19.32, -17.79)
CIE-LCHlch(14.14, 26.27, 317.36°)
OKLaboklab(26.78% 0.0483 -0.0495)
OKLCHoklch(26.78% 0.069 314.3)
XYZxyz(2.5270, 1.7539, 4.6194)
Luminance0.0175 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321A3D #253D1A
analogous
#211A3D #321A3D #3D1A37
triadic
#321A3D #3D321A #1A3D32
tetradic
#321A3D #3D211A #253D1A #1A373D
square
#321A3D #3D211A #253D1A #1A373D
split-complementary
#321A3D #373D1A #1A3D21
monochromatic
#120915 #120915 #321A3D #552C68 #783F93

Accessibility & contrast

On white

15.55
#321A3D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#321A3D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #321A3D
15.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321A3D#FFFFFF#000000##FFFFFF
##321A3D1.0015.551.3515.55
#FFFFFF15.551.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#12233E
Deuteranopia (green-blind)
#19253C
Tritanopia (blue-blind)
#311F28
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #321a3d;
/* rgb */ color: rgb(50, 26, 61);
/* oklch */ color: oklch(26.8% 0.069 314.3);
Tailwind
colors: {
  custom: {
    50: '#6b5772',
    500: '#321a3d',
    950: '#000000',
  },
}
SCSS
$custom: #321a3d;
$custom-light: #6b5772;
$custom-dark: #000000;
JSON
{
  "hex": "#321a3d",
  "rgb": {
    "r": 50,
    "g": 26,
    "b": 61
  },
  "hsl": {
    "h": 281.143,
    "s": 40.23,
    "l": 17.059
  },
  "oklch": {
    "l": 0.26784,
    "c": 0.06916,
    "h": 314.3
  },
  "luminance": 0.01754
}

Semantic roles & 50–950 ramp

primary
#321A3D
secondary
#507340
accent
#D0587E
background
#F6F5F6
surface
#EBE9EC
border
#C6C5C7
text
#070308
muted
#7A787B

Preview Lab

Preview with #321A3D

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

Preview Lab → · Contrast checker → · Palette generator →

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