#3E346D#3E346D

#3E346D is a dark, moderate violet. Relative luminance 0.046; OKLCH L 36.6% C 0.095 H 288.9°. Best body text is #FFFFFF at 10.96:1 contrast (WCAG AA passes).

Color values

HEX#3E346D
RGBrgb(62, 52, 109)
HSLhsl(251, 35%, 32%)
HSVhsv(251, 52%, 43%)
CMYKcmyk(43.1%, 52.3%, 0%, 57.3%)
CIE-LABlab(25.52, 19.85, -31.80)
CIE-LCHlch(25.52, 37.49, 301.98°)
OKLaboklab(36.59% 0.0308 -0.0901)
OKLCHoklch(36.59% 0.095 288.9)
XYZxyz(5.9741, 4.5840, 15.0351)
Luminance0.0458 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E346D #636D34
analogous
#34476D #3E346D #5B346D
triadic
#3E346D #6D3E34 #346D3E
tetradic
#3E346D #6D3447 #636D34 #346D5B
square
#3E346D #6D3447 #636D34 #346D5B
split-complementary
#3E346D #6D5B34 #476D34
monochromatic
#0F0C1A #262044 #3E346D #564896 #7466B6

Accessibility & contrast

On white

10.96
#3E346D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#3E346D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E346D
10.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E346D#FFFFFF#000000##FFFFFF
##3E346D1.0010.961.9210.96
#FFFFFF10.961.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D3E6F
Deuteranopia (green-blind)
#1D3B6C
Tritanopia (blue-blind)
#31404B
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #3e346d;
/* rgb */ color: rgb(62, 52, 109);
/* oklch */ color: oklch(36.6% 0.095 288.9);
Tailwind
colors: {
  custom: {
    50: '#766b97',
    500: '#3e346d',
    950: '#000000',
  },
}
SCSS
$custom: #3e346d;
$custom-light: #766b97;
$custom-dark: #000000;
JSON
{
  "hex": "#3e346d",
  "rgb": {
    "r": 62,
    "g": 52,
    "b": 109
  },
  "hsl": {
    "h": 250.526,
    "s": 35.404,
    "l": 31.569
  },
  "oklch": {
    "l": 0.36592,
    "c": 0.09523,
    "h": 288.9
  },
  "luminance": 0.04584
}

Semantic roles & 50–950 ramp

primary
#3E346D
secondary
#939E5F
accent
#CB5CB8
background
#F7F6F9
surface
#EDEBF2
border
#C8C6CC
text
#09060D
muted
#7B7A7E

Preview Lab

Preview with #3E346D

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

Preview Lab → · Contrast checker → · Palette generator →

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