#3D2FB1#3D2FB1

#3D2FB1 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 41.5% C 0.195 H 278.5°. Best body text is #FFFFFF at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#3D2FB1
RGBrgb(61, 47, 177)
HSLhsl(246, 58%, 44%)
HSVhsv(246, 73%, 69%)
CMYKcmyk(65.5%, 73.4%, 0%, 30.6%)
CIE-LABlab(29.91, 44.85, -66.68)
CIE-LCHlch(29.91, 80.36, 303.93°)
OKLaboklab(41.52% 0.0289 -0.1925)
OKLCHoklch(41.52% 0.195 278.5)
XYZxyz(10.8742, 6.1986, 42.2098)
Luminance0.0620 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D2FB1 #A3B12F
analogous
#2F62B1 #3D2FB1 #7E2FB1
triadic
#3D2FB1 #B13D2F #2FB13D
tetradic
#3D2FB1 #B12F62 #A3B12F #2FB17E
square
#3D2FB1 #B12F62 #A3B12F #2FB17E
split-complementary
#3D2FB1 #B17E2F #62B12F
monochromatic
#1C1550 #2C2281 #3D2FB1 #5B4DD0 #887EDD

Accessibility & contrast

On white

9.38
#3D2FB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#3D2FB1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D2FB1
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D2FB1#FFFFFF#000000##FFFFFF
##3D2FB11.009.382.249.38
#FFFFFF9.381.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB5
Deuteranopia (green-blind)
#0041AF
Tritanopia (blue-blind)
#00546D
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #3d2fb1;
/* rgb */ color: rgb(61, 47, 177);
/* oklch */ color: oklch(41.5% 0.195 278.5);
Tailwind
colors: {
  custom: {
    50: '#826ac9',
    500: '#3d2fb1',
    950: '#000000',
  },
}
SCSS
$custom: #3d2fb1;
$custom-light: #826ac9;
$custom-dark: #000000;
JSON
{
  "hex": "#3d2fb1",
  "rgb": {
    "r": 61,
    "g": 47,
    "b": 177
  },
  "hsl": {
    "h": 246.462,
    "s": 58.036,
    "l": 43.922
  },
  "oklch": {
    "l": 0.41518,
    "c": 0.19466,
    "h": 278.5
  },
  "luminance": 0.06199
}

Semantic roles & 50–950 ramp

primary
#3D2FB1
secondary
#BDC576
accent
#E147D1
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3D2FB1

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

Preview Lab → · Contrast checker → · Palette generator →

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