#3D2D9D#3D2D9D

#3D2D9D is a dark, vivid blue. Relative luminance 0.053; OKLCH L 39.3% C 0.172 H 281.5°. Best body text is #FFFFFF at 10.19:1 contrast (WCAG AA passes).

Color values

HEX#3D2D9D
RGBrgb(61, 45, 157)
HSLhsl(249, 55%, 40%)
HSVhsv(249, 71%, 62%)
CMYKcmyk(61.1%, 71.3%, 0%, 38.4%)
CIE-LABlab(27.58, 39.60, -58.45)
CIE-LCHlch(27.58, 70.60, 304.12°)
OKLaboklab(39.28% 0.0343 -0.1684)
OKLCHoklch(39.28% 0.172 281.5)
XYZxyz(8.9468, 5.3026, 32.4438)
Luminance0.0530 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D2D9D #8D9D2D
analogous
#2D559D #3D2D9D #752D9D
triadic
#3D2D9D #9D3D2D #2D9D3D
tetradic
#3D2D9D #9D2D55 #8D9D2D #2D9D75
square
#3D2D9D #9D2D55 #8D9D2D #2D9D75
split-complementary
#3D2D9D #9D752D #559D2D
monochromatic
#18123E #2B1F6D #3D2D9D #533FC8 #7D6FD6

Accessibility & contrast

On white

10.19
#3D2D9D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#3D2D9D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D2D9D
10.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D2D9D#FFFFFF#000000##FFFFFF
##3D2D9D1.0010.192.0610.19
#FFFFFF10.191.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A0
Deuteranopia (green-blind)
#003D9B
Tritanopia (blue-blind)
#004B61
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #3d2d9d;
/* rgb */ color: rgb(61, 45, 157);
/* oklch */ color: oklch(39.3% 0.172 281.5);
Tailwind
colors: {
  custom: {
    50: '#7e68bb',
    500: '#3d2d9d',
    950: '#000000',
  },
}
SCSS
$custom: #3d2d9d;
$custom-light: #7e68bb;
$custom-dark: #000000;
JSON
{
  "hex": "#3d2d9d",
  "rgb": {
    "r": 61,
    "g": 45,
    "b": 157
  },
  "hsl": {
    "h": 248.571,
    "s": 55.446,
    "l": 39.608
  },
  "oklch": {
    "l": 0.39278,
    "c": 0.17188,
    "h": 281.5
  },
  "luminance": 0.05303
}

Semantic roles & 50–950 ramp

primary
#3D2D9D
secondary
#B1BD69
accent
#DF49C9
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #3D2D9D

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

Preview Lab → · Contrast checker → · Palette generator →

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