#3E3552#3E3552

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

Color values

HEX#3E3552
RGBrgb(62, 53, 82)
HSLhsl(259, 21%, 26%)
HSVhsv(259, 35%, 32%)
CMYKcmyk(24.4%, 35.4%, 0%, 67.8%)
CIE-LABlab(24.26, 11.07, -16.19)
CIE-LCHlch(24.26, 19.61, 304.37°)
OKLaboklab(35.14% 0.0238 -0.0448)
OKLCHoklch(35.14% 0.051 298)
XYZxyz(4.7824, 4.1795, 8.5358)
Luminance0.0418 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E3552 #495235
analogous
#353B52 #3E3552 #4D3552
triadic
#3E3552 #523E35 #35523E
tetradic
#3E3552 #52353B #495235 #35524D
square
#3E3552 #52353B #495235 #35524D
split-complementary
#3E3552 #524D35 #3B5235
monochromatic
#0E0C13 #221D2D #3E3552 #5A4D77 #76669C

Accessibility & contrast

On white

11.44
#3E3552 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#3E3552 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E3552
11.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E3552#FFFFFF#000000##FFFFFF
##3E35521.0011.441.8411.44
#FFFFFF11.441.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E3A53
Deuteranopia (green-blind)
#303951
Tritanopia (blue-blind)
#3A3A3F
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #3e3552;
/* rgb */ color: rgb(62, 53, 82);
/* oklch */ color: oklch(35.1% 0.051 298.0);
Tailwind
colors: {
  custom: {
    50: '#746c82',
    500: '#3e3552',
    950: '#000000',
  },
}
SCSS
$custom: #3e3552;
$custom-light: #746c82;
$custom-dark: #000000;
JSON
{
  "hex": "#3e3552",
  "rgb": {
    "r": 62,
    "g": 53,
    "b": 82
  },
  "hsl": {
    "h": 258.621,
    "s": 21.481,
    "l": 26.471
  },
  "oklch": {
    "l": 0.35136,
    "c": 0.0507,
    "h": 298
  },
  "luminance": 0.0418
}

Semantic roles & 50–950 ramp

primary
#3E3552
secondary
#788260
accent
#BE6AA4
background
#F7F6F8
surface
#EDEBEF
border
#C8C6CA
text
#08070A
muted
#7B7A7C

Preview Lab

Preview with #3E3552

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

Preview Lab → · Contrast checker → · Palette generator →

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