#3D1684#3D1684

#3D1684 is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.9% C 0.165 H 290.7°. Best body text is #FFFFFF at 12.76:1 contrast (WCAG AA passes).

Color values

HEX#3D1684
RGBrgb(61, 22, 132)
HSLhsl(261, 71%, 30%)
HSVhsv(261, 83%, 52%)
CMYKcmyk(53.8%, 83.3%, 0%, 48.2%)
CIE-LABlab(20.95, 43.89, -53.86)
CIE-LCHlch(20.95, 69.47, 309.18°)
OKLaboklab(33.87% 0.0584 -0.1548)
OKLCHoklch(33.87% 0.165 290.7)
XYZxyz(6.3750, 3.2316, 22.1132)
Luminance0.0323 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D1684 #5D8416
analogous
#162684 #3D1684 #741684
triadic
#3D1684 #843D16 #16843D
tetradic
#3D1684 #841626 #5D8416 #168474
square
#3D1684 #841626 #5D8416 #168474
split-complementary
#3D1684 #847416 #268416
monochromatic
#0D051B #250D50 #3D1684 #551FB8 #7237DE

Accessibility & contrast

On white

12.76
#3D1684 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#3D1684 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D1684
12.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D1684#FFFFFF#000000##FFFFFF
##3D16841.0012.761.6512.76
#FFFFFF12.761.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003487
Deuteranopia (green-blind)
#003082
Tritanopia (blue-blind)
#23374E
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #3d1684;
/* rgb */ color: rgb(61, 22, 132);
/* oklch */ color: oklch(33.9% 0.165 290.7);
Tailwind
colors: {
  custom: {
    50: '#7b59a9',
    500: '#3d1684',
    950: '#000000',
  },
}
SCSS
$custom: #3d1684;
$custom-light: #7b59a9;
$custom-dark: #000000;
JSON
{
  "hex": "#3d1684",
  "rgb": {
    "r": 61,
    "g": 22,
    "b": 132
  },
  "hsl": {
    "h": 261.273,
    "s": 71.429,
    "l": 30.196
  },
  "oklch": {
    "l": 0.33865,
    "c": 0.16548,
    "h": 290.7
  },
  "luminance": 0.03232
}

Semantic roles & 50–950 ramp

primary
#3D1684
secondary
#8DB83D
accent
#EE3AAE
background
#F8F5FA
surface
#EFE9F4
border
#CAC5CE
text
#0A0410
muted
#7C797F

Preview Lab

Preview with #3D1684

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

Preview Lab → · Contrast checker → · Palette generator →

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