#3E2D9E#3E2D9E

#3E2D9E is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.5% C 0.173 H 281.8°. Best body text is #FFFFFF at 10.13:1 contrast (WCAG AA passes).

Color values

HEX#3E2D9E
RGBrgb(62, 45, 158)
HSLhsl(249, 56%, 40%)
HSVhsv(249, 72%, 62%)
CMYKcmyk(60.8%, 71.5%, 0%, 38%)
CIE-LABlab(27.76, 40.07, -58.75)
CIE-LCHlch(27.76, 71.12, 304.29°)
OKLaboklab(39.46% 0.0355 -0.1693)
OKLCHoklch(39.46% 0.173 281.8)
XYZxyz(9.0946, 5.3689, 32.8982)
Luminance0.0537 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E2D9E #8D9E2D
analogous
#2D549E #3E2D9E #772D9E
triadic
#3E2D9E #9E3E2D #2D9E3E
tetradic
#3E2D9E #9E2D54 #8D9E2D #2D9E77
square
#3E2D9E #9E2D54 #8D9E2D #2D9E77
split-complementary
#3E2D9E #9E772D #549E2D
monochromatic
#19123F #2B1F6E #3E2D9E #5440C9 #7F6FD6

Accessibility & contrast

On white

10.13
#3E2D9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#3E2D9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E2D9E
10.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E2D9E#FFFFFF#000000##FFFFFF
##3E2D9E1.0010.132.0710.13
#FFFFFF10.131.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A1
Deuteranopia (green-blind)
#003D9C
Tritanopia (blue-blind)
#004B62
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #3e2d9e;
/* rgb */ color: rgb(62, 45, 158);
/* oklch */ color: oklch(39.5% 0.173 281.8);
Tailwind
colors: {
  custom: {
    50: '#7f68bc',
    500: '#3e2d9e',
    950: '#000000',
  },
}
SCSS
$custom: #3e2d9e;
$custom-light: #7f68bc;
$custom-dark: #000000;
JSON
{
  "hex": "#3e2d9e",
  "rgb": {
    "r": 62,
    "g": 45,
    "b": 158
  },
  "hsl": {
    "h": 249.027,
    "s": 55.665,
    "l": 39.804
  },
  "oklch": {
    "l": 0.39458,
    "c": 0.17299,
    "h": 281.8
  },
  "luminance": 0.0537
}

Semantic roles & 50–950 ramp

primary
#3E2D9E
secondary
#B1BD69
accent
#DF49C8
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #3E2D9E

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

Preview Lab → · Contrast checker → · Palette generator →

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