#3A329D#3A329D

#3A329D is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.8% C 0.167 H 279.0°. Best body text is #FFFFFF at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#3A329D
RGBrgb(58, 50, 157)
HSLhsl(244, 52%, 41%)
HSVhsv(244, 68%, 62%)
CMYKcmyk(63.1%, 68.2%, 0%, 38.4%)
CIE-LABlab(28.42, 36.18, -57.08)
CIE-LCHlch(28.42, 67.58, 302.37°)
OKLaboklab(39.82% 0.0261 -0.1645)
OKLCHoklch(39.82% 0.167 279)
XYZxyz(8.9694, 5.6144, 32.5028)
Luminance0.0561 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A329D #959D32
analogous
#325F9D #3A329D #6F329D
triadic
#3A329D #9D3A32 #329D3A
tetradic
#3A329D #9D325F #959D32 #329D6F
square
#3A329D #9D325F #959D32 #329D6F
split-complementary
#3A329D #9D6F32 #5F9D32
monochromatic
#181440 #29236F #3A329D #5148C5 #7D76D3

Accessibility & contrast

On white

9.89
#3A329D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#3A329D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A329D
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A329D#FFFFFF#000000##FFFFFF
##3A329D1.009.892.129.89
#FFFFFF9.891.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A0
Deuteranopia (green-blind)
#003F9B
Tritanopia (blue-blind)
#004E63
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #3a329d;
/* rgb */ color: rgb(58, 50, 157);
/* oklch */ color: oklch(39.8% 0.167 279.0);
Tailwind
colors: {
  custom: {
    50: '#7c6bbb',
    500: '#3a329d',
    950: '#000000',
  },
}
SCSS
$custom: #3a329d;
$custom-light: #7c6bbb;
$custom-dark: #000000;
JSON
{
  "hex": "#3a329d",
  "rgb": {
    "r": 58,
    "g": 50,
    "b": 157
  },
  "hsl": {
    "h": 244.486,
    "s": 51.691,
    "l": 40.588
  },
  "oklch": {
    "l": 0.39817,
    "c": 0.16658,
    "h": 279
  },
  "luminance": 0.05615
}

Semantic roles & 50–950 ramp

primary
#3A329D
secondary
#B6BC6F
accent
#DB4DD0
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #3A329D

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

Preview Lab → · Contrast checker → · Palette generator →

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