#3A3248#3A3248

#3A3248 is a dark, muted violet. Relative luminance 0.036; OKLCH L 33.5% C 0.039 H 301.0°. Best body text is #FFFFFF at 12.14:1 contrast (WCAG AA passes).

Color values

HEX#3A3248
RGBrgb(58, 50, 72)
HSLhsl(262, 18%, 24%)
HSVhsv(262, 31%, 28%)
CMYKcmyk(19.4%, 30.6%, 0%, 71.8%)
CIE-LABlab(22.47, 8.88, -12.31)
CIE-LCHlch(22.47, 15.18, 305.79°)
OKLaboklab(33.51% 0.0203 -0.0338)
OKLCHoklch(33.51% 0.039 301)
XYZxyz(4.0550, 3.6486, 6.6203)
Luminance0.0365 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A3248 #404832
analogous
#323548 #3A3248 #453248
triadic
#3A3248 #483A32 #32483A
tetradic
#3A3248 #483235 #404832 #324845
square
#3A3248 #483235 #404832 #324845
split-complementary
#3A3248 #484532 #354832
monochromatic
#0F0D12 #1D1924 #3A3248 #574B6C #746490

Accessibility & contrast

On white

12.14
#3A3248 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#3A3248 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A3248
12.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A3248#FFFFFF#000000##FFFFFF
##3A32481.0012.141.7312.14
#FFFFFF12.141.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D3649
Deuteranopia (green-blind)
#2F3647
Tritanopia (blue-blind)
#38353A
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #3a3248;
/* rgb */ color: rgb(58, 50, 72);
/* oklch */ color: oklch(33.5% 0.039 301.0);
Tailwind
colors: {
  custom: {
    50: '#70697b',
    500: '#3a3248',
    950: '#000000',
  },
}
SCSS
$custom: #3a3248;
$custom-light: #70697b;
$custom-dark: #000000;
JSON
{
  "hex": "#3a3248",
  "rgb": {
    "r": 58,
    "g": 50,
    "b": 72
  },
  "hsl": {
    "h": 261.818,
    "s": 18.033,
    "l": 23.922
  },
  "oklch": {
    "l": 0.33511,
    "c": 0.03939,
    "h": 301
  },
  "luminance": 0.03649
}

Semantic roles & 50–950 ramp

primary
#3A3248
secondary
#6F785D
accent
#BB6D9E
background
#F6F6F7
surface
#ECEBED
border
#C7C6C8
text
#070609
muted
#7A7A7B

Preview Lab

Preview with #3A3248

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

Preview Lab → · Contrast checker → · Palette generator →

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