#322838#322838

#322838 is a dark, muted violet. Relative luminance 0.025; OKLCH L 29.5% C 0.032 H 312.6°. Best body text is #FFFFFF at 14.04:1 contrast (WCAG AA passes).

Color values

HEX#322838
RGBrgb(50, 40, 56)
HSLhsl(278, 17%, 19%)
HSVhsv(278, 29%, 22%)
CMYKcmyk(10.7%, 28.6%, 0%, 78%)
CIE-LABlab(17.83, 8.37, -8.55)
CIE-LCHlch(17.83, 11.96, 314.37°)
OKLaboklab(29.49% 0.0214 -0.0232)
OKLCHoklch(29.49% 0.032 312.6)
XYZxyz(2.7879, 2.4812, 4.0727)
Luminance0.0248 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322838 #2E3828
analogous
#2A2838 #322838 #382836
triadic
#322838 #383228 #283832
tetradic
#322838 #382A28 #2E3828 #283638
square
#322838 #382A28 #2E3828 #283638
split-complementary
#322838 #363828 #28382A
monochromatic
#100D12 #120F14 #322838 #52425C #725B7F

Accessibility & contrast

On white

14.04
#322838 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#322838 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #322838
14.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##322838#FFFFFF#000000##FFFFFF
##3228381.0014.041.5014.04
#FFFFFF14.041.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#262B39
Deuteranopia (green-blind)
#282C37
Tritanopia (blue-blind)
#322A2E
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #322838;
/* rgb */ color: rgb(50, 40, 56);
/* oklch */ color: oklch(29.5% 0.032 312.6);
Tailwind
colors: {
  custom: {
    50: '#6a616e',
    500: '#322838',
    950: '#000000',
  },
}
SCSS
$custom: #322838;
$custom-light: #6a616e;
$custom-dark: #000000;
JSON
{
  "hex": "#322838",
  "rgb": {
    "r": 50,
    "g": 40,
    "b": 56
  },
  "hsl": {
    "h": 277.5,
    "s": 16.667,
    "l": 18.824
  },
  "oklch": {
    "l": 0.29492,
    "c": 0.03159,
    "h": 312.6
  },
  "luminance": 0.02481
}

Semantic roles & 50–950 ramp

primary
#322838
secondary
#5B6953
accent
#B96E8B
background
#F6F5F6
surface
#EBEAEB
border
#C6C6C6
text
#060507
muted
#7A797A

Preview Lab

Preview with #322838

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

Preview Lab → · Contrast checker → · Palette generator →

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