#3E319A#3E319A

#3E319A is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.7% C 0.163 H 281.6°. Best body text is #FFFFFF at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#3E319A
RGBrgb(62, 49, 154)
HSLhsl(247, 52%, 40%)
HSVhsv(247, 68%, 60%)
CMYKcmyk(59.7%, 68.2%, 0%, 39.6%)
CIE-LABlab(28.26, 36.42, -55.51)
CIE-LCHlch(28.26, 66.39, 303.27°)
OKLaboklab(39.7% 0.0328 -0.1598)
OKLCHoklch(39.7% 0.163 281.6)
XYZxyz(8.9158, 5.5532, 31.1676)
Luminance0.0555 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E319A #8D9A31
analogous
#31589A #3E319A #73319A
triadic
#3E319A #9A3E31 #319A3E
tetradic
#3E319A #9A3158 #8D9A31 #319A73
square
#3E319A #9A3158 #8D9A31 #319A73
split-complementary
#3E319A #9A7331 #589A31
monochromatic
#19133D #2B226C #3E319A #5445C4 #7F73D2

Accessibility & contrast

On white

9.95
#3E319A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#3E319A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E319A
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E319A#FFFFFF#000000##FFFFFF
##3E319A1.009.952.119.95
#FFFFFF9.951.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00469D
Deuteranopia (green-blind)
#003F98
Tritanopia (blue-blind)
#014C61
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #3e319a;
/* rgb */ color: rgb(62, 49, 154);
/* oklch */ color: oklch(39.7% 0.163 281.6);
Tailwind
colors: {
  custom: {
    50: '#7e6ab9',
    500: '#3e319a',
    950: '#000000',
  },
}
SCSS
$custom: #3e319a;
$custom-light: #7e6ab9;
$custom-dark: #000000;
JSON
{
  "hex": "#3e319a",
  "rgb": {
    "r": 62,
    "g": 49,
    "b": 154
  },
  "hsl": {
    "h": 247.429,
    "s": 51.724,
    "l": 39.804
  },
  "oklch": {
    "l": 0.39701,
    "c": 0.16312,
    "h": 281.6
  },
  "luminance": 0.05554
}

Semantic roles & 50–950 ramp

primary
#3E319A
secondary
#B1BA6C
accent
#DB4DCA
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #3E319A

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

Preview Lab → · Contrast checker → · Palette generator →

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