#3A29C6#3A29C6

#3A29C6 is a dark, highly saturated blue. Relative luminance 0.066; OKLCH L 42.7% C 0.226 H 275.9°. Best body text is #FFFFFF at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#3A29C6
RGBrgb(58, 41, 198)
HSLhsl(246, 66%, 47%)
HSVhsv(246, 79%, 78%)
CMYKcmyk(70.7%, 79.3%, 0%, 22.4%)
CIE-LABlab(30.79, 54.14, -77.65)
CIE-LCHlch(30.79, 94.66, 304.88°)
OKLaboklab(42.73% 0.023 -0.2245)
OKLCHoklch(42.73% 0.226 275.9)
XYZxyz(12.7276, 6.5614, 54.0109)
Luminance0.0656 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A29C6 #B5C629
analogous
#2967C6 #3A29C6 #8929C6
triadic
#3A29C6 #C63A29 #29C63A
tetradic
#3A29C6 #C62967 #B5C629 #29C689
square
#3A29C6 #C62967 #B5C629 #29C689
split-complementary
#3A29C6 #C68929 #67C629
monochromatic
#1C1461 #2B1F93 #3A29C6 #6051DB #8E84E6

Accessibility & contrast

On white

9.08
#3A29C6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#3A29C6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A29C6
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A29C6#FFFFFF#000000##FFFFFF
##3A29C61.009.082.319.08
#FFFFFF9.081.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FCA
Deuteranopia (green-blind)
#0041C3
Tritanopia (blue-blind)
#005978
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #3a29c6;
/* rgb */ color: rgb(58, 41, 198);
/* oklch */ color: oklch(42.7% 0.226 275.9);
Tailwind
colors: {
  custom: {
    50: '#8567d9',
    500: '#3a29c6',
    950: '#000000',
  },
}
SCSS
$custom: #3a29c6;
$custom-light: #8567d9;
$custom-dark: #000000;
JSON
{
  "hex": "#3a29c6",
  "rgb": {
    "r": 58,
    "g": 41,
    "b": 198
  },
  "hsl": {
    "h": 246.497,
    "s": 65.69,
    "l": 46.863
  },
  "oklch": {
    "l": 0.42727,
    "c": 0.22567,
    "h": 275.9
  },
  "luminance": 0.06563
}

Semantic roles & 50–950 ramp

primary
#3A29C6
secondary
#C6CF7C
accent
#E93FD6
background
#F9F6FD
surface
#F1EBFB
border
#CBC6D4
text
#0D0615
muted
#7E7A83

Preview Lab

Preview with #3A29C6

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

Preview Lab → · Contrast checker → · Palette generator →

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