#3A3046#3A3046

#3A3046 is a dark, muted violet. Relative luminance 0.035; OKLCH L 33.0% C 0.040 H 305.1°. Best body text is #FFFFFF at 12.42:1 contrast (WCAG AA passes).

Color values

HEX#3A3046
RGBrgb(58, 48, 70)
HSLhsl(267, 19%, 23%)
HSVhsv(267, 31%, 27%)
CMYKcmyk(17.1%, 31.4%, 0%, 72.5%)
CIE-LABlab(21.78, 9.70, -12.02)
CIE-LCHlch(21.78, 15.45, 308.90°)
OKLaboklab(32.95% 0.0231 -0.0329)
OKLCHoklch(32.95% 0.04 305.1)
XYZxyz(3.9072, 3.4557, 6.2543)
Luminance0.0346 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A3046 #3C4630
analogous
#303146 #3A3046 #453046
triadic
#3A3046 #463A30 #30463A
tetradic
#3A3046 #463031 #3C4630 #304645
square
#3A3046 #463031 #3C4630 #304645
split-complementary
#3A3046 #464530 #314630
monochromatic
#0F0C12 #1C1722 #3A3046 #58496A #76628F

Accessibility & contrast

On white

12.42
#3A3046 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#3A3046 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A3046
12.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A3046#FFFFFF#000000##FFFFFF
##3A30461.0012.421.6912.42
#FFFFFF12.421.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C3447
Deuteranopia (green-blind)
#2E3445
Tritanopia (blue-blind)
#383338
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #3a3046;
/* rgb */ color: rgb(58, 48, 70);
/* oklch */ color: oklch(33.0% 0.040 305.1);
Tailwind
colors: {
  custom: {
    50: '#706879',
    500: '#3a3046',
    950: '#000000',
  },
}
SCSS
$custom: #3a3046;
$custom-light: #706879;
$custom-dark: #000000;
JSON
{
  "hex": "#3a3046",
  "rgb": {
    "r": 58,
    "g": 48,
    "b": 70
  },
  "hsl": {
    "h": 267.273,
    "s": 18.644,
    "l": 23.137
  },
  "oklch": {
    "l": 0.3295,
    "c": 0.04025,
    "h": 305.1
  },
  "luminance": 0.03456
}

Semantic roles & 50–950 ramp

primary
#3A3046
secondary
#6A775B
accent
#BB6D97
background
#F6F6F7
surface
#ECEBED
border
#C7C6C8
text
#070609
muted
#7A7A7B

Preview Lab

Preview with #3A3046

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

Preview Lab → · Contrast checker → · Palette generator →

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