#3D2D97#3D2D97

#3D2D97 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.7% C 0.164 H 282.4°. Best body text is #FFFFFF at 10.39:1 contrast (WCAG AA passes).

Color values

HEX#3D2D97
RGBrgb(61, 45, 151)
HSLhsl(249, 54%, 38%)
HSVhsv(249, 70%, 59%)
CMYKcmyk(59.6%, 70.2%, 0%, 40.8%)
CIE-LABlab(27.03, 37.68, -55.69)
CIE-LCHlch(27.03, 67.24, 304.08°)
OKLaboklab(38.71% 0.0353 -0.1603)
OKLCHoklch(38.71% 0.164 282.4)
XYZxyz(8.4470, 5.1027, 29.8120)
Luminance0.0510 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D2D97 #87972D
analogous
#2D5297 #3D2D97 #722D97
triadic
#3D2D97 #973D2D #2D973D
tetradic
#3D2D97 #972D52 #87972D #2D9772
square
#3D2D97 #972D52 #87972D #2D9772
split-complementary
#3D2D97 #97722D #52972D
monochromatic
#171139 #2A1F68 #3D2D97 #513CC5 #7B6BD3

Accessibility & contrast

On white

10.39
#3D2D97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#3D2D97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D2D97
10.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D2D97#FFFFFF#000000##FFFFFF
##3D2D971.0010.392.0210.39
#FFFFFF10.391.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439A
Deuteranopia (green-blind)
#003C95
Tritanopia (blue-blind)
#04495E
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #3d2d97;
/* rgb */ color: rgb(61, 45, 151);
/* oklch */ color: oklch(38.7% 0.164 282.4);
Tailwind
colors: {
  custom: {
    50: '#7d67b7',
    500: '#3d2d97',
    950: '#000000',
  },
}
SCSS
$custom: #3d2d97;
$custom-light: #7d67b7;
$custom-dark: #000000;
JSON
{
  "hex": "#3d2d97",
  "rgb": {
    "r": 61,
    "g": 45,
    "b": 151
  },
  "hsl": {
    "h": 249.057,
    "s": 54.082,
    "l": 38.431
  },
  "oklch": {
    "l": 0.38711,
    "c": 0.16419,
    "h": 282.4
  },
  "luminance": 0.05103
}

Semantic roles & 50–950 ramp

primary
#3D2D97
secondary
#ADBA66
accent
#DD4AC7
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #3D2D97

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

Preview Lab → · Contrast checker → · Palette generator →

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