#322642#322642

#322642 is a dark, muted violet. Relative luminance 0.025; OKLCH L 29.6% C 0.052 H 303.1°. Best body text is #FFFFFF at 14.08:1 contrast (WCAG AA passes).

Color values

HEX#322642
RGBrgb(50, 38, 66)
HSLhsl(266, 27%, 20%)
HSVhsv(266, 42%, 26%)
CMYKcmyk(24.2%, 42.4%, 0%, 74.1%)
CIE-LABlab(17.73, 12.50, -15.65)
CIE-LCHlch(17.73, 20.03, 308.61°)
OKLaboklab(29.57% 0.0283 -0.0434)
OKLCHoklch(29.57% 0.052 303.1)
XYZxyz(2.9917, 2.4577, 5.4700)
Luminance0.0246 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#322642 #364226
analogous
#262842 #322642 #402642
triadic
#322642 #423226 #264232
tetradic
#322642 #422628 #364226 #264240
square
#322642 #422628 #364226 #264240
split-complementary
#322642 #424026 #284226
monochromatic
#0F0B13 #15101B #322642 #4F3C69 #6D5390

Accessibility & contrast

On white

14.08
#322642 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#322642 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #322642
14.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##322642#FFFFFF#000000##FFFFFF
##3226421.0014.081.4914.08
#FFFFFF14.081.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#202B43
Deuteranopia (green-blind)
#222B41
Tritanopia (blue-blind)
#2F2A30
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #322642;
/* rgb */ color: rgb(50, 38, 66);
/* oklch */ color: oklch(29.6% 0.052 303.1);
Tailwind
colors: {
  custom: {
    50: '#6a6076',
    500: '#322642',
    950: '#000000',
  },
}
SCSS
$custom: #322642;
$custom-light: #6a6076;
$custom-dark: #000000;
JSON
{
  "hex": "#322642",
  "rgb": {
    "r": 50,
    "g": 38,
    "b": 66
  },
  "hsl": {
    "h": 265.714,
    "s": 26.923,
    "l": 20.392
  },
  "oklch": {
    "l": 0.29572,
    "c": 0.05181,
    "h": 303.1
  },
  "luminance": 0.02458
}

Semantic roles & 50–950 ramp

primary
#322642
secondary
#65744F
accent
#C3659B
background
#F6F5F7
surface
#EBE9ED
border
#C6C5C8
text
#060508
muted
#7A797B

Preview Lab

Preview with #322642

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

Preview Lab → · Contrast checker → · Palette generator →

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