#3D2D91#3D2D91

#3D2D91 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.2% C 0.156 H 283.4°. Best body text is #FFFFFF at 10.59:1 contrast (WCAG AA passes).

Color values

HEX#3D2D91
RGBrgb(61, 45, 145)
HSLhsl(250, 53%, 37%)
HSVhsv(250, 69%, 57%)
CMYKcmyk(57.9%, 69%, 0%, 43.1%)
CIE-LABlab(26.48, 35.74, -52.88)
CIE-LCHlch(26.48, 63.83, 304.06°)
OKLaboklab(38.16% 0.0363 -0.1521)
OKLCHoklch(38.16% 0.156 283.4)
XYZxyz(7.9721, 4.9127, 27.3107)
Luminance0.0491 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D2D91 #81912D
analogous
#2D4F91 #3D2D91 #6F2D91
triadic
#3D2D91 #913D2D #2D913D
tetradic
#3D2D91 #912D4F #81912D #2D916F
square
#3D2D91 #912D4F #81912D #2D916F
split-complementary
#3D2D91 #916F2D #4F912D
monochromatic
#161034 #291F62 #3D2D91 #513BC0 #7968D0

Accessibility & contrast

On white

10.59
#3D2D91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#3D2D91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D2D91
10.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D2D91#FFFFFF#000000##FFFFFF
##3D2D911.0010.591.9810.59
#FFFFFF10.591.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004294
Deuteranopia (green-blind)
#003B8F
Tritanopia (blue-blind)
#12475B
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #3d2d91;
/* rgb */ color: rgb(61, 45, 145);
/* oklch */ color: oklch(38.2% 0.156 283.4);
Tailwind
colors: {
  custom: {
    50: '#7c67b2',
    500: '#3d2d91',
    950: '#000000',
  },
}
SCSS
$custom: #3d2d91;
$custom-light: #7c67b2;
$custom-dark: #000000;
JSON
{
  "hex": "#3d2d91",
  "rgb": {
    "r": 61,
    "g": 45,
    "b": 145
  },
  "hsl": {
    "h": 249.6,
    "s": 52.632,
    "l": 37.255
  },
  "oklch": {
    "l": 0.38156,
    "c": 0.15639,
    "h": 283.4
  },
  "luminance": 0.04913
}

Semantic roles & 50–950 ramp

primary
#3D2D91
secondary
#A9B763
accent
#DC4CC5
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #3D2D91

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

Preview Lab → · Contrast checker → · Palette generator →

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