#3E2DC3#3E2DC3

#3E2DC3 is a dark, highly saturated blue. Relative luminance 0.068; OKLCH L 43.2% C 0.218 H 277.2°. Best body text is #FFFFFF at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#3E2DC3
RGBrgb(62, 45, 195)
HSLhsl(247, 63%, 47%)
HSVhsv(247, 77%, 76%)
CMYKcmyk(68.2%, 76.9%, 0%, 23.5%)
CIE-LABlab(31.44, 51.62, -74.80)
CIE-LCHlch(31.44, 90.89, 304.61°)
OKLaboklab(43.16% 0.0273 -0.2162)
OKLCHoklch(43.16% 0.218 277.2)
XYZxyz(12.7721, 6.8399, 52.2663)
Luminance0.0684 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E2DC3 #B2C32D
analogous
#2D67C3 #3E2DC3 #892DC3
triadic
#3E2DC3 #C33E2D #2DC33E
tetradic
#3E2DC3 #C32D67 #B2C32D #2DC389
square
#3E2DC3 #C32D67 #B2C32D #2DC389
split-complementary
#3E2DC3 #C3892D #67C32D
monochromatic
#1E1660 #2E2291 #3E2DC3 #6455D8 #9287E3

Accessibility & contrast

On white

8.87
#3E2DC3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#3E2DC3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E2DC3
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E2DC3#FFFFFF#000000##FFFFFF
##3E2DC31.008.872.378.87
#FFFFFF8.871.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050C7
Deuteranopia (green-blind)
#0044C0
Tritanopia (blue-blind)
#005A77
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #3e2dc3;
/* rgb */ color: rgb(62, 45, 195);
/* oklch */ color: oklch(43.2% 0.218 277.2);
Tailwind
colors: {
  custom: {
    50: '#8669d7',
    500: '#3e2dc3',
    950: '#000000',
  },
}
SCSS
$custom: #3e2dc3;
$custom-light: #8669d7;
$custom-dark: #000000;
JSON
{
  "hex": "#3e2dc3",
  "rgb": {
    "r": 62,
    "g": 45,
    "b": 195
  },
  "hsl": {
    "h": 246.8,
    "s": 62.5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.43164,
    "c": 0.21788,
    "h": 277.2
  },
  "luminance": 0.06841
}

Semantic roles & 50–950 ramp

primary
#3E2DC3
secondary
#C4CD7F
accent
#E642D3
background
#F9F6FD
surface
#F1EBFA
border
#CBC6D3
text
#0D0715
muted
#7E7A83

Preview Lab

Preview with #3E2DC3

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

Preview Lab → · Contrast checker → · Palette generator →

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