#3D2D99#3D2D99

#3D2D99 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.9% C 0.167 H 282.1°. Best body text is #FFFFFF at 10.33:1 contrast (WCAG AA passes).

Color values

HEX#3D2D99
RGBrgb(61, 45, 153)
HSLhsl(249, 55%, 39%)
HSVhsv(249, 71%, 60%)
CMYKcmyk(60.1%, 70.6%, 0%, 40%)
CIE-LABlab(27.21, 38.32, -56.61)
CIE-LCHlch(27.21, 68.36, 304.09°)
OKLaboklab(38.9% 0.035 -0.1631)
OKLCHoklch(38.9% 0.167 282.1)
XYZxyz(8.6108, 5.1682, 30.6746)
Luminance0.0517 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D2D99 #89992D
analogous
#2D5399 #3D2D99 #732D99
triadic
#3D2D99 #993D2D #2D993D
tetradic
#3D2D99 #992D53 #89992D #2D9973
square
#3D2D99 #992D53 #89992D #2D9973
split-complementary
#3D2D99 #99732D #53992D
monochromatic
#17113A #2A1F6A #3D2D99 #513DC6 #7C6CD4

Accessibility & contrast

On white

10.33
#3D2D99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#3D2D99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D2D99
10.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D2D99#FFFFFF#000000##FFFFFF
##3D2D991.0010.332.0310.33
#FFFFFF10.331.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449C
Deuteranopia (green-blind)
#003C97
Tritanopia (blue-blind)
#004A5F
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #3d2d99;
/* rgb */ color: rgb(61, 45, 153);
/* oklch */ color: oklch(38.9% 0.167 282.1);
Tailwind
colors: {
  custom: {
    50: '#7d67b8',
    500: '#3d2d99',
    950: '#000000',
  },
}
SCSS
$custom: #3d2d99;
$custom-light: #7d67b8;
$custom-dark: #000000;
JSON
{
  "hex": "#3d2d99",
  "rgb": {
    "r": 61,
    "g": 45,
    "b": 153
  },
  "hsl": {
    "h": 248.889,
    "s": 54.545,
    "l": 38.824
  },
  "oklch": {
    "l": 0.38899,
    "c": 0.16677,
    "h": 282.1
  },
  "luminance": 0.05169
}

Semantic roles & 50–950 ramp

primary
#3D2D99
secondary
#AEBB67
accent
#DE4AC8
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #3D2D99

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

Preview Lab → · Contrast checker → · Palette generator →

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