#322C4E#322C4E

#322C4E is a dark, muted violet. Relative luminance 0.030; OKLCH L 31.6% C 0.060 H 290.7°. Best body text is #FFFFFF at 13.08:1 contrast (WCAG AA passes).

Color values

HEX#322C4E
RGBrgb(50, 44, 78)
HSLhsl(251, 28%, 24%)
HSVhsv(251, 44%, 31%)
CMYKcmyk(35.9%, 43.6%, 0%, 69.4%)
CIE-LABlab(20.16, 11.90, -20.01)
CIE-LCHlch(20.16, 23.28, 300.76°)
OKLaboklab(31.64% 0.0211 -0.056)
OKLCHoklch(31.64% 0.06 290.7)
XYZxyz(3.5909, 3.0295, 7.6018)
Luminance0.0303 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322C4E #484E2C
analogous
#2C374E #322C4E #432C4E
triadic
#322C4E #4E322C #2C4E32
tetradic
#322C4E #4E2C37 #484E2C #2C4E43
square
#322C4E #4E2C37 #484E2C #2C4E43
split-complementary
#322C4E #4E432C #374E2C
monochromatic
#0D0B14 #191627 #322C4E #4B4275 #64589C

Accessibility & contrast

On white

13.08
#322C4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#322C4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #322C4E
13.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##322C4E#FFFFFF#000000##FFFFFF
##322C4E1.0013.081.6113.08
#FFFFFF13.081.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22314F
Deuteranopia (green-blind)
#22304D
Tritanopia (blue-blind)
#2B3239
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #322c4e;
/* rgb */ color: rgb(50, 44, 78);
/* oklch */ color: oklch(31.6% 0.060 290.7);
Tailwind
colors: {
  custom: {
    50: '#6b657f',
    500: '#322c4e',
    950: '#000000',
  },
}
SCSS
$custom: #322c4e;
$custom-light: #6b657f;
$custom-dark: #000000;
JSON
{
  "hex": "#322c4e",
  "rgb": {
    "r": 50,
    "g": 44,
    "b": 78
  },
  "hsl": {
    "h": 250.588,
    "s": 27.869,
    "l": 23.922
  },
  "oklch": {
    "l": 0.31642,
    "c": 0.05988,
    "h": 290.7
  },
  "luminance": 0.0303
}

Semantic roles & 50–950 ramp

primary
#322C4E
secondary
#788056
accent
#C464B3
background
#F6F6F7
surface
#EBEBEE
border
#C6C6C9
text
#07050A
muted
#7A7A7C

Preview Lab

Preview with #322C4E

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

Preview Lab → · Contrast checker → · Palette generator →

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