#322440#322440

#322440 is a dark, muted violet. Relative luminance 0.023; OKLCH L 29.0% C 0.053 H 306.4°. Best body text is #FFFFFF at 14.36:1 contrast (WCAG AA passes).

Color values

HEX#322440
RGBrgb(50, 36, 64)
HSLhsl(270, 28%, 20%)
HSVhsv(270, 44%, 25%)
CMYKcmyk(21.9%, 43.8%, 0%, 74.9%)
CIE-LABlab(17.04, 13.33, -15.34)
CIE-LCHlch(17.04, 20.32, 310.98°)
OKLaboklab(29.01% 0.0313 -0.0425)
OKLCHoklch(29.01% 0.053 306.4)
XYZxyz(2.8715, 2.3100, 5.1441)
Luminance0.0231 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322440 #324024
analogous
#242440 #322440 #402440
triadic
#322440 #403224 #244032
tetradic
#322440 #402424 #324024 #244040
square
#322440 #402424 #324024 #244040
split-complementary
#322440 #404024 #244024
monochromatic
#0F0B14 #130E19 #322440 #513A67 #6F508E

Accessibility & contrast

On white

14.36
#322440 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#322440 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #322440
14.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##322440#FFFFFF#000000##FFFFFF
##3224401.0014.361.4614.36
#FFFFFF14.361.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E2941
Deuteranopia (green-blind)
#212A3F
Tritanopia (blue-blind)
#30282F
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #322440;
/* rgb */ color: rgb(50, 36, 64);
/* oklch */ color: oklch(29.0% 0.053 306.4);
Tailwind
colors: {
  custom: {
    50: '#6a5f75',
    500: '#322440',
    950: '#000000',
  },
}
SCSS
$custom: #322440;
$custom-light: #6a5f75;
$custom-dark: #000000;
JSON
{
  "hex": "#322440",
  "rgb": {
    "r": 50,
    "g": 36,
    "b": 64
  },
  "hsl": {
    "h": 270,
    "s": 28,
    "l": 19.608
  },
  "oklch": {
    "l": 0.29013,
    "c": 0.05279,
    "h": 306.4
  },
  "luminance": 0.0231
}

Semantic roles & 50–950 ramp

primary
#322440
secondary
#60734D
accent
#C46394
background
#F6F5F7
surface
#EBE9ED
border
#C6C5C8
text
#060408
muted
#7A797B

Preview Lab

Preview with #322440

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

Preview Lab → · Contrast checker → · Palette generator →

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