#3E326B#3E326B

#3E326B is a dark, moderate violet. Relative luminance 0.044; OKLCH L 36.0% C 0.096 H 290.5°. Best body text is #FFFFFF at 11.21:1 contrast (WCAG AA passes).

Color values

HEX#3E326B
RGBrgb(62, 50, 107)
HSLhsl(253, 36%, 31%)
HSVhsv(253, 53%, 42%)
CMYKcmyk(42.1%, 53.3%, 0%, 58%)
CIE-LABlab(24.85, 20.55, -31.58)
CIE-LCHlch(24.85, 37.68, 303.06°)
OKLaboklab(36.05% 0.0334 -0.0895)
OKLCHoklch(36.05% 0.096 290.5)
XYZxyz(5.7803, 4.3667, 14.4454)
Luminance0.0437 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E326B #5F6B32
analogous
#32426B #3E326B #5A326B
triadic
#3E326B #6B3E32 #326B3E
tetradic
#3E326B #6B3242 #5F6B32 #326B5A
square
#3E326B #6B3242 #5F6B32 #326B5A
split-complementary
#3E326B #6B5A32 #426B32
monochromatic
#0E0B18 #261F41 #3E326B #564595 #7362B6

Accessibility & contrast

On white

11.21
#3E326B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#3E326B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E326B
11.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E326B#FFFFFF#000000##FFFFFF
##3E326B1.0011.211.8711.21
#FFFFFF11.211.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B3C6D
Deuteranopia (green-blind)
#1C3A6A
Tritanopia (blue-blind)
#323E49
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #3e326b;
/* rgb */ color: rgb(62, 50, 107);
/* oklch */ color: oklch(36.0% 0.096 290.5);
Tailwind
colors: {
  custom: {
    50: '#766a96',
    500: '#3e326b',
    950: '#000000',
  },
}
SCSS
$custom: #3e326b;
$custom-light: #766a96;
$custom-dark: #000000;
JSON
{
  "hex": "#3e326b",
  "rgb": {
    "r": 62,
    "g": 50,
    "b": 107
  },
  "hsl": {
    "h": 252.632,
    "s": 36.306,
    "l": 30.784
  },
  "oklch": {
    "l": 0.3605,
    "c": 0.09551,
    "h": 290.5
  },
  "luminance": 0.04367
}

Semantic roles & 50–950 ramp

primary
#3E326B
secondary
#8F9C5D
accent
#CC5BB5
background
#F7F6F9
surface
#EDEBF2
border
#C8C6CC
text
#09060D
muted
#7B7A7E

Preview Lab

Preview with #3E326B

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

Preview Lab → · Contrast checker → · Palette generator →

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