#3E2FC6#3E2FC6

#3E2FC6 is a dark, highly saturated blue. Relative luminance 0.071; OKLCH L 43.7% C 0.220 H 276.7°. Best body text is #FFFFFF at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#3E2FC6
RGBrgb(62, 47, 198)
HSLhsl(246, 62%, 48%)
HSVhsv(246, 76%, 78%)
CMYKcmyk(68.7%, 76.3%, 0%, 22.4%)
CIE-LABlab(32.11, 51.52, -75.46)
CIE-LCHlch(32.11, 91.37, 304.32°)
OKLaboklab(43.73% 0.0256 -0.2181)
OKLCHoklch(43.73% 0.22 276.7)
XYZxyz(13.1928, 7.1332, 54.0967)
Luminance0.0713 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E2FC6 #B7C62F
analogous
#2F6CC6 #3E2FC6 #892FC6
triadic
#3E2FC6 #C63E2F #2FC63E
tetradic
#3E2FC6 #C62F6C #B7C62F #2FC689
square
#3E2FC6 #C62F6C #B7C62F #2FC689
split-complementary
#3E2FC6 #C6892F #6CC62F
monochromatic
#1F1863 #2F2395 #3E2FC6 #675AD8 #948CE4

Accessibility & contrast

On white

8.65
#3E2FC6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#3E2FC6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E2FC6
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E2FC6#FFFFFF#000000##FFFFFF
##3E2FC61.008.652.438.65
#FFFFFF8.651.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052CA
Deuteranopia (green-blind)
#0045C3
Tritanopia (blue-blind)
#005C79
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #3e2fc6;
/* rgb */ color: rgb(62, 47, 198);
/* oklch */ color: oklch(43.7% 0.220 276.7);
Tailwind
colors: {
  custom: {
    50: '#876bd9',
    500: '#3e2fc6',
    950: '#000000',
  },
}
SCSS
$custom: #3e2fc6;
$custom-light: #876bd9;
$custom-dark: #000000;
JSON
{
  "hex": "#3e2fc6",
  "rgb": {
    "r": 62,
    "g": 47,
    "b": 198
  },
  "hsl": {
    "h": 245.96,
    "s": 61.633,
    "l": 48.039
  },
  "oklch": {
    "l": 0.43725,
    "c": 0.21958,
    "h": 276.7
  },
  "luminance": 0.07134
}

Semantic roles & 50–950 ramp

primary
#3E2FC6
secondary
#C6CE83
accent
#E543D5
background
#F9F6FD
surface
#F1EBFB
border
#CBC6D4
text
#0D0715
muted
#7E7A83

Preview Lab

Preview with #3E2FC6

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

Preview Lab → · Contrast checker → · Palette generator →

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