#3D2F91#3D2F91

#3D2F91 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 38.5% C 0.154 H 282.9°. Best body text is #FFFFFF at 10.43:1 contrast (WCAG AA passes).

Color values

HEX#3D2F91
RGBrgb(61, 47, 145)
HSLhsl(249, 51%, 38%)
HSVhsv(249, 68%, 57%)
CMYKcmyk(57.9%, 67.6%, 0%, 43.1%)
CIE-LABlab(26.93, 34.53, -52.15)
CIE-LCHlch(26.93, 62.55, 303.51°)
OKLaboklab(38.48% 0.0344 -0.15)
OKLCHoklch(38.48% 0.154 282.9)
XYZxyz(8.0502, 5.0690, 27.3368)
Luminance0.0507 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D2F91 #83912F
analogous
#2F5291 #3D2F91 #6E2F91
triadic
#3D2F91 #913D2F #2F913D
tetradic
#3D2F91 #912F52 #83912F #2F916E
square
#3D2F91 #912F52 #83912F #2F916E
split-complementary
#3D2F91 #916E2F #52912F
monochromatic
#161135 #2A2063 #3D2F91 #503EBF #7A6BCF

Accessibility & contrast

On white

10.43
#3D2F91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#3D2F91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D2F91
10.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D2F91#FFFFFF#000000##FFFFFF
##3D2F911.0010.432.0110.43
#FFFFFF10.431.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004394
Deuteranopia (green-blind)
#003C8F
Tritanopia (blue-blind)
#11485C
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #3d2f91;
/* rgb */ color: rgb(61, 47, 145);
/* oklch */ color: oklch(38.5% 0.154 282.9);
Tailwind
colors: {
  custom: {
    50: '#7c68b2',
    500: '#3d2f91',
    950: '#000000',
  },
}
SCSS
$custom: #3d2f91;
$custom-light: #7c68b2;
$custom-dark: #000000;
JSON
{
  "hex": "#3d2f91",
  "rgb": {
    "r": 61,
    "g": 47,
    "b": 145
  },
  "hsl": {
    "h": 248.571,
    "s": 51.042,
    "l": 37.647
  },
  "oklch": {
    "l": 0.38478,
    "c": 0.15389,
    "h": 282.9
  },
  "luminance": 0.05069
}

Semantic roles & 50–950 ramp

primary
#3D2F91
secondary
#ABB665
accent
#DB4DC6
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#0A0611
muted
#7C7A80

Preview Lab

Preview with #3D2F91

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

Preview Lab → · Contrast checker → · Palette generator →

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