#3A29B3#3A29B3

#3A29B3 is a dark, highly saturated blue. Relative luminance 0.057; OKLCH L 40.7% C 0.204 H 277.9°. Best body text is #FFFFFF at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#3A29B3
RGBrgb(58, 41, 179)
HSLhsl(247, 63%, 43%)
HSVhsv(247, 77%, 70%)
CMYKcmyk(67.6%, 77.1%, 0%, 29.8%)
CIE-LABlab(28.74, 48.35, -69.80)
CIE-LCHlch(28.74, 84.91, 304.71°)
OKLaboklab(40.7% 0.0278 -0.2016)
OKLCHoklch(40.7% 0.204 277.9)
XYZxyz(10.6719, 5.7392, 43.1845)
Luminance0.0574 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A29B3 #A2B329
analogous
#295DB3 #3A29B3 #7F29B3
triadic
#3A29B3 #B33A29 #29B33A
tetradic
#3A29B3 #B3295D #A2B329 #29B37F
square
#3A29B3 #B3295D #A2B329 #29B37F
split-complementary
#3A29B3 #B37F29 #5DB329
monochromatic
#1A124F #2A1E81 #3A29B3 #5745D4 #8477E0

Accessibility & contrast

On white

9.78
#3A29B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#3A29B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A29B3
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A29B3#FFFFFF#000000##FFFFFF
##3A29B31.009.782.159.78
#FFFFFF9.781.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B7
Deuteranopia (green-blind)
#003EB1
Tritanopia (blue-blind)
#00526D
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #3a29b3;
/* rgb */ color: rgb(58, 41, 179);
/* oklch */ color: oklch(40.7% 0.204 277.9);
Tailwind
colors: {
  custom: {
    50: '#8166cb',
    500: '#3a29b3',
    950: '#000000',
  },
}
SCSS
$custom: #3a29b3;
$custom-light: #8166cb;
$custom-dark: #000000;
JSON
{
  "hex": "#3a29b3",
  "rgb": {
    "r": 58,
    "g": 41,
    "b": 179
  },
  "hsl": {
    "h": 247.391,
    "s": 62.727,
    "l": 43.137
  },
  "oklch": {
    "l": 0.40699,
    "c": 0.20355,
    "h": 277.9
  },
  "luminance": 0.0574
}

Semantic roles & 50–950 ramp

primary
#3A29B3
secondary
#BDC770
accent
#E642D2
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3A29B3

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

Preview Lab → · Contrast checker → · Palette generator →

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