#3D2FA1#3D2FA1

#3D2FA1 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 40.0% C 0.175 H 280.5°. Best body text is #FFFFFF at 9.91:1 contrast (WCAG AA passes).

Color values

HEX#3D2FA1
RGBrgb(61, 47, 161)
HSLhsl(247, 55%, 41%)
HSVhsv(247, 71%, 63%)
CMYKcmyk(62.1%, 70.8%, 0%, 36.9%)
CIE-LABlab(28.37, 39.73, -59.57)
CIE-LCHlch(28.37, 71.61, 303.70°)
OKLaboklab(39.96% 0.032 -0.1717)
OKLCHoklch(39.96% 0.175 280.5)
XYZxyz(9.3720, 5.5977, 34.2979)
Luminance0.0560 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D2FA1 #93A12F
analogous
#2F5AA1 #3D2FA1 #762FA1
triadic
#3D2FA1 #A13D2F #2FA13D
tetradic
#3D2FA1 #A12F5A #93A12F #2FA176
square
#3D2FA1 #A12F5A #93A12F #2FA176
split-complementary
#3D2FA1 #A1762F #5AA12F
monochromatic
#191342 #2B2172 #3D2FA1 #5545C9 #8074D6

Accessibility & contrast

On white

9.91
#3D2FA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#3D2FA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D2FA1
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D2FA1#FFFFFF#000000##FFFFFF
##3D2FA11.009.912.129.91
#FFFFFF9.911.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047A4
Deuteranopia (green-blind)
#003F9F
Tritanopia (blue-blind)
#004E64
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #3d2fa1;
/* rgb */ color: rgb(61, 47, 161);
/* oklch */ color: oklch(40.0% 0.175 280.5);
Tailwind
colors: {
  custom: {
    50: '#7f69be',
    500: '#3d2fa1',
    950: '#000000',
  },
}
SCSS
$custom: #3d2fa1;
$custom-light: #7f69be;
$custom-dark: #000000;
JSON
{
  "hex": "#3d2fa1",
  "rgb": {
    "r": 61,
    "g": 47,
    "b": 161
  },
  "hsl": {
    "h": 247.368,
    "s": 54.808,
    "l": 40.784
  },
  "oklch": {
    "l": 0.3996,
    "c": 0.17469,
    "h": 280.5
  },
  "luminance": 0.05598
}

Semantic roles & 50–950 ramp

primary
#3D2FA1
secondary
#B4BE6E
accent
#DE4ACC
background
#F8F6FB
surface
#EFEBF7
border
#CAC6D0
text
#0B0612
muted
#7C7A81

Preview Lab

Preview with #3D2FA1

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

Preview Lab → · Contrast checker → · Palette generator →

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