#321A3A#321A3A

#321A3A is a dark, moderate purple. Relative luminance 0.017; OKLCH L 26.6% C 0.065 H 317.2°. Best body text is #FFFFFF at 15.62:1 contrast (WCAG AA passes).

Color values

HEX#321A3A
RGBrgb(50, 26, 58)
HSLhsl(285, 38%, 16%)
HSVhsv(285, 55%, 23%)
CMYKcmyk(13.8%, 55.2%, 0%, 77.3%)
CIE-LABlab(13.96, 18.54, -15.96)
CIE-LCHlch(13.96, 24.46, 319.28°)
OKLaboklab(26.59% 0.0478 -0.0442)
OKLCHoklch(26.59% 0.065 317.2)
XYZxyz(2.4484, 1.7225, 4.2057)
Luminance0.0172 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321A3A #223A1A
analogous
#221A3A #321A3A #3A1A32
triadic
#321A3A #3A321A #1A3A32
tetradic
#321A3A #3A221A #223A1A #1A323A
square
#321A3A #3A221A #223A1A #1A323A
split-complementary
#321A3A #323A1A #1A3A22
monochromatic
#120915 #120915 #321A3A #562D64 #7B408F

Accessibility & contrast

On white

15.62
#321A3A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#321A3A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #321A3A
15.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321A3A#FFFFFF#000000##FFFFFF
##321A3A1.0015.621.3415.62
#FFFFFF15.621.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#14223B
Deuteranopia (green-blind)
#1B2439
Tritanopia (blue-blind)
#321F27
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #321a3a;
/* rgb */ color: rgb(50, 26, 58);
/* oklch */ color: oklch(26.6% 0.065 317.2);
Tailwind
colors: {
  custom: {
    50: '#6b5770',
    500: '#321a3a',
    950: '#000000',
  },
}
SCSS
$custom: #321a3a;
$custom-light: #6b5770;
$custom-dark: #000000;
JSON
{
  "hex": "#321a3a",
  "rgb": {
    "r": 50,
    "g": 26,
    "b": 58
  },
  "hsl": {
    "h": 285,
    "s": 38.095,
    "l": 16.471
  },
  "oklch": {
    "l": 0.26591,
    "c": 0.0651,
    "h": 317.2
  },
  "luminance": 0.01722
}

Semantic roles & 50–950 ramp

primary
#321A3A
secondary
#4C6F40
accent
#CE5A77
background
#F6F5F6
surface
#EBE9EC
border
#C6C5C7
text
#060307
muted
#7A787A

Preview Lab

Preview with #321A3A

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

Preview Lab → · Contrast checker → · Palette generator →

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