#3D2D94#3D2D94

#3D2D94 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.4% C 0.160 H 282.9°. Best body text is #FFFFFF at 10.49:1 contrast (WCAG AA passes).

Color values

HEX#3D2D94
RGBrgb(61, 45, 148)
HSLhsl(249, 53%, 38%)
HSVhsv(249, 70%, 58%)
CMYKcmyk(58.8%, 69.6%, 0%, 42%)
CIE-LABlab(26.75, 36.71, -54.29)
CIE-LCHlch(26.75, 65.54, 304.07°)
OKLaboklab(38.43% 0.0358 -0.1563)
OKLCHoklch(38.43% 0.16 282.9)
XYZxyz(8.2065, 5.0065, 28.5451)
Luminance0.0501 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D2D94 #84942D
analogous
#2D5194 #3D2D94 #702D94
triadic
#3D2D94 #943D2D #2D943D
tetradic
#3D2D94 #942D51 #84942D #2D9470
square
#3D2D94 #942D51 #84942D #2D9470
split-complementary
#3D2D94 #94702D #51942D
monochromatic
#161036 #2A1F65 #3D2D94 #503BC3 #7A6AD2

Accessibility & contrast

On white

10.49
#3D2D94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#3D2D94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D2D94
10.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D2D94#FFFFFF#000000##FFFFFF
##3D2D941.0010.492.0010.49
#FFFFFF10.491.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004397
Deuteranopia (green-blind)
#003C92
Tritanopia (blue-blind)
#0C485D
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #3d2d94;
/* rgb */ color: rgb(61, 45, 148);
/* oklch */ color: oklch(38.4% 0.160 282.9);
Tailwind
colors: {
  custom: {
    50: '#7c67b4',
    500: '#3d2d94',
    950: '#000000',
  },
}
SCSS
$custom: #3d2d94;
$custom-light: #7c67b4;
$custom-dark: #000000;
JSON
{
  "hex": "#3d2d94",
  "rgb": {
    "r": 61,
    "g": 45,
    "b": 148
  },
  "hsl": {
    "h": 249.32,
    "s": 53.368,
    "l": 37.843
  },
  "oklch": {
    "l": 0.38432,
    "c": 0.16031,
    "h": 282.9
  },
  "luminance": 0.05007
}

Semantic roles & 50–950 ramp

primary
#3D2D94
secondary
#ABB864
accent
#DD4BC6
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #3D2D94

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

Preview Lab → · Contrast checker → · Palette generator →

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