#322438#322438

#322438 is a dark, muted purple. Relative luminance 0.022; OKLCH L 28.6% C 0.041 H 315.5°. Best body text is #FFFFFF at 14.53:1 contrast (WCAG AA passes).

Color values

HEX#322438
RGBrgb(50, 36, 56)
HSLhsl(282, 22%, 18%)
HSVhsv(282, 36%, 22%)
CMYKcmyk(10.7%, 35.7%, 0%, 78%)
CIE-LABlab(16.63, 11.17, -10.40)
CIE-LCHlch(16.63, 15.26, 317.04°)
OKLaboklab(28.57% 0.0289 -0.0284)
OKLCHoklch(28.57% 0.041 315.5)
XYZxyz(2.6600, 2.2254, 4.0300)
Luminance0.0222 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322438 #2A3824
analogous
#282438 #322438 #382434
triadic
#322438 #383224 #243832
tetradic
#322438 #382824 #2A3824 #243438
square
#322438 #382824 #2A3824 #243438
split-complementary
#322438 #343824 #243828
monochromatic
#110C13 #110C13 #322438 #533C5D #755483

Accessibility & contrast

On white

14.53
#322438 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#322438 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #322438
14.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##322438#FFFFFF#000000##FFFFFF
##3224381.0014.531.4514.53
#FFFFFF14.531.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#212839
Deuteranopia (green-blind)
#242A37
Tritanopia (blue-blind)
#32262B
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #322438;
/* rgb */ color: rgb(50, 36, 56);
/* oklch */ color: oklch(28.6% 0.041 315.5);
Tailwind
colors: {
  custom: {
    50: '#6a5e6e',
    500: '#322438',
    950: '#000000',
  },
}
SCSS
$custom: #322438;
$custom-light: #6a5e6e;
$custom-dark: #000000;
JSON
{
  "hex": "#322438",
  "rgb": {
    "r": 50,
    "g": 36,
    "b": 56
  },
  "hsl": {
    "h": 282,
    "s": 21.739,
    "l": 18.039
  },
  "oklch": {
    "l": 0.28569,
    "c": 0.04052,
    "h": 315.5
  },
  "luminance": 0.02225
}

Semantic roles & 50–950 ramp

primary
#322438
secondary
#566A4E
accent
#BE6A83
background
#F6F5F6
surface
#EBE9EC
border
#C6C5C7
text
#060407
muted
#7A797A

Preview Lab

Preview with #322438

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

Preview Lab → · Contrast checker → · Palette generator →

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