#3A3545#3A3545

#3A3545 is a dark, muted violet. Relative luminance 0.039; OKLCH L 34.1% C 0.028 H 299.2°. Best body text is #FFFFFF at 11.83:1 contrast (WCAG AA passes).

Color values

HEX#3A3545
RGBrgb(58, 53, 69)
HSLhsl(259, 13%, 24%)
HSVhsv(259, 23%, 27%)
CMYKcmyk(15.9%, 23.2%, 0%, 72.9%)
CIE-LABlab(23.26, 6.04, -9.10)
CIE-LCHlch(23.26, 10.92, 303.56°)
OKLaboklab(34.07% 0.0138 -0.0248)
OKLCHoklch(34.07% 0.028 299.2)
XYZxyz(4.0920, 3.8754, 6.1615)
Luminance0.0387 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A3545 #404535
analogous
#353845 #3A3545 #423545
triadic
#3A3545 #453A35 #35453A
tetradic
#3A3545 #453538 #404535 #354542
square
#3A3545 #453538 #404535 #354542
split-complementary
#3A3545 #454235 #384535
monochromatic
#0F0D11 #1D1A22 #3A3545 #575068 #746A8A

Accessibility & contrast

On white

11.83
#3A3545 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#3A3545 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A3545
11.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A3545#FFFFFF#000000##FFFFFF
##3A35451.0011.831.7811.83
#FFFFFF11.831.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#323746
Deuteranopia (green-blind)
#333745
Tritanopia (blue-blind)
#38373A
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #3a3545;
/* rgb */ color: rgb(58, 53, 69);
/* oklch */ color: oklch(34.1% 0.028 299.2);
Tailwind
colors: {
  custom: {
    50: '#706c78',
    500: '#3a3545',
    950: '#000000',
  },
}
SCSS
$custom: #3a3545;
$custom-light: #706c78;
$custom-dark: #000000;
JSON
{
  "hex": "#3a3545",
  "rgb": {
    "r": 58,
    "g": 53,
    "b": 69
  },
  "hsl": {
    "h": 258.75,
    "s": 13.115,
    "l": 23.922
  },
  "oklch": {
    "l": 0.3407,
    "c": 0.02838,
    "h": 299.2
  },
  "luminance": 0.03875
}

Semantic roles & 50–950 ramp

primary
#3A3545
secondary
#6F7561
accent
#B672A1
background
#F6F6F7
surface
#ECEBED
border
#C7C6C8
text
#070609
muted
#7A7A7B

Preview Lab

Preview with #3A3545

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

Preview Lab → · Contrast checker → · Palette generator →

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