#3D2A96#3D2A96

#3D2A96 is a dark, vivid violet. Relative luminance 0.049; OKLCH L 38.2% C 0.166 H 283.2°. Best body text is #FFFFFF at 10.66:1 contrast (WCAG AA passes).

Color values

HEX#3D2A96
RGBrgb(61, 42, 150)
HSLhsl(251, 56%, 38%)
HSVhsv(251, 72%, 59%)
CMYKcmyk(59.3%, 72%, 0%, 41.2%)
CIE-LABlab(26.30, 39.10, -56.26)
CIE-LCHlch(26.30, 68.51, 304.80°)
OKLaboklab(38.17% 0.038 -0.162)
OKLCHoklch(38.17% 0.166 283.2)
XYZxyz(8.2558, 4.8495, 29.3493)
Luminance0.0485 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D2A96 #83962A
analogous
#2A4D96 #3D2A96 #732A96
triadic
#3D2A96 #963D2A #2A963D
tetradic
#3D2A96 #962A4D #83962A #2A9673
square
#3D2A96 #962A4D #83962A #2A9673
split-complementary
#3D2A96 #96732A #4D962A
monochromatic
#160F36 #2A1D66 #3D2A96 #5037C6 #7A66D4

Accessibility & contrast

On white

10.66
#3D2A96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#3D2A96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D2A96
10.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D2A96#FFFFFF#000000##FFFFFF
##3D2A961.0010.661.9710.66
#FFFFFF10.661.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.661.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3d2a96;
/* rgb */ color: rgb(61, 42, 150);
/* oklch */ color: oklch(38.2% 0.166 283.2);
Tailwind
colors: {
  custom: {
    50: '#7d65b6',
    500: '#3d2a96',
    950: '#000000',
  },
}
SCSS
$custom: #3d2a96;
$custom-light: #7d65b6;
$custom-dark: #000000;
JSON
{
  "hex": "#3d2a96",
  "rgb": {
    "r": 61,
    "g": 42,
    "b": 150
  },
  "hsl": {
    "h": 250.556,
    "s": 56.25,
    "l": 37.647
  },
  "oklch": {
    "l": 0.38165,
    "c": 0.16643,
    "h": 283.2
  },
  "luminance": 0.0485
}

Semantic roles & 50–950 ramp

primary
#3D2A96
secondary
#ABBA61
accent
#E048C5
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #3D2A96

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

Preview Lab → · Contrast checker → · Palette generator →

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