#3E2C9D#3E2C9D

#3E2C9D is a dark, vivid blue. Relative luminance 0.053; OKLCH L 39.2% C 0.173 H 282.2°. Best body text is #FFFFFF at 10.23:1 contrast (WCAG AA passes).

Color values

HEX#3E2C9D
RGBrgb(62, 44, 157)
HSLhsl(250, 56%, 39%)
HSVhsv(250, 72%, 62%)
CMYKcmyk(60.5%, 72%, 0%, 38.4%)
CIE-LABlab(27.46, 40.32, -58.64)
CIE-LCHlch(27.46, 71.16, 304.51°)
OKLaboklab(39.22% 0.0365 -0.169)
OKLCHoklch(39.22% 0.173 282.2)
XYZxyz(8.9712, 5.2592, 32.4341)
Luminance0.0526 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E2C9D #8B9D2C
analogous
#2C529D #3E2C9D #772C9D
triadic
#3E2C9D #9D3E2C #2C9D3E
tetradic
#3E2C9D #9D2C52 #8B9D2C #2C9D77
square
#3E2C9D #9D2C52 #8B9D2C #2C9D77
split-complementary
#3E2C9D #9D772C #529D2C
monochromatic
#18113D #2B1F6D #3E2C9D #543DC9 #7E6DD6

Accessibility & contrast

On white

10.23
#3E2C9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#3E2C9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E2C9D
10.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E2C9D#FFFFFF#000000##FFFFFF
##3E2C9D1.0010.232.0510.23
#FFFFFF10.231.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A0
Deuteranopia (green-blind)
#003D9B
Tritanopia (blue-blind)
#004B61
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #3e2c9d;
/* rgb */ color: rgb(62, 44, 157);
/* oklch */ color: oklch(39.2% 0.173 282.2);
Tailwind
colors: {
  custom: {
    50: '#7f67bb',
    500: '#3e2c9d',
    950: '#000000',
  },
}
SCSS
$custom: #3e2c9d;
$custom-light: #7f67bb;
$custom-dark: #000000;
JSON
{
  "hex": "#3e2c9d",
  "rgb": {
    "r": 62,
    "g": 44,
    "b": 157
  },
  "hsl": {
    "h": 249.558,
    "s": 56.219,
    "l": 39.412
  },
  "oklch": {
    "l": 0.39215,
    "c": 0.17285,
    "h": 282.2
  },
  "luminance": 0.0526
}

Semantic roles & 50–950 ramp

primary
#3E2C9D
secondary
#B0BD68
accent
#E048C7
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #3E2C9D

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

Preview Lab → · Contrast checker → · Palette generator →

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