#3A324E#3A324E

#3A324E is a dark, muted violet. Relative luminance 0.037; OKLCH L 33.8% C 0.049 H 296.8°. Best body text is #FFFFFF at 12.03:1 contrast (WCAG AA passes).

Color values

HEX#3A324E
RGBrgb(58, 50, 78)
HSLhsl(257, 22%, 25%)
HSVhsv(257, 36%, 31%)
CMYKcmyk(25.6%, 35.9%, 0%, 69.4%)
CIE-LABlab(22.76, 10.54, -15.88)
CIE-LCHlch(22.76, 19.06, 303.57°)
OKLaboklab(33.83% 0.0222 -0.044)
OKLCHoklch(33.83% 0.049 296.8)
XYZxyz(4.2604, 3.7308, 7.7019)
Luminance0.0373 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A324E #464E32
analogous
#32384E #3A324E #48324E
triadic
#3A324E #4E3A32 #324E3A
tetradic
#3A324E #4E3238 #464E32 #324E48
square
#3A324E #4E3238 #464E32 #324E48
split-complementary
#3A324E #4E4832 #384E32
monochromatic
#0E0C13 #1E1A29 #3A324E #564A73 #716299

Accessibility & contrast

On white

12.03
#3A324E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#3A324E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A324E
12.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A324E#FFFFFF#000000##FFFFFF
##3A324E1.0012.031.7512.03
#FFFFFF12.031.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B364F
Deuteranopia (green-blind)
#2C364D
Tritanopia (blue-blind)
#36373C
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #3a324e;
/* rgb */ color: rgb(58, 50, 78);
/* oklch */ color: oklch(33.8% 0.049 296.8);
Tailwind
colors: {
  custom: {
    50: '#70697f',
    500: '#3a324e',
    950: '#000000',
  },
}
SCSS
$custom: #3a324e;
$custom-light: #70697f;
$custom-dark: #000000;
JSON
{
  "hex": "#3a324e",
  "rgb": {
    "r": 58,
    "g": 50,
    "b": 78
  },
  "hsl": {
    "h": 257.143,
    "s": 21.875,
    "l": 25.098
  },
  "oklch": {
    "l": 0.33825,
    "c": 0.04926,
    "h": 296.8
  },
  "luminance": 0.03731
}

Semantic roles & 50–950 ramp

primary
#3A324E
secondary
#757F5D
accent
#BE69A6
background
#F6F6F7
surface
#ECEBEE
border
#C7C6C9
text
#07060A
muted
#7A7A7C

Preview Lab

Preview with #3A324E

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

Preview Lab → · Contrast checker → · Palette generator →

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