#3E2DB2#3E2DB2

#3E2DB2 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 41.4% C 0.198 H 279.1°. Best body text is #FFFFFF at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#3E2DB2
RGBrgb(62, 45, 178)
HSLhsl(248, 60%, 44%)
HSVhsv(248, 75%, 70%)
CMYKcmyk(65.2%, 74.7%, 0%, 30.2%)
CIE-LABlab(29.70, 46.37, -67.62)
CIE-LCHlch(29.70, 81.99, 304.44°)
OKLaboklab(41.42% 0.0313 -0.1952)
OKLCHoklch(41.42% 0.198 279.1)
XYZxyz(10.9583, 6.1144, 42.7136)
Luminance0.0612 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E2DB2 #A1B22D
analogous
#2D5EB2 #3E2DB2 #802DB2
triadic
#3E2DB2 #B23E2D #2DB23E
tetradic
#3E2DB2 #B22D5E #A1B22D #2DB280
square
#3E2DB2 #B22D5E #A1B22D #2DB280
split-complementary
#3E2DB2 #B2802D #5EB22D
monochromatic
#1C1450 #2D2181 #3E2DB2 #5C4BD1 #887CDE

Accessibility & contrast

On white

9.45
#3E2DB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#3E2DB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E2DB2
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E2DB2#FFFFFF#000000##FFFFFF
##3E2DB21.009.452.229.45
#FFFFFF9.451.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB6
Deuteranopia (green-blind)
#0041B0
Tritanopia (blue-blind)
#00536D
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #3e2db2;
/* rgb */ color: rgb(62, 45, 178);
/* oklch */ color: oklch(41.4% 0.198 279.1);
Tailwind
colors: {
  custom: {
    50: '#8369ca',
    500: '#3e2db2',
    950: '#000000',
  },
}
SCSS
$custom: #3e2db2;
$custom-light: #8369ca;
$custom-dark: #000000;
JSON
{
  "hex": "#3e2db2",
  "rgb": {
    "r": 62,
    "g": 45,
    "b": 178
  },
  "hsl": {
    "h": 247.669,
    "s": 59.641,
    "l": 43.725
  },
  "oklch": {
    "l": 0.4142,
    "c": 0.1977,
    "h": 279.1
  },
  "luminance": 0.06115
}

Semantic roles & 50–950 ramp

primary
#3E2DB2
secondary
#BCC675
accent
#E345CF
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3E2DB2

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

Preview Lab → · Contrast checker → · Palette generator →

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