#3E326F#3E326F

#3E326F is a dark, moderate violet. Relative luminance 0.045; OKLCH L 36.3% C 0.102 H 289.4°. Best body text is #FFFFFF at 11.11:1 contrast (WCAG AA passes).

Color values

HEX#3E326F
RGBrgb(62, 50, 111)
HSLhsl(252, 38%, 32%)
HSVhsv(252, 55%, 44%)
CMYKcmyk(44.1%, 55%, 0%, 56.5%)
CIE-LABlab(25.12, 21.82, -33.72)
CIE-LCHlch(25.12, 40.16, 302.91°)
OKLaboklab(36.34% 0.0337 -0.0957)
OKLCHoklch(36.34% 0.102 289.4)
XYZxyz(5.9957, 4.4528, 15.5794)
Luminance0.0445 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E326F #636F32
analogous
#32456F #3E326F #5D326F
triadic
#3E326F #6F3E32 #326F3E
tetradic
#3E326F #6F3245 #636F32 #326F5D
square
#3E326F #6F3245 #636F32 #326F5D
split-complementary
#3E326F #6F5D32 #456F32
monochromatic
#0F0C1B #261F45 #3E326F #564599 #7463B9

Accessibility & contrast

On white

11.11
#3E326F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#3E326F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E326F
11.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E326F#FFFFFF#000000##FFFFFF
##3E326F1.0011.111.8911.11
#FFFFFF11.111.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#173D71
Deuteranopia (green-blind)
#183A6E
Tritanopia (blue-blind)
#303F4B
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #3e326f;
/* rgb */ color: rgb(62, 50, 111);
/* oklch */ color: oklch(36.3% 0.102 289.4);
Tailwind
colors: {
  custom: {
    50: '#776a99',
    500: '#3e326f',
    950: '#000000',
  },
}
SCSS
$custom: #3e326f;
$custom-light: #776a99;
$custom-dark: #000000;
JSON
{
  "hex": "#3e326f",
  "rgb": {
    "r": 62,
    "g": 50,
    "b": 111
  },
  "hsl": {
    "h": 251.803,
    "s": 37.888,
    "l": 31.569
  },
  "oklch": {
    "l": 0.36336,
    "c": 0.10152,
    "h": 289.4
  },
  "luminance": 0.04453
}

Semantic roles & 50–950 ramp

primary
#3E326F
secondary
#93A05D
accent
#CE5AB7
background
#F7F6F9
surface
#EDEBF2
border
#C8C6CC
text
#09060E
muted
#7B7A7E

Preview Lab

Preview with #3E326F

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

Preview Lab → · Contrast checker → · Palette generator →

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