#3A3442#3A3442

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

Color values

HEX#3A3442
RGBrgb(58, 52, 66)
HSLhsl(266, 12%, 23%)
HSVhsv(266, 21%, 26%)
CMYKcmyk(12.1%, 21.2%, 0%, 74.1%)
CIE-LABlab(22.82, 5.94, -7.74)
CIE-LCHlch(22.82, 9.76, 307.48°)
OKLaboklab(33.7% 0.0144 -0.021)
OKLCHoklch(33.7% 0.025 304.5)
XYZxyz(3.9561, 3.7489, 5.6684)
Luminance0.0375 (WCAG relative)
Temperatureneutral
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A3442 #3C4234
analogous
#343542 #3A3442 #413442
triadic
#3A3442 #423A34 #34423A
tetradic
#3A3442 #423435 #3C4234 #344241
square
#3A3442 #423435 #3C4234 #344241
split-complementary
#3A3442 #424134 #354234
monochromatic
#0F0D11 #1C1920 #3A3442 #584F64 #766A86

Accessibility & contrast

On white

12.00
#3A3442 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A3442
12.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A3442#FFFFFF#000000##FFFFFF
##3A34421.0012.001.7512.00
#FFFFFF12.001.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#323643
Deuteranopia (green-blind)
#333642
Tritanopia (blue-blind)
#393639
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #3a3442;
/* rgb */ color: rgb(58, 52, 66);
/* oklch */ color: oklch(33.7% 0.025 304.5);
Tailwind
colors: {
  custom: {
    50: '#706b76',
    500: '#3a3442',
    950: '#000000',
  },
}
SCSS
$custom: #3a3442;
$custom-light: #706b76;
$custom-dark: #000000;
JSON
{
  "hex": "#3a3442",
  "rgb": {
    "r": 58,
    "g": 52,
    "b": 66
  },
  "hsl": {
    "h": 265.714,
    "s": 11.864,
    "l": 23.137
  },
  "oklch": {
    "l": 0.33695,
    "c": 0.02546,
    "h": 304.5
  },
  "luminance": 0.03749
}

Semantic roles & 50–950 ramp

primary
#3A3442
secondary
#6A7260
accent
#B57399
background
#F6F6F7
surface
#ECEBED
border
#C7C6C8
text
#070608
muted
#7A7A7B

Preview Lab

Preview with #3A3442

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

Preview Lab → · Contrast checker → · Palette generator →

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