#3E2CD1#3E2CD1

#3E2CD1 is a dark, highly saturated blue. Relative luminance 0.074; OKLCH L 44.5% C 0.235 H 275.9°. Best body text is #FFFFFF at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#3E2CD1
RGBrgb(62, 44, 209)
HSLhsl(247, 65%, 50%)
HSVhsv(247, 79%, 82%)
CMYKcmyk(70.3%, 78.9%, 0%, 18%)
CIE-LABlab(32.76, 56.32, -80.79)
CIE-LCHlch(32.76, 98.48, 304.88°)
OKLaboklab(44.53% 0.0242 -0.2335)
OKLCHoklch(44.53% 0.235 275.9)
XYZxyz(14.3921, 7.4276, 60.9844)
Luminance0.0743 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E2CD1 #BFD12C
analogous
#2C6DD1 #3E2CD1 #902CD1
triadic
#3E2CD1 #D13E2C #2CD13E
tetradic
#3E2CD1 #D12C6D #BFD12C #2CD190
square
#3E2CD1 #D12C6D #BFD12C #2CD190
split-complementary
#3E2CD1 #D1902C #6DD12C
monochromatic
#20176C #2F219E #3E2CD1 #6B5DDD #9990E8

Accessibility & contrast

On white

8.45
#3E2CD1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#3E2CD1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E2CD1
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E2CD1#FFFFFF#000000##FFFFFF
##3E2CD11.008.452.498.45
#FFFFFF8.451.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054D6
Deuteranopia (green-blind)
#0046CE
Tritanopia (blue-blind)
#005F7F
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #3e2cd1;
/* rgb */ color: rgb(62, 44, 209);
/* oklch */ color: oklch(44.5% 0.235 275.9);
Tailwind
colors: {
  custom: {
    50: '#896ae1',
    500: '#3e2cd1',
    950: '#000000',
  },
}
SCSS
$custom: #3e2cd1;
$custom-light: #896ae1;
$custom-dark: #000000;
JSON
{
  "hex": "#3e2cd1",
  "rgb": {
    "r": 62,
    "g": 44,
    "b": 209
  },
  "hsl": {
    "h": 246.545,
    "s": 65.217,
    "l": 49.608
  },
  "oklch": {
    "l": 0.44526,
    "c": 0.2348,
    "h": 275.9
  },
  "luminance": 0.07429
}

Semantic roles & 50–950 ramp

primary
#3E2CD1
secondary
#CAD287
accent
#E840D6
background
#F9F6FE
surface
#F2EBFC
border
#CCC6D5
text
#0E0715
muted
#7E7A84

Preview Lab

Preview with #3E2CD1

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

Preview Lab → · Contrast checker → · Palette generator →

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