#3E2F99#3E2F99

#3E2F99 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.3% C 0.164 H 282.2°. Best body text is #FFFFFF at 10.14:1 contrast (WCAG AA passes).

Color values

HEX#3E2F99
RGBrgb(62, 47, 153)
HSLhsl(248, 53%, 39%)
HSVhsv(248, 69%, 60%)
CMYKcmyk(59.5%, 69.3%, 0%, 40%)
CIE-LABlab(27.73, 37.30, -55.76)
CIE-LCHlch(27.73, 67.08, 303.78°)
OKLaboklab(39.29% 0.0347 -0.1605)
OKLCHoklch(39.29% 0.164 282.2)
XYZxyz(8.7511, 5.3565, 30.7036)
Luminance0.0536 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E2F99 #8A992F
analogous
#2F5599 #3E2F99 #732F99
triadic
#3E2F99 #993E2F #2F993E
tetradic
#3E2F99 #992F55 #8A992F #2F9973
square
#3E2F99 #992F55 #8A992F #2F9973
split-complementary
#3E2F99 #99732F #55992F
monochromatic
#18123B #2B216A #3E2F99 #5341C5 #7E6FD3

Accessibility & contrast

On white

10.14
#3E2F99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#3E2F99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E2F99
10.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E2F99#FFFFFF#000000##FFFFFF
##3E2F991.0010.142.0710.14
#FFFFFF10.141.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00459C
Deuteranopia (green-blind)
#003E97
Tritanopia (blue-blind)
#044B60
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #3e2f99;
/* rgb */ color: rgb(62, 47, 153);
/* oklch */ color: oklch(39.3% 0.164 282.2);
Tailwind
colors: {
  custom: {
    50: '#7e69b8',
    500: '#3e2f99',
    950: '#000000',
  },
}
SCSS
$custom: #3e2f99;
$custom-light: #7e69b8;
$custom-dark: #000000;
JSON
{
  "hex": "#3e2f99",
  "rgb": {
    "r": 62,
    "g": 47,
    "b": 153
  },
  "hsl": {
    "h": 248.491,
    "s": 53,
    "l": 39.216
  },
  "oklch": {
    "l": 0.39293,
    "c": 0.16424,
    "h": 282.2
  },
  "luminance": 0.05357
}

Semantic roles & 50–950 ramp

primary
#3E2F99
secondary
#AFBA69
accent
#DC4BC8
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #3E2F99

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

Preview Lab → · Contrast checker → · Palette generator →

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