#322848#322848

#322848 is a dark, muted violet. Relative luminance 0.027; OKLCH L 30.4% C 0.058 H 297.2°. Best body text is #FFFFFF at 13.70:1 contrast (WCAG AA passes).

Color values

HEX#322848
RGBrgb(50, 40, 72)
HSLhsl(259, 29%, 22%)
HSVhsv(259, 44%, 28%)
CMYKcmyk(30.6%, 44.4%, 0%, 71.8%)
CIE-LABlab(18.64, 12.86, -18.33)
CIE-LCHlch(18.64, 22.39, 305.06°)
OKLaboklab(30.38% 0.0263 -0.0511)
OKLCHoklch(30.38% 0.058 297.2)
XYZxyz(3.2436, 2.6635, 6.4729)
Luminance0.0266 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322848 #3E4828
analogous
#282E48 #322848 #422848
triadic
#322848 #483228 #284832
tetradic
#322848 #48282E #3E4828 #284842
square
#322848 #48282E #3E4828 #284842
split-complementary
#322848 #484228 #2E4828
monochromatic
#0E0B14 #171221 #322848 #4D3E6F #695497

Accessibility & contrast

On white

13.70
#322848 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#322848 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #322848
13.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##322848#FFFFFF#000000##FFFFFF
##3228481.0013.701.5313.70
#FFFFFF13.701.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F2D49
Deuteranopia (green-blind)
#212D47
Tritanopia (blue-blind)
#2E2E34
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #322848;
/* rgb */ color: rgb(50, 40, 72);
/* oklch */ color: oklch(30.4% 0.058 297.2);
Tailwind
colors: {
  custom: {
    50: '#6b627b',
    500: '#322848',
    950: '#000000',
  },
}
SCSS
$custom: #322848;
$custom-light: #6b627b;
$custom-dark: #000000;
JSON
{
  "hex": "#322848",
  "rgb": {
    "r": 50,
    "g": 40,
    "b": 72
  },
  "hsl": {
    "h": 258.75,
    "s": 28.571,
    "l": 21.961
  },
  "oklch": {
    "l": 0.30376,
    "c": 0.05753,
    "h": 297.2
  },
  "luminance": 0.02664
}

Semantic roles & 50–950 ramp

primary
#322848
secondary
#6E7A52
accent
#C563A6
background
#F6F5F7
surface
#EBEAED
border
#C6C6C8
text
#060509
muted
#7A797B

Preview Lab

Preview with #322848

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

Preview Lab → · Contrast checker → · Palette generator →

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