#3E2E91#3E2E91

#3E2E91 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.4% C 0.155 H 283.7°. Best body text is #FFFFFF at 10.48:1 contrast (WCAG AA passes).

Color values

HEX#3E2E91
RGBrgb(62, 46, 145)
HSLhsl(250, 52%, 37%)
HSVhsv(250, 68%, 57%)
CMYKcmyk(57.2%, 68.3%, 0%, 43.1%)
CIE-LABlab(26.80, 35.31, -52.37)
CIE-LCHlch(26.80, 63.16, 303.99°)
OKLaboklab(38.4% 0.0368 -0.1506)
OKLCHoklch(38.4% 0.155 283.7)
XYZxyz(8.0729, 5.0220, 27.3265)
Luminance0.0502 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E2E91 #81912E
analogous
#2E5091 #3E2E91 #6F2E91
triadic
#3E2E91 #913E2E #2E913E
tetradic
#3E2E91 #912E50 #81912E #2E916F
square
#3E2E91 #912E50 #81912E #2E916F
split-complementary
#3E2E91 #916F2E #50912E
monochromatic
#161134 #2A1F63 #3E2E91 #523DBF #7A6AD0

Accessibility & contrast

On white

10.48
#3E2E91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#3E2E91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E2E91
10.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E2E91#FFFFFF#000000##FFFFFF
##3E2E911.0010.482.0010.48
#FFFFFF10.481.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004294
Deuteranopia (green-blind)
#003C8F
Tritanopia (blue-blind)
#16475B
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #3e2e91;
/* rgb */ color: rgb(62, 46, 145);
/* oklch */ color: oklch(38.4% 0.155 283.7);
Tailwind
colors: {
  custom: {
    50: '#7c68b2',
    500: '#3e2e91',
    950: '#000000',
  },
}
SCSS
$custom: #3e2e91;
$custom-light: #7c68b2;
$custom-dark: #000000;
JSON
{
  "hex": "#3e2e91",
  "rgb": {
    "r": 62,
    "g": 46,
    "b": 145
  },
  "hsl": {
    "h": 249.697,
    "s": 51.832,
    "l": 37.451
  },
  "oklch": {
    "l": 0.38404,
    "c": 0.15501,
    "h": 283.7
  },
  "luminance": 0.05022
}

Semantic roles & 50–950 ramp

primary
#3E2E91
secondary
#A9B764
accent
#DB4DC4
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #3E2E91

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

Preview Lab → · Contrast checker → · Palette generator →

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