#3A2E42#3A2E42

#3A2E42 is a dark, muted violet. Relative luminance 0.032; OKLCH L 32.3% C 0.038 H 311.5°. Best body text is #FFFFFF at 12.73:1 contrast (WCAG AA passes).

Color values

HEX#3A2E42
RGBrgb(58, 46, 66)
HSLhsl(276, 18%, 22%)
HSVhsv(276, 30%, 26%)
CMYKcmyk(12.1%, 30.3%, 0%, 74.1%)
CIE-LABlab(21.01, 10.02, -10.50)
CIE-LCHlch(21.01, 14.52, 313.65°)
OKLaboklab(32.29% 0.0253 -0.0286)
OKLCHoklch(32.29% 0.038 311.5)
XYZxyz(3.7051, 3.2469, 5.5847)
Luminance0.0325 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A2E42 #36422E
analogous
#302E42 #3A2E42 #422E40
triadic
#3A2E42 #423A2E #2E423A
tetradic
#3A2E42 #42302E #36422E #2E4042
square
#3A2E42 #42302E #36422E #2E4042
split-complementary
#3A2E42 #40422E #2E4230
monochromatic
#100D12 #1A151E #3A2E42 #5A4766 #79608A

Accessibility & contrast

On white

12.73
#3A2E42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#3A2E42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A2E42
12.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A2E42#FFFFFF#000000##FFFFFF
##3A2E421.0012.731.6512.73
#FFFFFF12.731.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B3243
Deuteranopia (green-blind)
#2D3341
Tritanopia (blue-blind)
#393135
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #3a2e42;
/* rgb */ color: rgb(58, 46, 66);
/* oklch */ color: oklch(32.3% 0.038 311.5);
Tailwind
colors: {
  custom: {
    50: '#706676',
    500: '#3a2e42',
    950: '#000000',
  },
}
SCSS
$custom: #3a2e42;
$custom-light: #706676;
$custom-dark: #000000;
JSON
{
  "hex": "#3a2e42",
  "rgb": {
    "r": 58,
    "g": 46,
    "b": 66
  },
  "hsl": {
    "h": 276,
    "s": 17.857,
    "l": 21.961
  },
  "oklch": {
    "l": 0.32293,
    "c": 0.03824,
    "h": 311.5
  },
  "luminance": 0.03247
}

Semantic roles & 50–950 ramp

primary
#3A2E42
secondary
#637359
accent
#BB6D8C
background
#F6F6F7
surface
#ECEBED
border
#C7C6C8
text
#070608
muted
#7A7A7B

Preview Lab

Preview with #3A2E42

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

Preview Lab → · Contrast checker → · Palette generator →

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