#322A4A#322A4A

#322A4A is a dark, muted violet. Relative luminance 0.028; OKLCH L 30.9% C 0.057 H 294.3°. Best body text is #FFFFFF at 13.41:1 contrast (WCAG AA passes).

Color values

HEX#322A4A
RGBrgb(50, 42, 74)
HSLhsl(255, 28%, 23%)
HSVhsv(255, 43%, 29%)
CMYKcmyk(32.4%, 43.2%, 0%, 71%)
CIE-LABlab(19.34, 12.07, -18.59)
CIE-LCHlch(19.34, 22.16, 302.99°)
OKLaboklab(30.95% 0.0235 -0.0519)
OKLCHoklch(30.95% 0.057 294.3)
XYZxyz(3.3791, 2.8284, 6.8451)
Luminance0.0283 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322A4A #424A2A
analogous
#2A324A #322A4A #422A4A
triadic
#322A4A #4A322A #2A4A32
tetradic
#322A4A #4A2A32 #424A2A #2A4A42
square
#322A4A #4A2A32 #424A2A #2A4A42
split-complementary
#322A4A #4A422A #324A2A
monochromatic
#0D0B14 #181423 #322A4A #4C4071 #675698

Accessibility & contrast

On white

13.41
#322A4A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#322A4A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #322A4A
13.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##322A4A#FFFFFF#000000##FFFFFF
##322A4A1.0013.411.5713.41
#FFFFFF13.411.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#212F4B
Deuteranopia (green-blind)
#222E49
Tritanopia (blue-blind)
#2D3036
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #322a4a;
/* rgb */ color: rgb(50, 42, 74);
/* oklch */ color: oklch(30.9% 0.057 294.3);
Tailwind
colors: {
  custom: {
    50: '#6b637c',
    500: '#322a4a',
    950: '#000000',
  },
}
SCSS
$custom: #322a4a;
$custom-light: #6b637c;
$custom-dark: #000000;
JSON
{
  "hex": "#322a4a",
  "rgb": {
    "r": 50,
    "g": 42,
    "b": 74
  },
  "hsl": {
    "h": 255,
    "s": 27.586,
    "l": 22.745
  },
  "oklch": {
    "l": 0.30945,
    "c": 0.05697,
    "h": 294.3
  },
  "luminance": 0.02828
}

Semantic roles & 50–950 ramp

primary
#322A4A
secondary
#727C54
accent
#C464AC
background
#F6F5F7
surface
#EBEAEE
border
#C6C6C9
text
#060509
muted
#7A797B

Preview Lab

Preview with #322A4A

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

Preview Lab → · Contrast checker → · Palette generator →

#322A4A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva