#3D2AAA#3D2AAA

#3D2AAA is a dark, vivid blue. Relative luminance 0.056; OKLCH L 40.1% C 0.191 H 280.1°. Best body text is #FFFFFF at 9.95:1 contrast (WCAG AA passes).

Color values

HEX#3D2AAA
RGBrgb(61, 42, 170)
HSLhsl(249, 60%, 42%)
HSVhsv(249, 75%, 67%)
CMYKcmyk(64.1%, 75.3%, 0%, 33.3%)
CIE-LABlab(28.25, 45.37, -65.22)
CIE-LCHlch(28.25, 79.45, 304.82°)
OKLaboklab(40.13% 0.0337 -0.1882)
OKLCHoklch(40.13% 0.191 280.1)
XYZxyz(10.0058, 5.5495, 38.5663)
Luminance0.0555 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D2AAA #97AA2A
analogous
#2A57AA #3D2AAA #7D2AAA
triadic
#3D2AAA #AA3D2A #2AAA3D
tetradic
#3D2AAA #AA2A57 #97AA2A #2AAA7D
square
#3D2AAA #AA2A57 #97AA2A #2AAA7D
split-complementary
#3D2AAA #AA7D2A #57AA2A
monochromatic
#1A1248 #2B1E79 #3D2AAA #5641D0 #8272DC

Accessibility & contrast

On white

9.95
#3D2AAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#3D2AAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D2AAA
9.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D2AAA#FFFFFF#000000##FFFFFF
##3D2AAA1.009.952.119.95
#FFFFFF9.951.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047AE
Deuteranopia (green-blind)
#003EA8
Tritanopia (blue-blind)
#004F68
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #3d2aaa;
/* rgb */ color: rgb(61, 42, 170);
/* oklch */ color: oklch(40.1% 0.191 280.1);
Tailwind
colors: {
  custom: {
    50: '#8166c4',
    500: '#3d2aaa',
    950: '#000000',
  },
}
SCSS
$custom: #3d2aaa;
$custom-light: #8166c4;
$custom-dark: #000000;
JSON
{
  "hex": "#3d2aaa",
  "rgb": {
    "r": 61,
    "g": 42,
    "b": 170
  },
  "hsl": {
    "h": 248.906,
    "s": 60.377,
    "l": 41.569
  },
  "oklch": {
    "l": 0.40133,
    "c": 0.1912,
    "h": 280.1
  },
  "luminance": 0.0555
}

Semantic roles & 50–950 ramp

primary
#3D2AAA
secondary
#B7C36C
accent
#E444CC
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #3D2AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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