#3D329E#3D329E

#3D329E is a dark, vivid blue. Relative luminance 0.057; OKLCH L 40.1% C 0.167 H 280.3°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#3D329E
RGBrgb(61, 50, 158)
HSLhsl(246, 52%, 41%)
HSVhsv(246, 68%, 62%)
CMYKcmyk(61.4%, 68.4%, 0%, 38%)
CIE-LABlab(28.75, 36.97, -57.14)
CIE-LCHlch(28.75, 68.06, 302.91°)
OKLaboklab(40.15% 0.03 -0.1646)
OKLCHoklch(40.15% 0.167 280.3)
XYZxyz(9.2347, 5.7413, 32.9627)
Luminance0.0574 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D329E #939E32
analogous
#325D9E #3D329E #73329E
triadic
#3D329E #9E3D32 #329E3D
tetradic
#3D329E #9E325D #939E32 #329E73
square
#3D329E #9E325D #939E32 #329E73
split-complementary
#3D329E #9E7332 #5D9E32
monochromatic
#191541 #2B2370 #3D329E #5548C5 #8077D4

Accessibility & contrast

On white

9.77
#3D329E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#3D329E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D329E
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D329E#FFFFFF#000000##FFFFFF
##3D329E1.009.772.159.77
#FFFFFF9.771.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048A1
Deuteranopia (green-blind)
#00409C
Tritanopia (blue-blind)
#004E64
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #3d329e;
/* rgb */ color: rgb(61, 50, 158);
/* oklch */ color: oklch(40.1% 0.167 280.3);
Tailwind
colors: {
  custom: {
    50: '#7e6bbc',
    500: '#3d329e',
    950: '#000000',
  },
}
SCSS
$custom: #3d329e;
$custom-light: #7e6bbc;
$custom-dark: #000000;
JSON
{
  "hex": "#3d329e",
  "rgb": {
    "r": 61,
    "g": 50,
    "b": 158
  },
  "hsl": {
    "h": 246.111,
    "s": 51.923,
    "l": 40.784
  },
  "oklch": {
    "l": 0.40146,
    "c": 0.16731,
    "h": 280.3
  },
  "luminance": 0.05742
}

Semantic roles & 50–950 ramp

primary
#3D329E
secondary
#B4BC70
accent
#DB4CCD
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0712
muted
#7C7A81

Preview Lab

Preview with #3D329E

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

Preview Lab → · Contrast checker → · Palette generator →

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