#3D2FB4#3D2FB4

#3D2FB4 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 41.8% C 0.198 H 278.2°. Best body text is #FFFFFF at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#3D2FB4
RGBrgb(61, 47, 180)
HSLhsl(246, 59%, 45%)
HSVhsv(246, 74%, 71%)
CMYKcmyk(66.1%, 73.9%, 0%, 29.4%)
CIE-LABlab(30.20, 45.80, -67.98)
CIE-LCHlch(30.20, 81.97, 303.97°)
OKLaboklab(41.82% 0.0282 -0.1963)
OKLCHoklch(41.82% 0.198 278.2)
XYZxyz(11.1765, 6.3195, 43.8020)
Luminance0.0632 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D2FB4 #A6B42F
analogous
#2F64B4 #3D2FB4 #802FB4
triadic
#3D2FB4 #B43D2F #2FB43D
tetradic
#3D2FB4 #B42F64 #A6B42F #2FB480
square
#3D2FB4 #B42F64 #A6B42F #2FB480
split-complementary
#3D2FB4 #B4802F #64B42F
monochromatic
#1C1653 #2D2283 #3D2FB4 #5D4FD1 #8A80DE

Accessibility & contrast

On white

9.28
#3D2FB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3D2FB4
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D2FB4#FFFFFF#000000##FFFFFF
##3D2FB41.009.282.269.28
#FFFFFF9.281.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB8
Deuteranopia (green-blind)
#0042B2
Tritanopia (blue-blind)
#00556F
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #3d2fb4;
/* rgb */ color: rgb(61, 47, 180);
/* oklch */ color: oklch(41.8% 0.198 278.2);
Tailwind
colors: {
  custom: {
    50: '#826acc',
    500: '#3d2fb4',
    950: '#000000',
  },
}
SCSS
$custom: #3d2fb4;
$custom-light: #826acc;
$custom-dark: #000000;
JSON
{
  "hex": "#3d2fb4",
  "rgb": {
    "r": 61,
    "g": 47,
    "b": 180
  },
  "hsl": {
    "h": 246.316,
    "s": 58.59,
    "l": 44.51
  },
  "oklch": {
    "l": 0.41818,
    "c": 0.19833,
    "h": 278.2
  },
  "luminance": 0.0632
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3D2FB4

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

Preview Lab → · Contrast checker → · Palette generator →

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