#3E3456#3E3456

#3E3456 is a dark, muted violet. Relative luminance 0.042; OKLCH L 35.1% C 0.059 H 296.8°. Best body text is #FFFFFF at 11.47:1 contrast (WCAG AA passes).

Color values

HEX#3E3456
RGBrgb(62, 52, 86)
HSLhsl(258, 25%, 27%)
HSVhsv(258, 40%, 34%)
CMYKcmyk(27.9%, 39.5%, 0%, 66.3%)
CIE-LABlab(24.17, 12.88, -18.97)
CIE-LCHlch(24.17, 22.93, 304.17°)
OKLaboklab(35.13% 0.0266 -0.0527)
OKLCHoklch(35.13% 0.059 296.8)
XYZxyz(4.8939, 4.1520, 9.3459)
Luminance0.0415 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E3456 #4C5634
analogous
#343B56 #3E3456 #4F3456
triadic
#3E3456 #563E34 #34563E
tetradic
#3E3456 #56343B #4C5634 #34564F
square
#3E3456 #56343B #4C5634 #34564F
split-complementary
#3E3456 #564F34 #3B5634
monochromatic
#0E0C13 #231D30 #3E3456 #594B7C #7663A1

Accessibility & contrast

On white

11.47
#3E3456 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#3E3456 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E3456
11.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E3456#FFFFFF#000000##FFFFFF
##3E34561.0011.471.8311.47
#FFFFFF11.471.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B3A57
Deuteranopia (green-blind)
#2D3955
Tritanopia (blue-blind)
#393A41
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #3e3456;
/* rgb */ color: rgb(62, 52, 86);
/* oklch */ color: oklch(35.1% 0.059 296.8);
Tailwind
colors: {
  custom: {
    50: '#746b86',
    500: '#3e3456',
    950: '#000000',
  },
}
SCSS
$custom: #3e3456;
$custom-light: #746b86;
$custom-dark: #000000;
JSON
{
  "hex": "#3e3456",
  "rgb": {
    "r": 62,
    "g": 52,
    "b": 86
  },
  "hsl": {
    "h": 257.647,
    "s": 24.638,
    "l": 27.059
  },
  "oklch": {
    "l": 0.35134,
    "c": 0.05908,
    "h": 296.8
  },
  "luminance": 0.04152
}

Semantic roles & 50–950 ramp

primary
#3E3456
secondary
#7B875F
accent
#C167A6
background
#F7F6F8
surface
#EDEBEF
border
#C8C6CA
text
#08060B
muted
#7B7A7C

Preview Lab

Preview with #3E3456

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

Preview Lab → · Contrast checker → · Palette generator →

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