#3E2CC6#3E2CC6

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

Color values

HEX#3E2CC6
RGBrgb(62, 44, 198)
HSLhsl(247, 64%, 47%)
HSVhsv(247, 78%, 78%)
CMYKcmyk(68.7%, 77.8%, 0%, 22.4%)
CIE-LABlab(31.58, 53.03, -76.33)
CIE-LCHlch(31.58, 92.94, 304.79°)
OKLaboklab(43.36% 0.027 -0.2206)
OKLCHoklch(43.36% 0.222 277)
XYZxyz(13.0770, 6.9015, 54.0581)
Luminance0.0690 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E2CC6 #B4C62C
analogous
#2C67C6 #3E2CC6 #8B2CC6
triadic
#3E2CC6 #C63E2C #2CC63E
tetradic
#3E2CC6 #C62C67 #B4C62C #2CC68B
square
#3E2CC6 #C62C67 #B4C62C #2CC68B
split-complementary
#3E2CC6 #C68B2C #67C62C
monochromatic
#1F1662 #2E2194 #3E2CC6 #6556D9 #9388E5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3E2CC6#FFFFFF#000000##FFFFFF
##3E2CC61.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)
#0051CA
Deuteranopia (green-blind)
#0044C3
Tritanopia (blue-blind)
#005A78
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #3e2cc6;
/* rgb */ color: rgb(62, 44, 198);
/* oklch */ color: oklch(43.4% 0.222 277.0);
Tailwind
colors: {
  custom: {
    50: '#8769d9',
    500: '#3e2cc6',
    950: '#000000',
  },
}
SCSS
$custom: #3e2cc6;
$custom-light: #8769d9;
$custom-dark: #000000;
JSON
{
  "hex": "#3e2cc6",
  "rgb": {
    "r": 62,
    "g": 44,
    "b": 198
  },
  "hsl": {
    "h": 247.013,
    "s": 63.636,
    "l": 47.451
  },
  "oklch": {
    "l": 0.43357,
    "c": 0.22223,
    "h": 277
  },
  "luminance": 0.06903
}

Semantic roles & 50–950 ramp

primary
#3E2CC6
secondary
#C5CE80
accent
#E741D3
background
#F9F6FD
surface
#F1EBFB
border
#CBC6D4
text
#0D0615
muted
#7E7A83

Preview Lab

Preview with #3E2CC6

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

Preview Lab → · Contrast checker → · Palette generator →

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