#321836#321836

#321836 is a dark, moderate purple. Relative luminance 0.016; OKLCH L 26.0% C 0.064 H 322.1°. Best body text is #FFFFFF at 15.91:1 contrast (WCAG AA passes).

Color values

HEX#321836
RGBrgb(50, 24, 54)
HSLhsl(292, 38%, 15%)
HSVhsv(292, 56%, 21%)
CMYKcmyk(7.4%, 55.6%, 0%, 78.8%)
CIE-LABlab(13.22, 18.85, -14.27)
CIE-LCHlch(13.22, 23.64, 322.88°)
OKLaboklab(25.96% 0.0506 -0.0393)
OKLCHoklch(25.96% 0.064 322.1)
XYZxyz(2.3078, 1.5978, 3.6762)
Luminance0.0160 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321836 #1C3618
analogous
#231836 #321836 #36182B
triadic
#321836 #363218 #183632
tetradic
#321836 #362318 #1C3618 #182B36
square
#321836 #362318 #1C3618 #182B36
split-complementary
#321836 #2B3618 #183623
monochromatic
#140915 #140915 #321836 #592B60 #803E8B

Accessibility & contrast

On white

15.91
#321836 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#321836 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #321836
15.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321836#FFFFFF#000000##FFFFFF
##3218361.0015.911.3215.91
#FFFFFF15.911.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#142037
Deuteranopia (green-blind)
#1B2335
Tritanopia (blue-blind)
#331C24
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #321836;
/* rgb */ color: rgb(50, 24, 54);
/* oklch */ color: oklch(26.0% 0.064 322.1);
Tailwind
colors: {
  custom: {
    50: '#6b566d',
    500: '#321836',
    950: '#000000',
  },
}
SCSS
$custom: #321836;
$custom-light: #6b566d;
$custom-dark: #000000;
JSON
{
  "hex": "#321836",
  "rgb": {
    "r": 50,
    "g": 24,
    "b": 54
  },
  "hsl": {
    "h": 292,
    "s": 38.462,
    "l": 15.294
  },
  "oklch": {
    "l": 0.25964,
    "c": 0.06406,
    "h": 322.1
  },
  "luminance": 0.01598
}

Semantic roles & 50–950 ramp

primary
#321836
secondary
#446C3E
accent
#CE5969
background
#F6F5F6
surface
#EBE9EB
border
#C6C5C6
text
#060307
muted
#7A787A

Preview Lab

Preview with #321836

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

Preview Lab → · Contrast checker → · Palette generator →

#321836 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva