#3D2FB3#3D2FB3

#3D2FB3 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 41.7% C 0.197 H 278.3°. Best body text is #FFFFFF at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#3D2FB3
RGBrgb(61, 47, 179)
HSLhsl(246, 58%, 44%)
HSVhsv(246, 74%, 70%)
CMYKcmyk(65.9%, 73.7%, 0%, 29.8%)
CIE-LABlab(30.11, 45.48, -67.55)
CIE-LCHlch(30.11, 81.43, 303.96°)
OKLaboklab(41.72% 0.0285 -0.195)
OKLCHoklch(41.72% 0.197 278.3)
XYZxyz(11.0750, 6.2789, 43.2674)
Luminance0.0628 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D2FB3 #A5B32F
analogous
#2F63B3 #3D2FB3 #7F2FB3
triadic
#3D2FB3 #B33D2F #2FB33D
tetradic
#3D2FB3 #B32F63 #A5B32F #2FB37F
square
#3D2FB3 #B32F63 #A5B32F #2FB37F
split-complementary
#3D2FB3 #B37F2F #63B32F
monochromatic
#1C1652 #2C2283 #3D2FB3 #5C4FD1 #897FDD

Accessibility & contrast

On white

9.31
#3D2FB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#3D2FB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D2FB3
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D2FB3#FFFFFF#000000##FFFFFF
##3D2FB31.009.312.269.31
#FFFFFF9.311.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB7
Deuteranopia (green-blind)
#0041B1
Tritanopia (blue-blind)
#00546E
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #3d2fb3;
/* rgb */ color: rgb(61, 47, 179);
/* oklch */ color: oklch(41.7% 0.197 278.3);
Tailwind
colors: {
  custom: {
    50: '#826acb',
    500: '#3d2fb3',
    950: '#000000',
  },
}
SCSS
$custom: #3d2fb3;
$custom-light: #826acb;
$custom-dark: #000000;
JSON
{
  "hex": "#3d2fb3",
  "rgb": {
    "r": 61,
    "g": 47,
    "b": 179
  },
  "hsl": {
    "h": 246.364,
    "s": 58.407,
    "l": 44.314
  },
  "oklch": {
    "l": 0.41718,
    "c": 0.19711,
    "h": 278.3
  },
  "luminance": 0.0628
}

Semantic roles & 50–950 ramp

primary
#3D2FB3
secondary
#BEC678
accent
#E246D1
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3D2FB3

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

Preview Lab → · Contrast checker → · Palette generator →

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