#3E2D99#3E2D99

#3E2D99 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 39.0% C 0.167 H 282.6°. Best body text is #FFFFFF at 10.29:1 contrast (WCAG AA passes).

Color values

HEX#3E2D99
RGBrgb(62, 45, 153)
HSLhsl(249, 55%, 39%)
HSVhsv(249, 71%, 60%)
CMYKcmyk(59.5%, 70.6%, 0%, 40%)
CIE-LABlab(27.30, 38.47, -56.46)
CIE-LCHlch(27.30, 68.33, 304.27°)
OKLaboklab(38.99% 0.0364 -0.1626)
OKLCHoklch(38.99% 0.167 282.6)
XYZxyz(8.6730, 5.2002, 30.6775)
Luminance0.0520 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E2D99 #88992D
analogous
#2D5299 #3E2D99 #742D99
triadic
#3E2D99 #993E2D #2D993E
tetradic
#3E2D99 #992D52 #88992D #2D9974
square
#3E2D99 #992D52 #88992D #2D9974
split-complementary
#3E2D99 #99742D #52992D
monochromatic
#18113A #2B1F6A #3E2D99 #533DC6 #7D6CD4

Accessibility & contrast

On white

10.29
#3E2D99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#3E2D99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E2D99
10.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E2D99#FFFFFF#000000##FFFFFF
##3E2D991.0010.292.0410.29
#FFFFFF10.291.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449C
Deuteranopia (green-blind)
#003D97
Tritanopia (blue-blind)
#054A5F
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #3e2d99;
/* rgb */ color: rgb(62, 45, 153);
/* oklch */ color: oklch(39.0% 0.167 282.6);
Tailwind
colors: {
  custom: {
    50: '#7e68b8',
    500: '#3e2d99',
    950: '#000000',
  },
}
SCSS
$custom: #3e2d99;
$custom-light: #7e68b8;
$custom-dark: #000000;
JSON
{
  "hex": "#3e2d99",
  "rgb": {
    "r": 62,
    "g": 45,
    "b": 153
  },
  "hsl": {
    "h": 249.444,
    "s": 54.545,
    "l": 38.824
  },
  "oklch": {
    "l": 0.38985,
    "c": 0.16661,
    "h": 282.6
  },
  "luminance": 0.05201
}

Semantic roles & 50–950 ramp

primary
#3E2D99
secondary
#AEBB67
accent
#DE4AC7
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #3E2D99

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

Preview Lab → · Contrast checker → · Palette generator →

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