#3A2E46#3A2E46

#3A2E46 is a dark, muted violet. Relative luminance 0.033; OKLCH L 32.5% C 0.044 H 306.9°. Best body text is #FFFFFF at 12.66:1 contrast (WCAG AA passes).

Color values

HEX#3A2E46
RGBrgb(58, 46, 70)
HSLhsl(270, 21%, 23%)
HSVhsv(270, 34%, 27%)
CMYKcmyk(17.1%, 34.3%, 0%, 72.5%)
CIE-LABlab(21.19, 11.07, -12.93)
CIE-LCHlch(21.19, 17.02, 310.55°)
OKLaboklab(32.5% 0.0267 -0.0355)
OKLCHoklch(32.5% 0.044 306.9)
XYZxyz(3.8272, 3.2958, 6.2277)
Luminance0.0330 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A2E46 #3A462E
analogous
#2E2E46 #3A2E46 #462E46
triadic
#3A2E46 #463A2E #2E463A
tetradic
#3A2E46 #462E2E #3A462E #2E4646
square
#3A2E46 #462E2E #3A462E #2E4646
split-complementary
#3A2E46 #46462E #2E462E
monochromatic
#0F0C12 #1B1621 #3A2E46 #59466B #775F90

Accessibility & contrast

On white

12.66
#3A2E46 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#3A2E46 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A2E46
12.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A2E46#FFFFFF#000000##FFFFFF
##3A2E461.0012.661.6612.66
#FFFFFF12.661.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#293247
Deuteranopia (green-blind)
#2C3345
Tritanopia (blue-blind)
#383137
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #3a2e46;
/* rgb */ color: rgb(58, 46, 70);
/* oklch */ color: oklch(32.5% 0.044 306.9);
Tailwind
colors: {
  custom: {
    50: '#706679',
    500: '#3a2e46',
    950: '#000000',
  },
}
SCSS
$custom: #3a2e46;
$custom-light: #706679;
$custom-dark: #000000;
JSON
{
  "hex": "#3a2e46",
  "rgb": {
    "r": 58,
    "g": 46,
    "b": 70
  },
  "hsl": {
    "h": 270,
    "s": 20.69,
    "l": 22.745
  },
  "oklch": {
    "l": 0.32496,
    "c": 0.04443,
    "h": 306.9
  },
  "luminance": 0.03296
}

Semantic roles & 50–950 ramp

primary
#3A2E46
secondary
#687759
accent
#BD6B94
background
#F6F6F7
surface
#ECEBED
border
#C7C6C8
text
#070609
muted
#7A7A7B

Preview Lab

Preview with #3A2E46

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

Preview Lab → · Contrast checker → · Palette generator →

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