#3E329A#3E329A

#3E329A is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.9% C 0.162 H 281.4°. Best body text is #FFFFFF at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#3E329A
RGBrgb(62, 50, 154)
HSLhsl(247, 51%, 40%)
HSVhsv(247, 68%, 60%)
CMYKcmyk(59.7%, 67.5%, 0%, 39.6%)
CIE-LABlab(28.48, 35.82, -55.14)
CIE-LCHlch(28.48, 65.75, 303.01°)
OKLaboklab(39.86% 0.0319 -0.1587)
OKLCHoklch(39.86% 0.162 281.4)
XYZxyz(8.9581, 5.6378, 31.1817)
Luminance0.0564 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E329A #8E9A32
analogous
#325A9A #3E329A #72329A
triadic
#3E329A #9A3E32 #329A3E
tetradic
#3E329A #9A325A #8E9A32 #329A72
square
#3E329A #9A325A #8E9A32 #329A72
split-complementary
#3E329A #9A7232 #5A9A32
monochromatic
#19143E #2B236C #3E329A #5546C3 #7F74D2

Accessibility & contrast

On white

9.87
#3E329A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#3E329A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E329A
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E329A#FFFFFF#000000##FFFFFF
##3E329A1.009.872.139.87
#FFFFFF9.871.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00479D
Deuteranopia (green-blind)
#003F98
Tritanopia (blue-blind)
#014D61
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #3e329a;
/* rgb */ color: rgb(62, 50, 154);
/* oklch */ color: oklch(39.9% 0.162 281.4);
Tailwind
colors: {
  custom: {
    50: '#7e6bb9',
    500: '#3e329a',
    950: '#000000',
  },
}
SCSS
$custom: #3e329a;
$custom-light: #7e6bb9;
$custom-dark: #000000;
JSON
{
  "hex": "#3e329a",
  "rgb": {
    "r": 62,
    "g": 50,
    "b": 154
  },
  "hsl": {
    "h": 246.923,
    "s": 50.98,
    "l": 40
  },
  "oklch": {
    "l": 0.39863,
    "c": 0.16189,
    "h": 281.4
  },
  "luminance": 0.05638
}

Semantic roles & 50–950 ramp

primary
#3E329A
secondary
#B1BA6E
accent
#DA4DCA
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #3E329A

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

Preview Lab → · Contrast checker → · Palette generator →

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