#3E2F95#3E2F95

#3E2F95 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.9% C 0.159 H 282.8°. Best body text is #FFFFFF at 10.27:1 contrast (WCAG AA passes).

Color values

HEX#3E2F95
RGBrgb(62, 47, 149)
HSLhsl(249, 52%, 38%)
HSVhsv(249, 68%, 58%)
CMYKcmyk(58.4%, 68.5%, 0%, 41.6%)
CIE-LABlab(27.37, 36.00, -53.89)
CIE-LCHlch(27.37, 64.81, 303.75°)
OKLaboklab(38.93% 0.0353 -0.1551)
OKLCHoklch(38.93% 0.159 282.8)
XYZxyz(8.4263, 5.2266, 28.9928)
Luminance0.0523 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E2F95 #86952F
analogous
#2F5395 #3E2F95 #712F95
triadic
#3E2F95 #953E2F #2F953E
tetradic
#3E2F95 #952F53 #86952F #2F9571
square
#3E2F95 #952F53 #86952F #2F9571
split-complementary
#3E2F95 #95712F #53952F
monochromatic
#171238 #2B2066 #3E2F95 #523FC2 #7C6DD1

Accessibility & contrast

On white

10.27
#3E2F95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#3E2F95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E2F95
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E2F95#FFFFFF#000000##FFFFFF
##3E2F951.0010.272.0510.27
#FFFFFF10.271.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004498
Deuteranopia (green-blind)
#003D93
Tritanopia (blue-blind)
#0E495E
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #3e2f95;
/* rgb */ color: rgb(62, 47, 149);
/* oklch */ color: oklch(38.9% 0.159 282.8);
Tailwind
colors: {
  custom: {
    50: '#7d69b5',
    500: '#3e2f95',
    950: '#000000',
  },
}
SCSS
$custom: #3e2f95;
$custom-light: #7d69b5;
$custom-dark: #000000;
JSON
{
  "hex": "#3e2f95",
  "rgb": {
    "r": 62,
    "g": 47,
    "b": 149
  },
  "hsl": {
    "h": 248.824,
    "s": 52.041,
    "l": 38.431
  },
  "oklch": {
    "l": 0.38926,
    "c": 0.15903,
    "h": 282.8
  },
  "luminance": 0.05227
}

Semantic roles & 50–950 ramp

primary
#3E2F95
secondary
#ACB867
accent
#DB4CC6
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #3E2F95

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

Preview Lab → · Contrast checker → · Palette generator →

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