#3A324C#3A324C

#3A324C is a dark, muted violet. Relative luminance 0.037; OKLCH L 33.7% C 0.046 H 298.0°. Best body text is #FFFFFF at 12.06:1 contrast (WCAG AA passes).

Color values

HEX#3A324C
RGBrgb(58, 50, 76)
HSLhsl(258, 21%, 25%)
HSVhsv(258, 34%, 30%)
CMYKcmyk(23.7%, 34.2%, 0%, 70.2%)
CIE-LABlab(22.66, 9.98, -14.70)
CIE-LCHlch(22.66, 17.77, 304.16°)
OKLaboklab(33.72% 0.0216 -0.0406)
OKLCHoklch(33.72% 0.046 298)
XYZxyz(4.1897, 3.7025, 7.3300)
Luminance0.0370 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A324C #444C32
analogous
#32374C #3A324C #47324C
triadic
#3A324C #4C3A32 #324C3A
tetradic
#3A324C #4C3237 #444C32 #324C47
square
#3A324C #4C3237 #444C32 #324C47
split-complementary
#3A324C #4C4732 #374C32
monochromatic
#0E0C12 #1E1A27 #3A324C #564A71 #726396

Accessibility & contrast

On white

12.06
#3A324C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#3A324C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A324C
12.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A324C#FFFFFF#000000##FFFFFF
##3A324C1.0012.061.7412.06
#FFFFFF12.061.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C364D
Deuteranopia (green-blind)
#2D364B
Tritanopia (blue-blind)
#37363B
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #3a324c;
/* rgb */ color: rgb(58, 50, 76);
/* oklch */ color: oklch(33.7% 0.046 298.0);
Tailwind
colors: {
  custom: {
    50: '#70697e',
    500: '#3a324c',
    950: '#000000',
  },
}
SCSS
$custom: #3a324c;
$custom-light: #70697e;
$custom-dark: #000000;
JSON
{
  "hex": "#3a324c",
  "rgb": {
    "r": 58,
    "g": 50,
    "b": 76
  },
  "hsl": {
    "h": 258.462,
    "s": 20.635,
    "l": 24.706
  },
  "oklch": {
    "l": 0.33718,
    "c": 0.04597,
    "h": 298
  },
  "luminance": 0.03703
}

Semantic roles & 50–950 ramp

primary
#3A324C
secondary
#737D5D
accent
#BD6BA4
background
#F6F6F7
surface
#ECEBEE
border
#C7C6C9
text
#07060A
muted
#7A7A7C

Preview Lab

Preview with #3A324C

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

Preview Lab → · Contrast checker → · Palette generator →

#3A324C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva