#3E3454#3E3454

#3E3454 is a dark, muted violet. Relative luminance 0.041; OKLCH L 35.0% C 0.056 H 297.8°. Best body text is #FFFFFF at 11.51:1 contrast (WCAG AA passes).

Color values

HEX#3E3454
RGBrgb(62, 52, 84)
HSLhsl(259, 24%, 27%)
HSVhsv(259, 38%, 33%)
CMYKcmyk(26.2%, 38.1%, 0%, 67.1%)
CIE-LABlab(24.06, 12.31, -17.81)
CIE-LCHlch(24.06, 21.65, 304.65°)
OKLaboklab(35.02% 0.0261 -0.0494)
OKLCHoklch(35.02% 0.056 297.8)
XYZxyz(4.8145, 4.1202, 8.9274)
Luminance0.0412 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E3454 #4A5434
analogous
#343A54 #3E3454 #4E3454
triadic
#3E3454 #543E34 #34543E
tetradic
#3E3454 #54343A #4A5434 #34544E
square
#3E3454 #54343A #4A5434 #34544E
split-complementary
#3E3454 #544E34 #3A5434
monochromatic
#0E0C13 #221D2E #3E3454 #5A4B7A #76649F

Accessibility & contrast

On white

11.51
#3E3454 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#3E3454 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E3454
11.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E3454#FFFFFF#000000##FFFFFF
##3E34541.0011.511.8211.51
#FFFFFF11.511.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C3955
Deuteranopia (green-blind)
#2E3953
Tritanopia (blue-blind)
#3A3940
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #3e3454;
/* rgb */ color: rgb(62, 52, 84);
/* oklch */ color: oklch(35.0% 0.056 297.8);
Tailwind
colors: {
  custom: {
    50: '#746b84',
    500: '#3e3454',
    950: '#000000',
  },
}
SCSS
$custom: #3e3454;
$custom-light: #746b84;
$custom-dark: #000000;
JSON
{
  "hex": "#3e3454",
  "rgb": {
    "r": 62,
    "g": 52,
    "b": 84
  },
  "hsl": {
    "h": 258.75,
    "s": 23.529,
    "l": 26.667
  },
  "oklch": {
    "l": 0.35022,
    "c": 0.05587,
    "h": 297.8
  },
  "luminance": 0.0412
}

Semantic roles & 50–950 ramp

primary
#3E3454
secondary
#79855F
accent
#C068A4
background
#F7F6F8
surface
#EDEBEF
border
#C8C6CA
text
#08060B
muted
#7B7A7C

Preview Lab

Preview with #3E3454

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

Preview Lab → · Contrast checker → · Palette generator →

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