#3D2184#3D2184

#3D2184 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.2% C 0.154 H 288.8°. Best body text is #FFFFFF at 12.01:1 contrast (WCAG AA passes).

Color values

HEX#3D2184
RGBrgb(61, 33, 132)
HSLhsl(257, 60%, 32%)
HSVhsv(257, 75%, 52%)
CMYKcmyk(53.8%, 75%, 0%, 48.2%)
CIE-LABlab(22.81, 38.55, -50.80)
CIE-LCHlch(22.81, 63.77, 307.20°)
OKLaboklab(35.17% 0.0497 -0.146)
OKLCHoklch(35.17% 0.154 288.8)
XYZxyz(6.6320, 3.7454, 22.1988)
Luminance0.0375 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D2184 #688421
analogous
#213684 #3D2184 #6F2184
triadic
#3D2184 #843D21 #21843D
tetradic
#3D2184 #842136 #688421 #21846F
square
#3D2184 #842136 #688421 #21846F
split-complementary
#3D2184 #846F21 #368421
monochromatic
#100922 #261553 #3D2184 #542DB5 #734DD2

Accessibility & contrast

On white

12.01
#3D2184 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#3D2184 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D2184
12.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D2184#FFFFFF#000000##FFFFFF
##3D21841.0012.011.7512.01
#FFFFFF12.011.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003887
Deuteranopia (green-blind)
#003482
Tritanopia (blue-blind)
#223C50
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #3d2184;
/* rgb */ color: rgb(61, 33, 132);
/* oklch */ color: oklch(35.2% 0.154 288.8);
Tailwind
colors: {
  custom: {
    50: '#7b5fa9',
    500: '#3d2184',
    950: '#000000',
  },
}
SCSS
$custom: #3d2184;
$custom-light: #7b5fa9;
$custom-dark: #000000;
JSON
{
  "hex": "#3d2184",
  "rgb": {
    "r": 61,
    "g": 33,
    "b": 132
  },
  "hsl": {
    "h": 256.97,
    "s": 60,
    "l": 32.353
  },
  "oklch": {
    "l": 0.35168,
    "c": 0.15421,
    "h": 288.8
  },
  "luminance": 0.03746
}

Semantic roles & 50–950 ramp

primary
#3D2184
secondary
#97B64B
accent
#E345B6
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0510
muted
#7C797F

Preview Lab

Preview with #3D2184

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

Preview Lab → · Contrast checker → · Palette generator →

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