#3D2B96#3D2B96

#3D2B96 is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.3% C 0.165 H 283.0°. Best body text is #FFFFFF at 10.58:1 contrast (WCAG AA passes).

Color values

HEX#3D2B96
RGBrgb(61, 43, 150)
HSLhsl(250, 55%, 38%)
HSVhsv(250, 71%, 59%)
CMYKcmyk(59.3%, 71.3%, 0%, 41.2%)
CIE-LABlab(26.51, 38.52, -55.92)
CIE-LCHlch(26.51, 67.91, 304.56°)
OKLaboklab(38.31% 0.0372 -0.161)
OKLCHoklch(38.31% 0.165 283)
XYZxyz(8.2917, 4.9213, 29.3612)
Luminance0.0492 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D2B96 #84962B
analogous
#2B4F96 #3D2B96 #722B96
triadic
#3D2B96 #963D2B #2B963D
tetradic
#3D2B96 #962B4F #84962B #2B9672
square
#3D2B96 #962B4F #84962B #2B9672
split-complementary
#3D2B96 #96722B #4F962B
monochromatic
#161037 #2A1D66 #3D2B96 #5039C6 #7A68D4

Accessibility & contrast

On white

10.58
#3D2B96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#3D2B96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D2B96
10.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D2B96#FFFFFF#000000##FFFFFF
##3D2B961.0010.581.9810.58
#FFFFFF10.581.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004299
Deuteranopia (green-blind)
#003B94
Tritanopia (blue-blind)
#07475D
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #3d2b96;
/* rgb */ color: rgb(61, 43, 150);
/* oklch */ color: oklch(38.3% 0.165 283.0);
Tailwind
colors: {
  custom: {
    50: '#7d66b6',
    500: '#3d2b96',
    950: '#000000',
  },
}
SCSS
$custom: #3d2b96;
$custom-light: #7d66b6;
$custom-dark: #000000;
JSON
{
  "hex": "#3d2b96",
  "rgb": {
    "r": 61,
    "g": 43,
    "b": 150
  },
  "hsl": {
    "h": 250.093,
    "s": 55.44,
    "l": 37.843
  },
  "oklch": {
    "l": 0.38314,
    "c": 0.16527,
    "h": 283
  },
  "luminance": 0.04922
}

Semantic roles & 50–950 ramp

primary
#3D2B96
secondary
#ABBA63
accent
#DF49C6
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #3D2B96

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

Preview Lab → · Contrast checker → · Palette generator →

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