#3E2E97#3E2E97

#3E2E97 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 39.0% C 0.163 H 282.7°. Best body text is #FFFFFF at 10.28:1 contrast (WCAG AA passes).

Color values

HEX#3E2E97
RGBrgb(62, 46, 151)
HSLhsl(249, 53%, 39%)
HSVhsv(249, 70%, 59%)
CMYKcmyk(58.9%, 69.5%, 0%, 40.8%)
CIE-LABlab(27.33, 37.25, -55.19)
CIE-LCHlch(27.33, 66.58, 304.02°)
OKLaboklab(38.95% 0.0359 -0.1588)
OKLCHoklch(38.95% 0.163 282.7)
XYZxyz(8.5478, 5.2119, 29.8277)
Luminance0.0521 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E2E97 #87972E
analogous
#2E5297 #3E2E97 #722E97
triadic
#3E2E97 #973E2E #2E973E
tetradic
#3E2E97 #972E52 #87972E #2E9772
square
#3E2E97 #972E52 #87972E #2E9772
split-complementary
#3E2E97 #97722E #52972E
monochromatic
#171139 #2B2068 #3E2E97 #523EC4 #7C6DD2

Accessibility & contrast

On white

10.28
#3E2E97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#3E2E97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E2E97
10.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E2E97#FFFFFF#000000##FFFFFF
##3E2E971.0010.282.0410.28
#FFFFFF10.281.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449A
Deuteranopia (green-blind)
#003D95
Tritanopia (blue-blind)
#0A495E
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #3e2e97;
/* rgb */ color: rgb(62, 46, 151);
/* oklch */ color: oklch(39.0% 0.163 282.7);
Tailwind
colors: {
  custom: {
    50: '#7d68b7',
    500: '#3e2e97',
    950: '#000000',
  },
}
SCSS
$custom: #3e2e97;
$custom-light: #7d68b7;
$custom-dark: #000000;
JSON
{
  "hex": "#3e2e97",
  "rgb": {
    "r": 62,
    "g": 46,
    "b": 151
  },
  "hsl": {
    "h": 249.143,
    "s": 53.299,
    "l": 38.627
  },
  "oklch": {
    "l": 0.38952,
    "c": 0.16285,
    "h": 282.7
  },
  "luminance": 0.05212
}

Semantic roles & 50–950 ramp

primary
#3E2E97
secondary
#ADBA67
accent
#DD4BC7
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #3E2E97

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

Preview Lab → · Contrast checker → · Palette generator →

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