#3E29B1#3E29B1

#3E29B1 is a dark, highly saturated blue. Relative luminance 0.058; OKLCH L 40.8% C 0.200 H 279.8°. Best body text is #FFFFFF at 9.74:1 contrast (WCAG AA passes).

Color values

HEX#3E29B1
RGBrgb(62, 41, 177)
HSLhsl(249, 62%, 43%)
HSVhsv(249, 77%, 69%)
CMYKcmyk(65%, 76.8%, 0%, 30.6%)
CIE-LABlab(28.86, 48.16, -68.40)
CIE-LCHlch(28.86, 83.66, 305.15°)
OKLaboklab(40.8% 0.034 -0.1975)
OKLCHoklch(40.8% 0.2 279.8)
XYZxyz(10.7128, 5.7835, 42.1382)
Luminance0.0578 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E29B1 #9CB129
analogous
#2958B1 #3E29B1 #8229B1
triadic
#3E29B1 #B13E29 #29B13E
tetradic
#3E29B1 #B12958 #9CB129 #29B182
square
#3E29B1 #B12958 #9CB129 #29B182
split-complementary
#3E29B1 #B18229 #58B129
monochromatic
#1B124E #2D1D7F #3E29B1 #5A44D4 #8675DF

Accessibility & contrast

On white

9.74
#3E29B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.16
#3E29B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3E29B1
9.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E29B1#FFFFFF#000000##FFFFFF
##3E29B11.009.742.169.74
#FFFFFF9.741.0021.001.00
#0000002.1621.001.0021.00
##FFFFFF9.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B5
Deuteranopia (green-blind)
#003FAF
Tritanopia (blue-blind)
#00516C
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #3e29b1;
/* rgb */ color: rgb(62, 41, 177);
/* oklch */ color: oklch(40.8% 0.200 279.8);
Tailwind
colors: {
  custom: {
    50: '#8366ca',
    500: '#3e29b1',
    950: '#000000',
  },
}
SCSS
$custom: #3e29b1;
$custom-light: #8366ca;
$custom-dark: #000000;
JSON
{
  "hex": "#3e29b1",
  "rgb": {
    "r": 62,
    "g": 41,
    "b": 177
  },
  "hsl": {
    "h": 249.265,
    "s": 62.385,
    "l": 42.745
  },
  "oklch": {
    "l": 0.40799,
    "c": 0.20037,
    "h": 279.8
  },
  "luminance": 0.05784
}

Semantic roles & 50–950 ramp

primary
#3E29B1
secondary
#B9C76F
accent
#E542CC
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3E29B1

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

Preview Lab → · Contrast checker → · Palette generator →

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