#3D329A#3D329A

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

Color values

HEX#3D329A
RGBrgb(61, 50, 154)
HSLhsl(246, 51%, 40%)
HSVhsv(246, 68%, 60%)
CMYKcmyk(60.4%, 67.5%, 0%, 39.6%)
CIE-LABlab(28.40, 35.66, -55.28)
CIE-LCHlch(28.40, 65.78, 302.82°)
OKLaboklab(39.78% 0.0305 -0.1592)
OKLCHoklch(39.78% 0.162 280.9)
XYZxyz(8.8960, 5.6058, 31.1788)
Luminance0.0561 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D329A #8F9A32
analogous
#325B9A #3D329A #71329A
triadic
#3D329A #9A3D32 #329A3D
tetradic
#3D329A #9A325B #8F9A32 #329A71
square
#3D329A #9A325B #8F9A32 #329A71
split-complementary
#3D329A #9A7132 #5B9A32
monochromatic
#18143E #2B236C #3D329A #5346C3 #7E74D2

Accessibility & contrast

On white

9.90
#3D329A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3D329A
9.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D329A#FFFFFF#000000##FFFFFF
##3D329A1.009.902.129.90
#FFFFFF9.901.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00479D
Deuteranopia (green-blind)
#003F98
Tritanopia (blue-blind)
#004D61
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #3d329a;
/* rgb */ color: rgb(61, 50, 154);
/* oklch */ color: oklch(39.8% 0.162 280.9);
Tailwind
colors: {
  custom: {
    50: '#7d6bb9',
    500: '#3d329a',
    950: '#000000',
  },
}
SCSS
$custom: #3d329a;
$custom-light: #7d6bb9;
$custom-dark: #000000;
JSON
{
  "hex": "#3d329a",
  "rgb": {
    "r": 61,
    "g": 50,
    "b": 154
  },
  "hsl": {
    "h": 246.346,
    "s": 50.98,
    "l": 40
  },
  "oklch": {
    "l": 0.3978,
    "c": 0.16206,
    "h": 280.9
  },
  "luminance": 0.05606
}

Semantic roles & 50–950 ramp

primary
#3D329A
secondary
#B2BA6E
accent
#DA4DCC
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #3D329A

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

Preview Lab → · Contrast checker → · Palette generator →

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