#3A29B1#3A29B1

#3A29B1 is a dark, highly saturated blue. Relative luminance 0.057; OKLCH L 40.5% C 0.201 H 278.1°. Best body text is #FFFFFF at 9.85:1 contrast (WCAG AA passes).

Color values

HEX#3A29B1
RGBrgb(58, 41, 177)
HSLhsl(248, 62%, 43%)
HSVhsv(248, 77%, 69%)
CMYKcmyk(67.2%, 76.8%, 0%, 30.6%)
CIE-LABlab(28.53, 47.73, -68.95)
CIE-LCHlch(28.53, 83.86, 304.69°)
OKLaboklab(40.49% 0.0283 -0.1992)
OKLCHoklch(40.49% 0.201 278.1)
XYZxyz(10.4711, 5.6588, 42.1269)
Luminance0.0566 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A29B1 #A0B129
analogous
#295CB1 #3A29B1 #7E29B1
triadic
#3A29B1 #B13A29 #29B13A
tetradic
#3A29B1 #B1295C #A0B129 #29B17E
square
#3A29B1 #B1295C #A0B129 #29B17E
split-complementary
#3A29B1 #B17E29 #5CB129
monochromatic
#19124E #2A1D7F #3A29B1 #5644D4 #8375DF

Accessibility & contrast

On white

9.85
#3A29B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#3A29B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A29B1
9.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A29B1#FFFFFF#000000##FFFFFF
##3A29B11.009.852.139.85
#FFFFFF9.851.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.851.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3a29b1;
/* rgb */ color: rgb(58, 41, 177);
/* oklch */ color: oklch(40.5% 0.201 278.1);
Tailwind
colors: {
  custom: {
    50: '#8166ca',
    500: '#3a29b1',
    950: '#000000',
  },
}
SCSS
$custom: #3a29b1;
$custom-light: #8166ca;
$custom-dark: #000000;
JSON
{
  "hex": "#3a29b1",
  "rgb": {
    "r": 58,
    "g": 41,
    "b": 177
  },
  "hsl": {
    "h": 247.5,
    "s": 62.385,
    "l": 42.745
  },
  "oklch": {
    "l": 0.40489,
    "c": 0.20117,
    "h": 278.1
  },
  "luminance": 0.0566
}

Semantic roles & 50–950 ramp

primary
#3A29B1
secondary
#BCC76F
accent
#E542D1
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3A29B1

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

Preview Lab → · Contrast checker → · Palette generator →

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