#3D2B84#3D2B84

#3D2B84 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 36.7% C 0.142 H 286.4°. Best body text is #FFFFFF at 11.19:1 contrast (WCAG AA passes).

Color values

HEX#3D2B84
RGBrgb(61, 43, 132)
HSLhsl(252, 51%, 34%)
HSVhsv(252, 67%, 52%)
CMYKcmyk(53.8%, 67.4%, 0%, 48.2%)
CIE-LABlab(24.91, 32.78, -47.37)
CIE-LCHlch(24.91, 57.61, 304.68°)
OKLaboklab(36.67% 0.0401 -0.1359)
OKLCHoklch(36.67% 0.142 286.4)
XYZxyz(6.9520, 4.3854, 22.3055)
Luminance0.0439 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D2B84 #72842B
analogous
#2B4684 #3D2B84 #6A2B84
triadic
#3D2B84 #843D2B #2B843D
tetradic
#3D2B84 #842B46 #72842B #2B846A
square
#3D2B84 #842B46 #72842B #2B846A
split-complementary
#3D2B84 #846A2B #46842B
monochromatic
#120D28 #281C56 #3D2B84 #523AB2 #755FCB

Accessibility & contrast

On white

11.19
#3D2B84 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#3D2B84 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D2B84
11.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D2B84#FFFFFF#000000##FFFFFF
##3D2B841.0011.191.8811.19
#FFFFFF11.191.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D87
Deuteranopia (green-blind)
#003982
Tritanopia (blue-blind)
#214153
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #3d2b84;
/* rgb */ color: rgb(61, 43, 132);
/* oklch */ color: oklch(36.7% 0.142 286.4);
Tailwind
colors: {
  custom: {
    50: '#7a65a9',
    500: '#3d2b84',
    950: '#000000',
  },
}
SCSS
$custom: #3d2b84;
$custom-light: #7a65a9;
$custom-dark: #000000;
JSON
{
  "hex": "#3d2b84",
  "rgb": {
    "r": 61,
    "g": 43,
    "b": 132
  },
  "hsl": {
    "h": 252.135,
    "s": 50.857,
    "l": 34.314
  },
  "oklch": {
    "l": 0.36667,
    "c": 0.14172,
    "h": 286.4
  },
  "luminance": 0.04386
}

Semantic roles & 50–950 ramp

primary
#3D2B84
secondary
#9FB15A
accent
#DA4DBE
background
#F7F6FA
surface
#EEEBF4
border
#C9C6CE
text
#0A0610
muted
#7C7A7F

Preview Lab

Preview with #3D2B84

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

Preview Lab → · Contrast checker → · Palette generator →

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