#3E2FA1#3E2FA1

#3E2FA1 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 40.0% C 0.175 H 281.0°. Best body text is #FFFFFF at 9.88:1 contrast (WCAG AA passes).

Color values

HEX#3E2FA1
RGBrgb(62, 47, 161)
HSLhsl(248, 55%, 41%)
HSVhsv(248, 71%, 63%)
CMYKcmyk(61.5%, 70.8%, 0%, 36.9%)
CIE-LABlab(28.46, 39.87, -59.43)
CIE-LCHlch(28.46, 71.57, 303.86°)
OKLaboklab(40.04% 0.0333 -0.1713)
OKLCHoklch(40.04% 0.175 281)
XYZxyz(9.4341, 5.6297, 34.3008)
Luminance0.0563 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E2FA1 #92A12F
analogous
#2F59A1 #3E2FA1 #772FA1
triadic
#3E2FA1 #A13E2F #2FA13E
tetradic
#3E2FA1 #A12F59 #92A12F #2FA177
square
#3E2FA1 #A12F59 #92A12F #2FA177
split-complementary
#3E2FA1 #A1772F #59A12F
monochromatic
#1A1342 #2C2172 #3E2FA1 #5645C9 #8174D6

Accessibility & contrast

On white

9.88
#3E2FA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#3E2FA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E2FA1
9.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E2FA1#FFFFFF#000000##FFFFFF
##3E2FA11.009.882.139.88
#FFFFFF9.881.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A4
Deuteranopia (green-blind)
#003F9F
Tritanopia (blue-blind)
#004E64
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #3e2fa1;
/* rgb */ color: rgb(62, 47, 161);
/* oklch */ color: oklch(40.0% 0.175 281.0);
Tailwind
colors: {
  custom: {
    50: '#7f69be',
    500: '#3e2fa1',
    950: '#000000',
  },
}
SCSS
$custom: #3e2fa1;
$custom-light: #7f69be;
$custom-dark: #000000;
JSON
{
  "hex": "#3e2fa1",
  "rgb": {
    "r": 62,
    "g": 47,
    "b": 161
  },
  "hsl": {
    "h": 247.895,
    "s": 54.808,
    "l": 40.784
  },
  "oklch": {
    "l": 0.40041,
    "c": 0.17451,
    "h": 281
  },
  "luminance": 0.0563
}

Semantic roles & 50–950 ramp

primary
#3E2FA1
secondary
#B4BE6E
accent
#DE4ACB
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #3E2FA1

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

Preview Lab → · Contrast checker → · Palette generator →

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