#3A2C9D#3A2C9D

#3A2C9D is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.9% C 0.174 H 280.2°. Best body text is #FFFFFF at 10.36:1 contrast (WCAG AA passes).

Color values

HEX#3A2C9D
RGBrgb(58, 44, 157)
HSLhsl(247, 56%, 39%)
HSVhsv(247, 72%, 62%)
CMYKcmyk(63.1%, 72%, 0%, 38.4%)
CIE-LABlab(27.11, 39.75, -59.22)
CIE-LCHlch(27.11, 71.32, 303.87°)
OKLaboklab(38.88% 0.0308 -0.1708)
OKLCHoklch(38.88% 0.174 280.2)
XYZxyz(8.7295, 5.1346, 32.4228)
Luminance0.0513 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A2C9D #8F9D2C
analogous
#2C569D #3A2C9D #732C9D
triadic
#3A2C9D #9D3A2C #2C9D3A
tetradic
#3A2C9D #9D2C56 #8F9D2C #2C9D73
square
#3A2C9D #9D2C56 #8F9D2C #2C9D73
split-complementary
#3A2C9D #9D732C #569D2C
monochromatic
#17113D #281F6D #3A2C9D #4F3DC9 #7A6DD6

Accessibility & contrast

On white

10.36
#3A2C9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#3A2C9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A2C9D
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A2C9D#FFFFFF#000000##FFFFFF
##3A2C9D1.0010.362.0310.36
#FFFFFF10.361.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044A0
Deuteranopia (green-blind)
#003C9B
Tritanopia (blue-blind)
#004B61
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #3a2c9d;
/* rgb */ color: rgb(58, 44, 157);
/* oklch */ color: oklch(38.9% 0.174 280.2);
Tailwind
colors: {
  custom: {
    50: '#7d67bb',
    500: '#3a2c9d',
    950: '#000000',
  },
}
SCSS
$custom: #3a2c9d;
$custom-light: #7d67bb;
$custom-dark: #000000;
JSON
{
  "hex": "#3a2c9d",
  "rgb": {
    "r": 58,
    "g": 44,
    "b": 157
  },
  "hsl": {
    "h": 247.434,
    "s": 56.219,
    "l": 39.412
  },
  "oklch": {
    "l": 0.38882,
    "c": 0.17354,
    "h": 280.2
  },
  "luminance": 0.05135
}

Semantic roles & 50–950 ramp

primary
#3A2C9D
secondary
#B3BD68
accent
#E048CD
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #3A2C9D

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

Preview Lab → · Contrast checker → · Palette generator →

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