#321832#321832

#321832 is a dark, muted purple. Relative luminance 0.016; OKLCH L 25.7% C 0.059 H 327.1°. Best body text is #FFFFFF at 16.00:1 contrast (WCAG AA passes).

Color values

HEX#321832
RGBrgb(50, 24, 50)
HSLhsl(300, 35%, 15%)
HSVhsv(300, 52%, 20%)
CMYKcmyk(0%, 52%, 0%, 80.4%)
CIE-LABlab(13.00, 17.89, -11.74)
CIE-LCHlch(13.00, 21.40, 326.74°)
OKLaboklab(25.73% 0.0497 -0.0321)
OKLCHoklch(25.73% 0.059 327.1)
XYZxyz(2.2177, 1.5618, 3.2016)
Luminance0.0156 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#321832 #183218
analogous
#251832 #321832 #321825
triadic
#321832 #323218 #183232
tetradic
#321832 #322518 #183218 #182532
square
#321832 #322518 #183218 #182532
split-complementary
#321832 #253218 #183225
monochromatic
#150A15 #150A15 #321832 #5B2C5B #854085

Accessibility & contrast

On white

16.00
#321832 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#321832 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #321832
16.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##321832#FFFFFF#000000##FFFFFF
##3218321.0016.001.3116.00
#FFFFFF16.001.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#161F33
Deuteranopia (green-blind)
#1D2331
Tritanopia (blue-blind)
#331B22
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #321832;
/* rgb */ color: rgb(50, 24, 50);
/* oklch */ color: oklch(25.7% 0.059 327.1);
Tailwind
colors: {
  custom: {
    50: '#6b566a',
    500: '#321832',
    950: '#000000',
  },
}
SCSS
$custom: #321832;
$custom-light: #6b566a;
$custom-dark: #000000;
JSON
{
  "hex": "#321832",
  "rgb": {
    "r": 50,
    "g": 24,
    "b": 50
  },
  "hsl": {
    "h": 300,
    "s": 35.135,
    "l": 14.51
  },
  "oklch": {
    "l": 0.25727,
    "c": 0.05912,
    "h": 327.1
  },
  "luminance": 0.01562
}

Semantic roles & 50–950 ramp

primary
#321832
secondary
#3F673F
accent
#CB5D5D
background
#F6F5F6
surface
#EBE9EB
border
#C6C5C6
text
#060306
muted
#7A787A

Preview Lab

Preview with #321832

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

Preview Lab → · Contrast checker → · Palette generator →

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