#3D2D96#3D2D96

#3D2D96 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.6% C 0.163 H 282.6°. Best body text is #FFFFFF at 10.43:1 contrast (WCAG AA passes).

Color values

HEX#3D2D96
RGBrgb(61, 45, 150)
HSLhsl(249, 54%, 38%)
HSVhsv(249, 70%, 59%)
CMYKcmyk(59.3%, 70%, 0%, 41.2%)
CIE-LABlab(26.93, 37.36, -55.22)
CIE-LCHlch(26.93, 66.67, 304.08°)
OKLaboklab(38.62% 0.0355 -0.159)
OKLCHoklch(38.62% 0.163 282.6)
XYZxyz(8.3662, 5.0703, 29.3861)
Luminance0.0507 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D2D96 #86962D
analogous
#2D5196 #3D2D96 #712D96
triadic
#3D2D96 #963D2D #2D963D
tetradic
#3D2D96 #962D51 #86962D #2D9671
square
#3D2D96 #962D51 #86962D #2D9671
split-complementary
#3D2D96 #96712D #51962D
monochromatic
#171138 #2A1F67 #3D2D96 #513CC4 #7B6BD3

Accessibility & contrast

On white

10.43
#3D2D96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#3D2D96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D2D96
10.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D2D96#FFFFFF#000000##FFFFFF
##3D2D961.0010.432.0110.43
#FFFFFF10.431.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004399
Deuteranopia (green-blind)
#003C94
Tritanopia (blue-blind)
#07495E
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #3d2d96;
/* rgb */ color: rgb(61, 45, 150);
/* oklch */ color: oklch(38.6% 0.163 282.6);
Tailwind
colors: {
  custom: {
    50: '#7d67b6',
    500: '#3d2d96',
    950: '#000000',
  },
}
SCSS
$custom: #3d2d96;
$custom-light: #7d67b6;
$custom-dark: #000000;
JSON
{
  "hex": "#3d2d96",
  "rgb": {
    "r": 61,
    "g": 45,
    "b": 150
  },
  "hsl": {
    "h": 249.143,
    "s": 53.846,
    "l": 38.235
  },
  "oklch": {
    "l": 0.38618,
    "c": 0.1629,
    "h": 282.6
  },
  "luminance": 0.05071
}

Semantic roles & 50–950 ramp

primary
#3D2D96
secondary
#ADB965
accent
#DD4BC7
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #3D2D96

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

Preview Lab → · Contrast checker → · Palette generator →

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