#3E2D4C#3E2D4C

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

Color values

HEX#3E2D4C
RGBrgb(62, 45, 76)
HSLhsl(273, 26%, 24%)
HSVhsv(273, 41%, 30%)
CMYKcmyk(18.4%, 40.8%, 0%, 70.2%)
CIE-LABlab(21.66, 14.84, -16.22)
CIE-LCHlch(21.66, 21.98, 312.46°)
OKLaboklab(33.06% 0.0359 -0.0448)
OKLCHoklch(33.06% 0.057 308.7)
XYZxyz(4.2293, 3.4228, 7.2739)
Luminance0.0342 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E2D4C #3B4C2D
analogous
#2E2D4C #3E2D4C #4C2D4A
triadic
#3E2D4C #4C3E2D #2D4C3E
tetradic
#3E2D4C #4C2E2D #3B4C2D #2D4A4C
square
#3E2D4C #4C2E2D #3B4C2D #2D4A4C
split-complementary
#3E2D4C #4A4C2D #2D4C2E
monochromatic
#100B13 #1F1626 #3E2D4C #5D4472 #7D5B99

Accessibility & contrast

On white

12.47
#3E2D4C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3E2D4C
12.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E2D4C#FFFFFF#000000##FFFFFF
##3E2D4C1.0012.471.6812.47
#FFFFFF12.471.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27334D
Deuteranopia (green-blind)
#2B344B
Tritanopia (blue-blind)
#3C3239
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #3e2d4c;
/* rgb */ color: rgb(62, 45, 76);
/* oklch */ color: oklch(33.1% 0.057 308.7);
Tailwind
colors: {
  custom: {
    50: '#74667e',
    500: '#3e2d4c',
    950: '#000000',
  },
}
SCSS
$custom: #3e2d4c;
$custom-light: #74667e;
$custom-dark: #000000;
JSON
{
  "hex": "#3e2d4c",
  "rgb": {
    "r": 62,
    "g": 45,
    "b": 76
  },
  "hsl": {
    "h": 272.903,
    "s": 25.62,
    "l": 23.725
  },
  "oklch": {
    "l": 0.33061,
    "c": 0.05739,
    "h": 308.7
  },
  "luminance": 0.03423
}

Semantic roles & 50–950 ramp

primary
#3E2D4C
secondary
#697D57
accent
#C2668F
background
#F7F6F7
surface
#EDEBEE
border
#C8C6C9
text
#08060A
muted
#7B7A7C

Preview Lab

Preview with #3E2D4C

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

Preview Lab → · Contrast checker → · Palette generator →

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