#3E2B4A#3E2B4A

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

Color values

HEX#3E2B4A
RGBrgb(62, 43, 74)
HSLhsl(277, 26%, 23%)
HSVhsv(277, 42%, 29%)
CMYKcmyk(16.2%, 41.9%, 0%, 71%)
CIE-LABlab(21.00, 15.66, -15.89)
CIE-LCHlch(21.00, 22.31, 314.57°)
OKLaboklab(32.53% 0.0389 -0.0438)
OKLCHoklch(32.53% 0.059 311.5)
XYZxyz(4.0863, 3.2464, 6.8886)
Luminance0.0325 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E2B4A #374A2B
analogous
#2E2B4A #3E2B4A #4A2B46
triadic
#3E2B4A #4A3E2B #2B4A3E
tetradic
#3E2B4A #4A2E2B #374A2B #2B464A
square
#3E2B4A #4A2E2B #374A2B #2B464A
split-complementary
#3E2B4A #464A2B #2B4A2E
monochromatic
#100B13 #1E1523 #3E2B4A #5E4171 #7F5897

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3E2B4A#FFFFFF#000000##FFFFFF
##3E2B4A1.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)
#25324B
Deuteranopia (green-blind)
#2A3349
Tritanopia (blue-blind)
#3D2F37
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #3e2b4a;
/* rgb */ color: rgb(62, 43, 74);
/* oklch */ color: oklch(32.5% 0.059 311.5);
Tailwind
colors: {
  custom: {
    50: '#74647c',
    500: '#3e2b4a',
    950: '#000000',
  },
}
SCSS
$custom: #3e2b4a;
$custom-light: #74647c;
$custom-dark: #000000;
JSON
{
  "hex": "#3e2b4a",
  "rgb": {
    "r": 62,
    "g": 43,
    "b": 74
  },
  "hsl": {
    "h": 276.774,
    "s": 26.496,
    "l": 22.941
  },
  "oklch": {
    "l": 0.32528,
    "c": 0.05859,
    "h": 311.5
  },
  "luminance": 0.03246
}

Semantic roles & 50–950 ramp

primary
#3E2B4A
secondary
#647C55
accent
#C36589
background
#F7F6F7
surface
#EDEBEE
border
#C8C6C9
text
#080509
muted
#7B7A7B

Preview Lab

Preview with #3E2B4A

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

Preview Lab → · Contrast checker → · Palette generator →

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