#3E2E95#3E2E95

#3E2E95 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.8% C 0.160 H 283.1°. Best body text is #FFFFFF at 10.35:1 contrast (WCAG AA passes).

Color values

HEX#3E2E95
RGBrgb(62, 46, 149)
HSLhsl(249, 53%, 38%)
HSVhsv(249, 69%, 58%)
CMYKcmyk(58.4%, 69.1%, 0%, 41.6%)
CIE-LABlab(27.15, 36.60, -54.25)
CIE-LCHlch(27.15, 65.44, 304.01°)
OKLaboklab(38.77% 0.0362 -0.1561)
OKLCHoklch(38.77% 0.16 283.1)
XYZxyz(8.3867, 5.1475, 28.9796)
Luminance0.0515 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E2E95 #85952E
analogous
#2E5195 #3E2E95 #712E95
triadic
#3E2E95 #953E2E #2E953E
tetradic
#3E2E95 #952E51 #85952E #2E9571
square
#3E2E95 #952E51 #85952E #2E9571
split-complementary
#3E2E95 #95712E #51952E
monochromatic
#171137 #2B2066 #3E2E95 #523DC3 #7C6CD2

Accessibility & contrast

On white

10.35
#3E2E95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#3E2E95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E2E95
10.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E2E95#FFFFFF#000000##FFFFFF
##3E2E951.0010.352.0310.35
#FFFFFF10.351.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004398
Deuteranopia (green-blind)
#003D93
Tritanopia (blue-blind)
#0F495D
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #3e2e95;
/* rgb */ color: rgb(62, 46, 149);
/* oklch */ color: oklch(38.8% 0.160 283.1);
Tailwind
colors: {
  custom: {
    50: '#7d68b5',
    500: '#3e2e95',
    950: '#000000',
  },
}
SCSS
$custom: #3e2e95;
$custom-light: #7d68b5;
$custom-dark: #000000;
JSON
{
  "hex": "#3e2e95",
  "rgb": {
    "r": 62,
    "g": 46,
    "b": 149
  },
  "hsl": {
    "h": 249.32,
    "s": 52.821,
    "l": 38.235
  },
  "oklch": {
    "l": 0.38768,
    "c": 0.16025,
    "h": 283.1
  },
  "luminance": 0.05148
}

Semantic roles & 50–950 ramp

primary
#3E2E95
secondary
#ACB966
accent
#DC4CC6
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #3E2E95

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

Preview Lab → · Contrast checker → · Palette generator →

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