#3A3246#3A3246

#3A3246 is a dark, muted violet. Relative luminance 0.036; OKLCH L 33.4% C 0.036 H 302.8°. Best body text is #FFFFFF at 12.18:1 contrast (WCAG AA passes).

Color values

HEX#3A3246
RGBrgb(58, 50, 70)
HSLhsl(264, 17%, 24%)
HSVhsv(264, 29%, 27%)
CMYKcmyk(17.1%, 28.6%, 0%, 72.5%)
CIE-LABlab(22.38, 8.34, -11.10)
CIE-LCHlch(22.38, 13.89, 306.90°)
OKLaboklab(33.41% 0.0196 -0.0304)
OKLCHoklch(33.41% 0.036 302.8)
XYZxyz(3.9908, 3.6229, 6.2822)
Luminance0.0362 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A3246 #3E4632
analogous
#323446 #3A3246 #443246
triadic
#3A3246 #463A32 #32463A
tetradic
#3A3246 #463234 #3E4632 #324644
square
#3A3246 #463234 #3E4632 #324644
split-complementary
#3A3246 #464432 #344632
monochromatic
#0F0D12 #1C1822 #3A3246 #584B6A #75658D

Accessibility & contrast

On white

12.18
#3A3246 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#3A3246 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A3246
12.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A3246#FFFFFF#000000##FFFFFF
##3A32461.0012.181.7212.18
#FFFFFF12.181.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E3547
Deuteranopia (green-blind)
#303545
Tritanopia (blue-blind)
#383539
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #3a3246;
/* rgb */ color: rgb(58, 50, 70);
/* oklch */ color: oklch(33.4% 0.036 302.8);
Tailwind
colors: {
  custom: {
    50: '#706979',
    500: '#3a3246',
    950: '#000000',
  },
}
SCSS
$custom: #3a3246;
$custom-light: #706979;
$custom-dark: #000000;
JSON
{
  "hex": "#3a3246",
  "rgb": {
    "r": 58,
    "g": 50,
    "b": 70
  },
  "hsl": {
    "h": 264,
    "s": 16.667,
    "l": 23.529
  },
  "oklch": {
    "l": 0.33411,
    "c": 0.03612,
    "h": 302.8
  },
  "luminance": 0.03623
}

Semantic roles & 50–950 ramp

primary
#3A3246
secondary
#6C765E
accent
#B96E9B
background
#F6F6F7
surface
#ECEBED
border
#C7C6C8
text
#070609
muted
#7A7A7B

Preview Lab

Preview with #3A3246

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

Preview Lab → · Contrast checker → · Palette generator →

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