#3A349B#3A349B

#3A349B is a dark, vivid blue. Relative luminance 0.057; OKLCH L 40.0% C 0.162 H 278.8°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#3A349B
RGBrgb(58, 52, 155)
HSLhsl(243, 50%, 41%)
HSVhsv(243, 66%, 61%)
CMYKcmyk(62.6%, 66.5%, 0%, 39.2%)
CIE-LABlab(28.70, 34.28, -55.41)
CIE-LCHlch(28.70, 65.15, 301.74°)
OKLaboklab(39.97% 0.0246 -0.1596)
OKLCHoklch(39.97% 0.162 278.8)
XYZxyz(8.8874, 5.7214, 31.6400)
Luminance0.0572 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A349B #959B34
analogous
#34619B #3A349B #6D349B
triadic
#3A349B #9B3A34 #349B3A
tetradic
#3A349B #9B3461 #959B34 #349B6D
square
#3A349B #9B3461 #959B34 #349B6D
split-complementary
#3A349B #9B6D34 #619B34
monochromatic
#18153F #29256D #3A349B #514AC2 #7D78D2

Accessibility & contrast

On white

9.79
#3A349B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#3A349B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A349B
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A349B#FFFFFF#000000##FFFFFF
##3A349B1.009.792.149.79
#FFFFFF9.791.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00489E
Deuteranopia (green-blind)
#004099
Tritanopia (blue-blind)
#004E63
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #3a349b;
/* rgb */ color: rgb(58, 52, 155);
/* oklch */ color: oklch(40.0% 0.162 278.8);
Tailwind
colors: {
  custom: {
    50: '#7c6cb9',
    500: '#3a349b',
    950: '#000000',
  },
}
SCSS
$custom: #3a349b;
$custom-light: #7c6cb9;
$custom-dark: #000000;
JSON
{
  "hex": "#3a349b",
  "rgb": {
    "r": 58,
    "g": 52,
    "b": 155
  },
  "hsl": {
    "h": 243.495,
    "s": 49.758,
    "l": 40.588
  },
  "oklch": {
    "l": 0.39966,
    "c": 0.1615,
    "h": 278.8
  },
  "luminance": 0.05722
}

Semantic roles & 50–950 ramp

primary
#3A349B
secondary
#B6BA71
accent
#D94FD1
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #3A349B

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

Preview Lab → · Contrast checker → · Palette generator →

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