#3E329C#3E329C

#3E329C is a dark, vivid blue. Relative luminance 0.057; OKLCH L 40.0% C 0.165 H 281.1°. Best body text is #FFFFFF at 9.81:1 contrast (WCAG AA passes).

Color values

HEX#3E329C
RGBrgb(62, 50, 156)
HSLhsl(247, 51%, 40%)
HSVhsv(247, 68%, 61%)
CMYKcmyk(60.3%, 67.9%, 0%, 38.8%)
CIE-LABlab(28.66, 36.47, -56.07)
CIE-LCHlch(28.66, 66.89, 303.04°)
OKLaboklab(40.04% 0.0316 -0.1614)
OKLCHoklch(40.04% 0.165 281.1)
XYZxyz(9.1261, 5.7050, 32.0663)
Luminance0.0571 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E329C #909C32
analogous
#325B9C #3E329C #73329C
triadic
#3E329C #9C3E32 #329C3E
tetradic
#3E329C #9C325B #909C32 #329C73
square
#3E329C #9C325B #909C32 #329C73
split-complementary
#3E329C #9C7332 #5B9C32
monochromatic
#19143F #2C236E #3E329C #5547C4 #8075D3

Accessibility & contrast

On white

9.81
#3E329C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#3E329C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E329C
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E329C#FFFFFF#000000##FFFFFF
##3E329C1.009.812.149.81
#FFFFFF9.811.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00479F
Deuteranopia (green-blind)
#00409A
Tritanopia (blue-blind)
#004D62
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #3e329c;
/* rgb */ color: rgb(62, 50, 156);
/* oklch */ color: oklch(40.0% 0.165 281.1);
Tailwind
colors: {
  custom: {
    50: '#7e6bba',
    500: '#3e329c',
    950: '#000000',
  },
}
SCSS
$custom: #3e329c;
$custom-light: #7e6bba;
$custom-dark: #000000;
JSON
{
  "hex": "#3e329c",
  "rgb": {
    "r": 62,
    "g": 50,
    "b": 156
  },
  "hsl": {
    "h": 246.792,
    "s": 51.456,
    "l": 40.392
  },
  "oklch": {
    "l": 0.40044,
    "c": 0.16452,
    "h": 281.1
  },
  "luminance": 0.05706
}

Semantic roles & 50–950 ramp

primary
#3E329C
secondary
#B2BB6F
accent
#DB4DCB
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0712
muted
#7C7A81

Preview Lab

Preview with #3E329C

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

Preview Lab → · Contrast checker → · Palette generator →

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