#3E2D94#3E2D94

#3E2D94 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.5% C 0.160 H 283.4°. Best body text is #FFFFFF at 10.46:1 contrast (WCAG AA passes).

Color values

HEX#3E2D94
RGBrgb(62, 45, 148)
HSLhsl(250, 53%, 38%)
HSVhsv(250, 70%, 58%)
CMYKcmyk(58.1%, 69.6%, 0%, 42%)
CIE-LABlab(26.84, 36.87, -54.14)
CIE-LCHlch(26.84, 65.50, 304.26°)
OKLaboklab(38.52% 0.0373 -0.1558)
OKLCHoklch(38.52% 0.16 283.4)
XYZxyz(8.2686, 5.0385, 28.5481)
Luminance0.0504 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E2D94 #83942D
analogous
#2D4F94 #3E2D94 #712D94
triadic
#3E2D94 #943E2D #2D943E
tetradic
#3E2D94 #942D4F #83942D #2D9471
square
#3E2D94 #942D4F #83942D #2D9471
split-complementary
#3E2D94 #94712D #4F942D
monochromatic
#171036 #2A1F65 #3E2D94 #523BC3 #7B6AD2

Accessibility & contrast

On white

10.46
#3E2D94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#3E2D94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E2D94
10.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E2D94#FFFFFF#000000##FFFFFF
##3E2D941.0010.462.0110.46
#FFFFFF10.461.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004397
Deuteranopia (green-blind)
#003C92
Tritanopia (blue-blind)
#11485D
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #3e2d94;
/* rgb */ color: rgb(62, 45, 148);
/* oklch */ color: oklch(38.5% 0.160 283.4);
Tailwind
colors: {
  custom: {
    50: '#7d67b4',
    500: '#3e2d94',
    950: '#000000',
  },
}
SCSS
$custom: #3e2d94;
$custom-light: #7d67b4;
$custom-dark: #000000;
JSON
{
  "hex": "#3e2d94",
  "rgb": {
    "r": 62,
    "g": 45,
    "b": 148
  },
  "hsl": {
    "h": 249.903,
    "s": 53.368,
    "l": 37.843
  },
  "oklch": {
    "l": 0.3852,
    "c": 0.16017,
    "h": 283.4
  },
  "luminance": 0.05039
}

Semantic roles & 50–950 ramp

primary
#3E2D94
secondary
#ABB864
accent
#DD4BC5
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #3E2D94

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

Preview Lab → · Contrast checker → · Palette generator →

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