#3E2DC2#3E2DC2

#3E2DC2 is a dark, highly saturated blue. Relative luminance 0.068; OKLCH L 43.1% C 0.217 H 277.3°. Best body text is #FFFFFF at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#3E2DC2
RGBrgb(62, 45, 194)
HSLhsl(247, 62%, 47%)
HSVhsv(247, 77%, 76%)
CMYKcmyk(68%, 76.8%, 0%, 23.9%)
CIE-LABlab(31.34, 51.31, -74.39)
CIE-LCHlch(31.34, 90.37, 304.60°)
OKLaboklab(43.06% 0.0275 -0.2149)
OKLCHoklch(43.06% 0.217 277.3)
XYZxyz(12.6594, 6.7948, 51.6729)
Luminance0.0680 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E2DC2 #B1C22D
analogous
#2D66C2 #3E2DC2 #892DC2
triadic
#3E2DC2 #C23E2D #2DC23E
tetradic
#3E2DC2 #C22D66 #B1C22D #2DC289
square
#3E2DC2 #C22D66 #B1C22D #2DC289
split-complementary
#3E2DC2 #C2892D #66C22D
monochromatic
#1E165F #2E2190 #3E2DC2 #6455D7 #9186E3

Accessibility & contrast

On white

8.90
#3E2DC2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#3E2DC2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E2DC2
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E2DC2#FFFFFF#000000##FFFFFF
##3E2DC21.008.902.368.90
#FFFFFF8.901.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050C6
Deuteranopia (green-blind)
#0043BF
Tritanopia (blue-blind)
#005976
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #3e2dc2;
/* rgb */ color: rgb(62, 45, 194);
/* oklch */ color: oklch(43.1% 0.217 277.3);
Tailwind
colors: {
  custom: {
    50: '#8669d6',
    500: '#3e2dc2',
    950: '#000000',
  },
}
SCSS
$custom: #3e2dc2;
$custom-light: #8669d6;
$custom-dark: #000000;
JSON
{
  "hex": "#3e2dc2",
  "rgb": {
    "r": 62,
    "g": 45,
    "b": 194
  },
  "hsl": {
    "h": 246.846,
    "s": 62.343,
    "l": 46.863
  },
  "oklch": {
    "l": 0.4306,
    "c": 0.21671,
    "h": 277.3
  },
  "luminance": 0.06796
}

Semantic roles & 50–950 ramp

primary
#3E2DC2
secondary
#C4CD7E
accent
#E542D3
background
#F9F6FD
surface
#F1EBFA
border
#CBC6D3
text
#0D0714
muted
#7E7A83

Preview Lab

Preview with #3E2DC2

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

Preview Lab → · Contrast checker → · Palette generator →

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