#322B4E#322B4E

#322B4E is a dark, moderate violet. Relative luminance 0.030; OKLCH L 31.4% C 0.062 H 291.6°. Best body text is #FFFFFF at 13.20:1 contrast (WCAG AA passes).

Color values

HEX#322B4E
RGBrgb(50, 43, 78)
HSLhsl(252, 29%, 24%)
HSVhsv(252, 45%, 31%)
CMYKcmyk(35.9%, 44.9%, 0%, 69.4%)
CIE-LABlab(19.87, 12.60, -20.47)
CIE-LCHlch(19.87, 24.04, 301.62°)
OKLaboklab(31.42% 0.0228 -0.0574)
OKLCHoklch(31.42% 0.062 291.6)
XYZxyz(3.5541, 2.9558, 7.5895)
Luminance0.0296 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322B4E #474E2B
analogous
#2B354E #322B4E #432B4E
triadic
#322B4E #4E322B #2B4E32
tetradic
#322B4E #4E2B35 #474E2B #2B4E43
square
#322B4E #4E2B35 #474E2B #2B4E43
split-complementary
#322B4E #4E432B #354E2B
monochromatic
#0D0B14 #191527 #322B4E #4B4175 #65569D

Accessibility & contrast

On white

13.20
#322B4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#322B4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #322B4E
13.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##322B4E#FFFFFF#000000##FFFFFF
##322B4E1.0013.201.5913.20
#FFFFFF13.201.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#20314F
Deuteranopia (green-blind)
#212F4D
Tritanopia (blue-blind)
#2B3138
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #322b4e;
/* rgb */ color: rgb(50, 43, 78);
/* oklch */ color: oklch(31.4% 0.062 291.6);
Tailwind
colors: {
  custom: {
    50: '#6b6480',
    500: '#322b4e',
    950: '#000000',
  },
}
SCSS
$custom: #322b4e;
$custom-light: #6b6480;
$custom-dark: #000000;
JSON
{
  "hex": "#322b4e",
  "rgb": {
    "r": 50,
    "g": 43,
    "b": 78
  },
  "hsl": {
    "h": 252,
    "s": 28.926,
    "l": 23.725
  },
  "oklch": {
    "l": 0.31417,
    "c": 0.06172,
    "h": 291.6
  },
  "luminance": 0.02956
}

Semantic roles & 50–950 ramp

primary
#322B4E
secondary
#778055
accent
#C563B1
background
#F6F5F7
surface
#EBEAEE
border
#C6C6C9
text
#07050A
muted
#7A797C

Preview Lab

Preview with #322B4E

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

Preview Lab → · Contrast checker → · Palette generator →

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