#3E2D95#3E2D95

#3E2D95 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.6% C 0.161 H 283.3°. Best body text is #FFFFFF at 10.43:1 contrast (WCAG AA passes).

Color values

HEX#3E2D95
RGBrgb(62, 45, 149)
HSLhsl(250, 54%, 38%)
HSVhsv(250, 70%, 58%)
CMYKcmyk(58.4%, 69.8%, 0%, 41.6%)
CIE-LABlab(26.93, 37.19, -54.61)
CIE-LCHlch(26.93, 66.07, 304.26°)
OKLaboklab(38.61% 0.0371 -0.1572)
OKLCHoklch(38.61% 0.161 283.3)
XYZxyz(8.3481, 5.0703, 28.9667)
Luminance0.0507 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E2D95 #84952D
analogous
#2D5095 #3E2D95 #722D95
triadic
#3E2D95 #953E2D #2D953E
tetradic
#3E2D95 #952D50 #84952D #2D9572
square
#3E2D95 #952D50 #84952D #2D9572
split-complementary
#3E2D95 #95722D #50952D
monochromatic
#171137 #2A1F66 #3E2D95 #523BC4 #7B6AD2

Accessibility & contrast

On white

10.43
#3E2D95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#3E2D95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E2D95
10.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E2D95#FFFFFF#000000##FFFFFF
##3E2D951.0010.432.0110.43
#FFFFFF10.431.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.431.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3e2d95;
/* rgb */ color: rgb(62, 45, 149);
/* oklch */ color: oklch(38.6% 0.161 283.3);
Tailwind
colors: {
  custom: {
    50: '#7d67b5',
    500: '#3e2d95',
    950: '#000000',
  },
}
SCSS
$custom: #3e2d95;
$custom-light: #7d67b5;
$custom-dark: #000000;
JSON
{
  "hex": "#3e2d95",
  "rgb": {
    "r": 62,
    "g": 45,
    "b": 149
  },
  "hsl": {
    "h": 249.808,
    "s": 53.608,
    "l": 38.039
  },
  "oklch": {
    "l": 0.38612,
    "c": 0.16147,
    "h": 283.3
  },
  "luminance": 0.05071
}

Semantic roles & 50–950 ramp

primary
#3E2D95
secondary
#ABB965
accent
#DD4BC5
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #3E2D95

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

Preview Lab → · Contrast checker → · Palette generator →

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