#3E2C9E#3E2C9E

#3E2C9E is a dark, vivid blue. Relative luminance 0.053; OKLCH L 39.3% C 0.174 H 282.0°. Best body text is #FFFFFF at 10.20:1 contrast (WCAG AA passes).

Color values

HEX#3E2C9E
RGBrgb(62, 44, 158)
HSLhsl(249, 56%, 40%)
HSVhsv(249, 72%, 62%)
CMYKcmyk(60.8%, 72.2%, 0%, 38%)
CIE-LABlab(27.56, 40.64, -59.09)
CIE-LCHlch(27.56, 71.72, 304.52°)
OKLaboklab(39.31% 0.0363 -0.1703)
OKLCHoklch(39.31% 0.174 282)
XYZxyz(9.0569, 5.2935, 32.8856)
Luminance0.0529 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E2C9E #8C9E2C
analogous
#2C539E #3E2C9E #772C9E
triadic
#3E2C9E #9E3E2C #2C9E3E
tetradic
#3E2C9E #9E2C53 #8C9E2C #2C9E77
square
#3E2C9E #9E2C53 #8C9E2C #2C9E77
split-complementary
#3E2C9E #9E772C #539E2C
monochromatic
#18113E #2B1F6E #3E2C9E #543EC9 #7E6ED7

Accessibility & contrast

On white

10.20
#3E2C9E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#3E2C9E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E2C9E
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E2C9E#FFFFFF#000000##FFFFFF
##3E2C9E1.0010.202.0610.20
#FFFFFF10.201.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.201.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3e2c9e;
/* rgb */ color: rgb(62, 44, 158);
/* oklch */ color: oklch(39.3% 0.174 282.0);
Tailwind
colors: {
  custom: {
    50: '#7f67bc',
    500: '#3e2c9e',
    950: '#000000',
  },
}
SCSS
$custom: #3e2c9e;
$custom-light: #7f67bc;
$custom-dark: #000000;
JSON
{
  "hex": "#3e2c9e",
  "rgb": {
    "r": 62,
    "g": 44,
    "b": 158
  },
  "hsl": {
    "h": 249.474,
    "s": 56.436,
    "l": 39.608
  },
  "oklch": {
    "l": 0.39311,
    "c": 0.17411,
    "h": 282
  },
  "luminance": 0.05294
}

Semantic roles & 50–950 ramp

primary
#3E2C9E
secondary
#B0BE68
accent
#E048C8
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #3E2C9E

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

Preview Lab → · Contrast checker → · Palette generator →

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