#3D2DB2#3D2DB2

#3D2DB2 is a dark, vivid blue. Relative luminance 0.061; OKLCH L 41.3% C 0.198 H 278.7°. Best body text is #FFFFFF at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#3D2DB2
RGBrgb(61, 45, 178)
HSLhsl(247, 60%, 44%)
HSVhsv(247, 75%, 70%)
CMYKcmyk(65.7%, 74.7%, 0%, 30.2%)
CIE-LABlab(29.62, 46.26, -67.75)
CIE-LCHlch(29.62, 82.04, 304.32°)
OKLaboklab(41.34% 0.0299 -0.1956)
OKLCHoklch(41.34% 0.198 278.7)
XYZxyz(10.8962, 6.0823, 42.7106)
Luminance0.0608 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D2DB2 #A2B22D
analogous
#2D5FB2 #3D2DB2 #7F2DB2
triadic
#3D2DB2 #B23D2D #2DB23D
tetradic
#3D2DB2 #B22D5F #A2B22D #2DB27F
square
#3D2DB2 #B22D5F #A2B22D #2DB27F
split-complementary
#3D2DB2 #B27F2D #5FB22D
monochromatic
#1C1450 #2C2181 #3D2DB2 #5B4BD1 #877CDE

Accessibility & contrast

On white

9.47
#3D2DB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#3D2DB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D2DB2
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D2DB2#FFFFFF#000000##FFFFFF
##3D2DB21.009.472.229.47
#FFFFFF9.471.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB6
Deuteranopia (green-blind)
#0040B0
Tritanopia (blue-blind)
#00536D
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #3d2db2;
/* rgb */ color: rgb(61, 45, 178);
/* oklch */ color: oklch(41.3% 0.198 278.7);
Tailwind
colors: {
  custom: {
    50: '#8269ca',
    500: '#3d2db2',
    950: '#000000',
  },
}
SCSS
$custom: #3d2db2;
$custom-light: #8269ca;
$custom-dark: #000000;
JSON
{
  "hex": "#3d2db2",
  "rgb": {
    "r": 61,
    "g": 45,
    "b": 178
  },
  "hsl": {
    "h": 247.218,
    "s": 59.641,
    "l": 43.725
  },
  "oklch": {
    "l": 0.41344,
    "c": 0.1979,
    "h": 278.7
  },
  "luminance": 0.06083
}

Semantic roles & 50–950 ramp

primary
#3D2DB2
secondary
#BCC675
accent
#E345D0
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3D2DB2

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

Preview Lab → · Contrast checker → · Palette generator →

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