#3D2FC5#3D2FC5

#3D2FC5 is a dark, highly saturated blue. Relative luminance 0.071; OKLCH L 43.6% C 0.219 H 276.4°. Best body text is #FFFFFF at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#3D2FC5
RGBrgb(61, 47, 197)
HSLhsl(246, 61%, 48%)
HSVhsv(246, 76%, 77%)
CMYKcmyk(69%, 76.1%, 0%, 22.7%)
CIE-LABlab(31.93, 51.11, -75.17)
CIE-LCHlch(31.93, 90.90, 304.22°)
OKLaboklab(43.55% 0.0245 -0.2173)
OKLCHoklch(43.55% 0.219 276.4)
XYZxyz(13.0157, 7.0552, 53.4884)
Luminance0.0706 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D2FC5 #B7C52F
analogous
#2F6CC5 #3D2FC5 #882FC5
triadic
#3D2FC5 #C53D2F #2FC53D
tetradic
#3D2FC5 #C52F6C #B7C52F #2FC588
square
#3D2FC5 #C52F6C #B7C52F #2FC588
split-complementary
#3D2FC5 #C5882F #6CC52F
monochromatic
#1E1762 #2E2394 #3D2FC5 #655AD8 #938BE3

Accessibility & contrast

On white

8.71
#3D2FC5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#3D2FC5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D2FC5
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D2FC5#FFFFFF#000000##FFFFFF
##3D2FC51.008.712.418.71
#FFFFFF8.711.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051C9
Deuteranopia (green-blind)
#0045C2
Tritanopia (blue-blind)
#005B79
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #3d2fc5;
/* rgb */ color: rgb(61, 47, 197);
/* oklch */ color: oklch(43.6% 0.219 276.4);
Tailwind
colors: {
  custom: {
    50: '#866bd8',
    500: '#3d2fc5',
    950: '#000000',
  },
}
SCSS
$custom: #3d2fc5;
$custom-light: #866bd8;
$custom-dark: #000000;
JSON
{
  "hex": "#3d2fc5",
  "rgb": {
    "r": 61,
    "g": 47,
    "b": 197
  },
  "hsl": {
    "h": 245.6,
    "s": 61.475,
    "l": 47.843
  },
  "oklch": {
    "l": 0.43552,
    "c": 0.21863,
    "h": 276.4
  },
  "luminance": 0.07056
}

Semantic roles & 50–950 ramp

primary
#3D2FC5
secondary
#C6CD82
accent
#E543D6
background
#F9F6FD
surface
#F1EBFB
border
#CBC6D4
text
#0D0715
muted
#7E7A83

Preview Lab

Preview with #3D2FC5

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

Preview Lab → · Contrast checker → · Palette generator →

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