#3E2FC1#3E2FC1

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

Color values

HEX#3E2FC1
RGBrgb(62, 47, 193)
HSLhsl(246, 61%, 47%)
HSVhsv(246, 76%, 76%)
CMYKcmyk(67.9%, 75.6%, 0%, 24.3%)
CIE-LABlab(31.59, 49.98, -73.38)
CIE-LCHlch(31.59, 88.78, 304.26°)
OKLaboklab(43.21% 0.0267 -0.212)
OKLCHoklch(43.21% 0.214 277.2)
XYZxyz(12.6256, 6.9063, 51.1094)
Luminance0.0691 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E2FC1 #B2C12F
analogous
#2F69C1 #3E2FC1 #872FC1
triadic
#3E2FC1 #C13E2F #2FC13E
tetradic
#3E2FC1 #C12F69 #B2C12F #2FC187
square
#3E2FC1 #C12F69 #B2C12F #2FC187
split-complementary
#3E2FC1 #C1872F #69C12F
monochromatic
#1E175F #2E2390 #3E2FC1 #6457D6 #9288E2

Accessibility & contrast

On white

8.82
#3E2FC1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#3E2FC1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E2FC1
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E2FC1#FFFFFF#000000##FFFFFF
##3E2FC11.008.822.388.82
#FFFFFF8.821.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050C5
Deuteranopia (green-blind)
#0044BE
Tritanopia (blue-blind)
#005A76
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #3e2fc1;
/* rgb */ color: rgb(62, 47, 193);
/* oklch */ color: oklch(43.2% 0.214 277.2);
Tailwind
colors: {
  custom: {
    50: '#866ad5',
    500: '#3e2fc1',
    950: '#000000',
  },
}
SCSS
$custom: #3e2fc1;
$custom-light: #866ad5;
$custom-dark: #000000;
JSON
{
  "hex": "#3e2fc1",
  "rgb": {
    "r": 62,
    "g": 47,
    "b": 193
  },
  "hsl": {
    "h": 246.164,
    "s": 60.833,
    "l": 47.059
  },
  "oklch": {
    "l": 0.4321,
    "c": 0.2137,
    "h": 277.2
  },
  "luminance": 0.06907
}

Semantic roles & 50–950 ramp

primary
#3E2FC1
secondary
#C4CC80
accent
#E444D4
background
#F9F6FD
surface
#F1EBFA
border
#CBC6D3
text
#0D0714
muted
#7E7A83

Preview Lab

Preview with #3E2FC1

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

Preview Lab → · Contrast checker → · Palette generator →

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