#322840#322840

#322840 is a dark, muted violet. Relative luminance 0.026; OKLCH L 29.9% C 0.044 H 302.9°. Best body text is #FFFFFF at 13.88:1 contrast (WCAG AA passes).

Color values

HEX#322840
RGBrgb(50, 40, 64)
HSLhsl(265, 23%, 20%)
HSVhsv(265, 38%, 25%)
CMYKcmyk(21.9%, 37.5%, 0%, 74.9%)
CIE-LABlab(18.21, 10.53, -13.51)
CIE-LCHlch(18.21, 17.13, 307.93°)
OKLaboklab(29.91% 0.0242 -0.0373)
OKLCHoklch(29.91% 0.044 302.9)
XYZxyz(2.9994, 2.5659, 5.1867)
Luminance0.0257 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322840 #364028
analogous
#282A40 #322840 #3E2840
triadic
#322840 #403228 #284032
tetradic
#322840 #40282A #364028 #28403E
square
#322840 #40282A #364028 #28403E
split-complementary
#322840 #403E28 #2A4028
monochromatic
#0F0C13 #15101A #322840 #4F4066 #6D578B

Accessibility & contrast

On white

13.88
#322840 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#322840 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #322840
13.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##322840#FFFFFF#000000##FFFFFF
##3228401.0013.881.5113.88
#FFFFFF13.881.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#232C41
Deuteranopia (green-blind)
#252C3F
Tritanopia (blue-blind)
#302C31
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #322840;
/* rgb */ color: rgb(50, 40, 64);
/* oklch */ color: oklch(29.9% 0.044 302.9);
Tailwind
colors: {
  custom: {
    50: '#6a6275',
    500: '#322840',
    950: '#000000',
  },
}
SCSS
$custom: #322840;
$custom-light: #6a6275;
$custom-dark: #000000;
JSON
{
  "hex": "#322840",
  "rgb": {
    "r": 50,
    "g": 40,
    "b": 64
  },
  "hsl": {
    "h": 265,
    "s": 23.077,
    "l": 20.392
  },
  "oklch": {
    "l": 0.29909,
    "c": 0.04443,
    "h": 302.9
  },
  "luminance": 0.02566
}

Semantic roles & 50–950 ramp

primary
#322840
secondary
#657252
accent
#C0689B
background
#F6F5F7
surface
#EBEAED
border
#C6C6C8
text
#060508
muted
#7A797B

Preview Lab

Preview with #322840

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

Preview Lab → · Contrast checker → · Palette generator →

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