#3D2D95#3D2D95

#3D2D95 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.5% C 0.162 H 282.7°. Best body text is #FFFFFF at 10.46:1 contrast (WCAG AA passes).

Color values

HEX#3D2D95
RGBrgb(61, 45, 149)
HSLhsl(249, 54%, 38%)
HSVhsv(249, 70%, 58%)
CMYKcmyk(59.1%, 69.8%, 0%, 41.6%)
CIE-LABlab(26.84, 37.03, -54.76)
CIE-LCHlch(26.84, 66.10, 304.07°)
OKLaboklab(38.53% 0.0357 -0.1576)
OKLCHoklch(38.53% 0.162 282.7)
XYZxyz(8.2860, 5.0383, 28.9638)
Luminance0.0504 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D2D95 #85952D
analogous
#2D5195 #3D2D95 #712D95
triadic
#3D2D95 #953D2D #2D953D
tetradic
#3D2D95 #952D51 #85952D #2D9571
square
#3D2D95 #952D51 #85952D #2D9571
split-complementary
#3D2D95 #95712D #51952D
monochromatic
#171137 #2A1F66 #3D2D95 #503BC4 #7A6AD2

Accessibility & contrast

On white

10.46
#3D2D95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3D2D95
10.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D2D95#FFFFFF#000000##FFFFFF
##3D2D951.0010.462.0110.46
#FFFFFF10.461.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004398
Deuteranopia (green-blind)
#003C93
Tritanopia (blue-blind)
#09485D
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #3d2d95;
/* rgb */ color: rgb(61, 45, 149);
/* oklch */ color: oklch(38.5% 0.162 282.7);
Tailwind
colors: {
  custom: {
    50: '#7d67b5',
    500: '#3d2d95',
    950: '#000000',
  },
}
SCSS
$custom: #3d2d95;
$custom-light: #7d67b5;
$custom-dark: #000000;
JSON
{
  "hex": "#3d2d95",
  "rgb": {
    "r": 61,
    "g": 45,
    "b": 149
  },
  "hsl": {
    "h": 249.231,
    "s": 53.608,
    "l": 38.039
  },
  "oklch": {
    "l": 0.38525,
    "c": 0.16161,
    "h": 282.7
  },
  "luminance": 0.05039
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3D2D95

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

Preview Lab → · Contrast checker → · Palette generator →

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