#3D1B86#3D1B86

#3D1B86 is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.6% C 0.163 H 289.4°. Best body text is #FFFFFF at 12.36:1 contrast (WCAG AA passes).

Color values

HEX#3D1B86
RGBrgb(61, 27, 134)
HSLhsl(259, 66%, 32%)
HSVhsv(259, 80%, 53%)
CMYKcmyk(54.5%, 79.9%, 0%, 47.5%)
CIE-LABlab(21.93, 42.20, -53.49)
CIE-LCHlch(21.93, 68.13, 308.27°)
OKLaboklab(34.61% 0.0541 -0.1538)
OKLCHoklch(34.61% 0.163 289.4)
XYZxyz(6.6182, 3.4969, 22.8759)
Luminance0.0350 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D1B86 #64861B
analogous
#1B2F86 #3D1B86 #731B86
triadic
#3D1B86 #863D1B #1B863D
tetradic
#3D1B86 #861B2F #64861B #1B8673
square
#3D1B86 #861B2F #64861B #1B8673
split-complementary
#3D1B86 #86731B #2F861B
monochromatic
#0F0620 #261153 #3D1B86 #5425B9 #7242D9

Accessibility & contrast

On white

12.36
#3D1B86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#3D1B86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D1B86
12.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D1B86#FFFFFF#000000##FFFFFF
##3D1B861.0012.361.7012.36
#FFFFFF12.361.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003789
Deuteranopia (green-blind)
#003284
Tritanopia (blue-blind)
#213A50
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #3d1b86;
/* rgb */ color: rgb(61, 27, 134);
/* oklch */ color: oklch(34.6% 0.163 289.4);
Tailwind
colors: {
  custom: {
    50: '#7b5caa',
    500: '#3d1b86',
    950: '#000000',
  },
}
SCSS
$custom: #3d1b86;
$custom-light: #7b5caa;
$custom-dark: #000000;
JSON
{
  "hex": "#3d1b86",
  "rgb": {
    "r": 61,
    "g": 27,
    "b": 134
  },
  "hsl": {
    "h": 259.065,
    "s": 66.46,
    "l": 31.569
  },
  "oklch": {
    "l": 0.3461,
    "c": 0.16306,
    "h": 289.4
  },
  "luminance": 0.03497
}

Semantic roles & 50–950 ramp

primary
#3D1B86
secondary
#94B944
accent
#E93EB3
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0410
muted
#7C797F

Preview Lab

Preview with #3D1B86

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

Preview Lab → · Contrast checker → · Palette generator →

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