#3E2E9E#3E2E9E

#3E2E9E is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.6% C 0.172 H 281.6°. Best body text is #FFFFFF at 10.05:1 contrast (WCAG AA passes).

Color values

HEX#3E2E9E
RGBrgb(62, 46, 158)
HSLhsl(249, 55%, 40%)
HSVhsv(249, 71%, 62%)
CMYKcmyk(60.8%, 70.9%, 0%, 38%)
CIE-LABlab(27.97, 39.49, -58.41)
CIE-LCHlch(27.97, 70.51, 304.06°)
OKLaboklab(39.61% 0.0347 -0.1683)
OKLCHoklch(39.61% 0.172 281.6)
XYZxyz(9.1332, 5.4461, 32.9110)
Luminance0.0545 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E2E9E #8E9E2E
analogous
#2E569E #3E2E9E #762E9E
triadic
#3E2E9E #9E3E2E #2E9E3E
tetradic
#3E2E9E #9E2E56 #8E9E2E #2E9E76
square
#3E2E9E #9E2E56 #8E9E2E #2E9E76
split-complementary
#3E2E9E #9E762E #569E2E
monochromatic
#19123F #2B206F #3E2E9E #5541C8 #7F71D6

Accessibility & contrast

On white

10.05
#3E2E9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#3E2E9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E2E9E
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E2E9E#FFFFFF#000000##FFFFFF
##3E2E9E1.0010.052.0910.05
#FFFFFF10.051.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046A1
Deuteranopia (green-blind)
#003E9C
Tritanopia (blue-blind)
#004C62
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #3e2e9e;
/* rgb */ color: rgb(62, 46, 158);
/* oklch */ color: oklch(39.6% 0.172 281.6);
Tailwind
colors: {
  custom: {
    50: '#7f68bc',
    500: '#3e2e9e',
    950: '#000000',
  },
}
SCSS
$custom: #3e2e9e;
$custom-light: #7f68bc;
$custom-dark: #000000;
JSON
{
  "hex": "#3e2e9e",
  "rgb": {
    "r": 62,
    "g": 46,
    "b": 158
  },
  "hsl": {
    "h": 248.571,
    "s": 54.902,
    "l": 40
  },
  "oklch": {
    "l": 0.39607,
    "c": 0.17185,
    "h": 281.6
  },
  "luminance": 0.05447
}

Semantic roles & 50–950 ramp

primary
#3E2E9E
secondary
#B1BD6B
accent
#DE4AC9
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #3E2E9E

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

Preview Lab → · Contrast checker → · Palette generator →

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