#3A2E4E#3A2E4E

#3A2E4E is a dark, muted violet. Relative luminance 0.034; OKLCH L 32.9% C 0.057 H 300.6°. Best body text is #FFFFFF at 12.49:1 contrast (WCAG AA passes).

Color values

HEX#3A2E4E
RGBrgb(58, 46, 78)
HSLhsl(263, 26%, 24%)
HSVhsv(263, 41%, 31%)
CMYKcmyk(25.6%, 41%, 0%, 69.4%)
CIE-LABlab(21.59, 13.27, -17.70)
CIE-LCHlch(21.59, 22.13, 306.86°)
OKLaboklab(32.93% 0.029 -0.0492)
OKLCHoklch(32.93% 0.057 300.6)
XYZxyz(4.0968, 3.4036, 7.6474)
Luminance0.0340 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A2E4E #424E2E
analogous
#2E324E #3A2E4E #4A2E4E
triadic
#3A2E4E #4E3A2E #2E4E3A
tetradic
#3A2E4E #4E2E32 #424E2E #2E4E4A
square
#3A2E4E #4E2E32 #424E2E #2E4E4A
split-complementary
#3A2E4E #4E4A2E #324E2E
monochromatic
#0E0B13 #1D1728 #3A2E4E #574574 #735B9B

Accessibility & contrast

On white

12.49
#3A2E4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#3A2E4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A2E4E
12.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A2E4E#FFFFFF#000000##FFFFFF
##3A2E4E1.0012.491.6812.49
#FFFFFF12.491.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26344F
Deuteranopia (green-blind)
#28344D
Tritanopia (blue-blind)
#36333A
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #3a2e4e;
/* rgb */ color: rgb(58, 46, 78);
/* oklch */ color: oklch(32.9% 0.057 300.6);
Tailwind
colors: {
  custom: {
    50: '#71667f',
    500: '#3a2e4e',
    950: '#000000',
  },
}
SCSS
$custom: #3a2e4e;
$custom-light: #71667f;
$custom-dark: #000000;
JSON
{
  "hex": "#3a2e4e",
  "rgb": {
    "r": 58,
    "g": 46,
    "b": 78
  },
  "hsl": {
    "h": 262.5,
    "s": 25.806,
    "l": 24.314
  },
  "oklch": {
    "l": 0.32934,
    "c": 0.05711,
    "h": 300.6
  },
  "luminance": 0.03404
}

Semantic roles & 50–950 ramp

primary
#3A2E4E
secondary
#717F58
accent
#C2669F
background
#F6F6F7
surface
#ECEBEE
border
#C7C6C9
text
#07060A
muted
#7A7A7C

Preview Lab

Preview with #3A2E4E

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

Preview Lab → · Contrast checker → · Palette generator →

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