#3A3048#3A3048

#3A3048 is a dark, muted violet. Relative luminance 0.035; OKLCH L 33.1% C 0.043 H 303.2°. Best body text is #FFFFFF at 12.38:1 contrast (WCAG AA passes).

Color values

HEX#3A3048
RGBrgb(58, 48, 72)
HSLhsl(265, 20%, 24%)
HSVhsv(265, 33%, 28%)
CMYKcmyk(19.4%, 33.3%, 0%, 71.8%)
CIE-LABlab(21.88, 10.24, -13.23)
CIE-LCHlch(21.88, 16.73, 307.74°)
OKLaboklab(33.05% 0.0238 -0.0364)
OKLCHoklch(33.05% 0.043 303.2)
XYZxyz(3.9713, 3.4813, 6.5924)
Luminance0.0348 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A3048 #3E4830
analogous
#303248 #3A3048 #463048
triadic
#3A3048 #483A30 #30483A
tetradic
#3A3048 #483032 #3E4830 #304846
square
#3A3048 #483032 #3E4830 #304846
split-complementary
#3A3048 #484630 #324830
monochromatic
#0F0C12 #1C1823 #3A3048 #58486D #756191

Accessibility & contrast

On white

12.38
#3A3048 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#3A3048 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A3048
12.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A3048#FFFFFF#000000##FFFFFF
##3A30481.0012.381.7012.38
#FFFFFF12.381.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B3449
Deuteranopia (green-blind)
#2D3447
Tritanopia (blue-blind)
#383439
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #3a3048;
/* rgb */ color: rgb(58, 48, 72);
/* oklch */ color: oklch(33.1% 0.043 303.2);
Tailwind
colors: {
  custom: {
    50: '#70687b',
    500: '#3a3048',
    950: '#000000',
  },
}
SCSS
$custom: #3a3048;
$custom-light: #70687b;
$custom-dark: #000000;
JSON
{
  "hex": "#3a3048",
  "rgb": {
    "r": 58,
    "g": 48,
    "b": 72
  },
  "hsl": {
    "h": 265,
    "s": 20,
    "l": 23.529
  },
  "oklch": {
    "l": 0.33052,
    "c": 0.04346,
    "h": 303.2
  },
  "luminance": 0.03481
}

Semantic roles & 50–950 ramp

primary
#3A3048
secondary
#6C795B
accent
#BD6B9B
background
#F6F6F7
surface
#ECEBED
border
#C7C6C8
text
#070609
muted
#7A7A7B

Preview Lab

Preview with #3A3048

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

Preview Lab → · Contrast checker → · Palette generator →

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