#3A324A#3A324A

#3A324A is a dark, muted violet. Relative luminance 0.037; OKLCH L 33.6% C 0.043 H 299.4°. Best body text is #FFFFFF at 12.10:1 contrast (WCAG AA passes).

Color values

HEX#3A324A
RGBrgb(58, 50, 74)
HSLhsl(260, 19%, 24%)
HSVhsv(260, 32%, 29%)
CMYKcmyk(21.6%, 32.4%, 0%, 71%)
CIE-LABlab(22.57, 9.42, -13.51)
CIE-LCHlch(22.57, 16.47, 304.89°)
OKLaboklab(33.61% 0.021 -0.0372)
OKLCHoklch(33.61% 0.043 299.4)
XYZxyz(4.1213, 3.6751, 6.9695)
Luminance0.0367 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A324A #424A32
analogous
#32364A #3A324A #46324A
triadic
#3A324A #4A3A32 #324A3A
tetradic
#3A324A #4A3236 #424A32 #324A46
square
#3A324A #4A3236 #424A32 #324A46
split-complementary
#3A324A #4A4632 #364A32
monochromatic
#0E0C12 #1D1925 #3A324A #574B6F #736393

Accessibility & contrast

On white

12.10
#3A324A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A324A
12.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A324A#FFFFFF#000000##FFFFFF
##3A324A1.0012.101.7412.10
#FFFFFF12.101.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.101.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3a324a;
/* rgb */ color: rgb(58, 50, 74);
/* oklch */ color: oklch(33.6% 0.043 299.4);
Tailwind
colors: {
  custom: {
    50: '#70697c',
    500: '#3a324a',
    950: '#000000',
  },
}
SCSS
$custom: #3a324a;
$custom-light: #70697c;
$custom-dark: #000000;
JSON
{
  "hex": "#3a324a",
  "rgb": {
    "r": 58,
    "g": 50,
    "b": 74
  },
  "hsl": {
    "h": 260,
    "s": 19.355,
    "l": 24.314
  },
  "oklch": {
    "l": 0.33613,
    "c": 0.04268,
    "h": 299.4
  },
  "luminance": 0.03675
}

Semantic roles & 50–950 ramp

primary
#3A324A
secondary
#717B5D
accent
#BC6CA1
background
#F6F6F7
surface
#ECEBEE
border
#C7C6C9
text
#070609
muted
#7A7A7B

Preview Lab

Preview with #3A324A

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

Preview Lab → · Contrast checker → · Palette generator →

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