#3A329C#3A329C

#3A329C is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.7% C 0.165 H 279.1°. Best body text is #FFFFFF at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#3A329C
RGBrgb(58, 50, 156)
HSLhsl(245, 51%, 40%)
HSVhsv(245, 68%, 61%)
CMYKcmyk(62.8%, 67.9%, 0%, 38.8%)
CIE-LABlab(28.33, 35.85, -56.62)
CIE-LCHlch(28.33, 67.01, 302.34°)
OKLaboklab(39.73% 0.0262 -0.1632)
OKLCHoklch(39.73% 0.165 279.1)
XYZxyz(8.8844, 5.5804, 32.0550)
Luminance0.0558 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A329C #949C32
analogous
#325F9C #3A329C #6F329C
triadic
#3A329C #9C3A32 #329C3A
tetradic
#3A329C #9C325F #949C32 #329C6F
square
#3A329C #9C325F #949C32 #329C6F
split-complementary
#3A329C #9C6F32 #5F9C32
monochromatic
#18143F #29236E #3A329C #5147C4 #7D75D3

Accessibility & contrast

On white

9.92
#3A329C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3A329C
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A329C#FFFFFF#000000##FFFFFF
##3A329C1.009.922.129.92
#FFFFFF9.921.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00479F
Deuteranopia (green-blind)
#003F9A
Tritanopia (blue-blind)
#004E62
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #3a329c;
/* rgb */ color: rgb(58, 50, 156);
/* oklch */ color: oklch(39.7% 0.165 279.1);
Tailwind
colors: {
  custom: {
    50: '#7c6bba',
    500: '#3a329c',
    950: '#000000',
  },
}
SCSS
$custom: #3a329c;
$custom-light: #7c6bba;
$custom-dark: #000000;
JSON
{
  "hex": "#3a329c",
  "rgb": {
    "r": 58,
    "g": 50,
    "b": 156
  },
  "hsl": {
    "h": 244.528,
    "s": 51.456,
    "l": 40.392
  },
  "oklch": {
    "l": 0.39725,
    "c": 0.16527,
    "h": 279.1
  },
  "luminance": 0.05581
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3A329C

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

Preview Lab → · Contrast checker → · Palette generator →

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