#3E2D9B#3E2D9B

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

Color values

HEX#3E2D9B
RGBrgb(62, 45, 155)
HSLhsl(249, 55%, 39%)
HSVhsv(249, 71%, 61%)
CMYKcmyk(60%, 71%, 0%, 39.2%)
CIE-LABlab(27.48, 39.11, -57.38)
CIE-LCHlch(27.48, 69.44, 304.28°)
OKLaboklab(39.17% 0.036 -0.1653)
OKLCHoklch(39.17% 0.169 282.3)
XYZxyz(8.8395, 5.2669, 31.5548)
Luminance0.0527 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E2D9B #8A9B2D
analogous
#2D539B #3E2D9B #752D9B
triadic
#3E2D9B #9B3E2D #2D9B3E
tetradic
#3E2D9B #9B2D53 #8A9B2D #2D9B75
square
#3E2D9B #9B2D53 #8A9B2D #2D9B75
split-complementary
#3E2D9B #9B752D #539B2D
monochromatic
#18113C #2B1F6C #3E2D9B #533EC7 #7E6ED5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3E2D9B#FFFFFF#000000##FFFFFF
##3E2D9B1.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)
#00459E
Deuteranopia (green-blind)
#003D99
Tritanopia (blue-blind)
#004A60
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #3e2d9b;
/* rgb */ color: rgb(62, 45, 155);
/* oklch */ color: oklch(39.2% 0.169 282.3);
Tailwind
colors: {
  custom: {
    50: '#7e68b9',
    500: '#3e2d9b',
    950: '#000000',
  },
}
SCSS
$custom: #3e2d9b;
$custom-light: #7e68b9;
$custom-dark: #000000;
JSON
{
  "hex": "#3e2d9b",
  "rgb": {
    "r": 62,
    "g": 45,
    "b": 155
  },
  "hsl": {
    "h": 249.273,
    "s": 55,
    "l": 39.216
  },
  "oklch": {
    "l": 0.39173,
    "c": 0.16917,
    "h": 282.3
  },
  "luminance": 0.05267
}

Semantic roles & 50–950 ramp

primary
#3E2D9B
secondary
#AFBC68
accent
#DE49C7
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #3E2D9B

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

Preview Lab → · Contrast checker → · Palette generator →

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