#3D2B8B#3D2B8B

#3D2B8B is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.3% C 0.151 H 285.0°. Best body text is #FFFFFF at 10.96:1 contrast (WCAG AA passes).

Color values

HEX#3D2B8B
RGBrgb(61, 43, 139)
HSLhsl(251, 53%, 36%)
HSVhsv(251, 69%, 55%)
CMYKcmyk(56.1%, 69.1%, 0%, 45.5%)
CIE-LABlab(25.51, 35.02, -50.75)
CIE-LCHlch(25.51, 61.66, 304.60°)
OKLaboklab(37.29% 0.0391 -0.1459)
OKLCHoklch(37.29% 0.151 285)
XYZxyz(7.4471, 4.5835, 24.9134)
Luminance0.0458 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D2B8B #798B2B
analogous
#2B498B #3D2B8B #6D2B8B
triadic
#3D2B8B #8B3D2B #2B8B3D
tetradic
#3D2B8B #8B2B49 #798B2B #2B8B6D
square
#3D2B8B #8B2B49 #798B2B #2B8B6D
split-complementary
#3D2B8B #8B6D2B #498B2B
monochromatic
#140E2E #281D5C #3D2B8B #5239BA #7662CE

Accessibility & contrast

On white

10.96
#3D2B8B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#3D2B8B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D2B8B
10.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D2B8B#FFFFFF#000000##FFFFFF
##3D2B8B1.0010.961.9210.96
#FFFFFF10.961.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F8E
Deuteranopia (green-blind)
#003989
Tritanopia (blue-blind)
#1A4357
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #3d2b8b;
/* rgb */ color: rgb(61, 43, 139);
/* oklch */ color: oklch(37.3% 0.151 285.0);
Tailwind
colors: {
  custom: {
    50: '#7b66ae',
    500: '#3d2b8b',
    950: '#000000',
  },
}
SCSS
$custom: #3d2b8b;
$custom-light: #7b66ae;
$custom-dark: #000000;
JSON
{
  "hex": "#3d2b8b",
  "rgb": {
    "r": 61,
    "g": 43,
    "b": 139
  },
  "hsl": {
    "h": 251.25,
    "s": 52.747,
    "l": 35.686
  },
  "oklch": {
    "l": 0.37293,
    "c": 0.15101,
    "h": 285
  },
  "luminance": 0.04584
}

Semantic roles & 50–950 ramp

primary
#3D2B8B
secondary
#A4B55D
accent
#DC4CC1
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0610
muted
#7C7A7F

Preview Lab

Preview with #3D2B8B

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

Preview Lab → · Contrast checker → · Palette generator →

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