#322A42#322A42

#322A42 is a dark, muted violet. Relative luminance 0.027; OKLCH L 30.5% C 0.044 H 299.1°. Best body text is #FFFFFF at 13.59:1 contrast (WCAG AA passes).

Color values

HEX#322A42
RGBrgb(50, 42, 66)
HSLhsl(260, 22%, 21%)
HSVhsv(260, 36%, 26%)
CMYKcmyk(24.2%, 36.4%, 0%, 74.1%)
CIE-LABlab(18.92, 9.70, -13.80)
CIE-LCHlch(18.92, 16.86, 305.11°)
OKLaboklab(30.48% 0.0212 -0.0381)
OKLCHoklch(30.48% 0.044 299.1)
XYZxyz(3.1265, 2.7274, 5.5149)
Luminance0.0273 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322A42 #3A422A
analogous
#2A2E42 #322A42 #3E2A42
triadic
#322A42 #42322A #2A4232
tetradic
#322A42 #422A2E #3A422A #2A423E
square
#322A42 #422A2E #3A422A #2A423E
split-complementary
#322A42 #423E2A #2E422A
monochromatic
#0E0C13 #16121D #322A42 #4E4267 #6B5A8D

Accessibility & contrast

On white

13.59
#322A42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#322A42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #322A42
13.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##322A42#FFFFFF#000000##FFFFFF
##322A421.0013.591.5513.59
#FFFFFF13.591.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#242E43
Deuteranopia (green-blind)
#262E41
Tritanopia (blue-blind)
#2F2E33
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #322a42;
/* rgb */ color: rgb(50, 42, 66);
/* oklch */ color: oklch(30.5% 0.044 299.1);
Tailwind
colors: {
  custom: {
    50: '#6a6376',
    500: '#322a42',
    950: '#000000',
  },
}
SCSS
$custom: #322a42;
$custom-light: #6a6376;
$custom-dark: #000000;
JSON
{
  "hex": "#322a42",
  "rgb": {
    "r": 50,
    "g": 42,
    "b": 66
  },
  "hsl": {
    "h": 260,
    "s": 22.222,
    "l": 21.176
  },
  "oklch": {
    "l": 0.3048,
    "c": 0.04363,
    "h": 299.1
  },
  "luminance": 0.02727
}

Semantic roles & 50–950 ramp

primary
#322A42
secondary
#697354
accent
#BF69A2
background
#F6F5F7
surface
#EBEAED
border
#C6C6C8
text
#060508
muted
#7A797B

Preview Lab

Preview with #322A42

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

Preview Lab → · Contrast checker → · Palette generator →

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