#3D1E86#3D1E86

#3D1E86 is a dark, vivid violet. Relative luminance 0.036; OKLCH L 35.0% C 0.160 H 288.9°. Best body text is #FFFFFF at 12.15:1 contrast (WCAG AA passes).

Color values

HEX#3D1E86
RGBrgb(61, 30, 134)
HSLhsl(258, 63%, 32%)
HSVhsv(258, 78%, 53%)
CMYKcmyk(54.5%, 77.6%, 0%, 47.5%)
CIE-LABlab(22.45, 40.72, -52.65)
CIE-LCHlch(22.45, 66.56, 307.72°)
OKLaboklab(34.97% 0.0518 -0.1514)
OKLCHoklch(34.97% 0.16 288.9)
XYZxyz(6.6906, 3.6416, 22.9000)
Luminance0.0364 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D1E86 #67861E
analogous
#1E3386 #3D1E86 #711E86
triadic
#3D1E86 #863D1E #1E863D
tetradic
#3D1E86 #861E33 #67861E #1E8671
square
#3D1E86 #861E33 #67861E #1E8671
split-complementary
#3D1E86 #86711E #33861E
monochromatic
#0F0822 #261354 #3D1E86 #5429B8 #7348D6

Accessibility & contrast

On white

12.15
#3D1E86 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#3D1E86 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D1E86
12.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D1E86#FFFFFF#000000##FFFFFF
##3D1E861.0012.151.7312.15
#FFFFFF12.151.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003889
Deuteranopia (green-blind)
#003384
Tritanopia (blue-blind)
#213B51
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #3d1e86;
/* rgb */ color: rgb(61, 30, 134);
/* oklch */ color: oklch(35.0% 0.160 288.9);
Tailwind
colors: {
  custom: {
    50: '#7b5eaa',
    500: '#3d1e86',
    950: '#000000',
  },
}
SCSS
$custom: #3d1e86;
$custom-light: #7b5eaa;
$custom-dark: #000000;
JSON
{
  "hex": "#3d1e86",
  "rgb": {
    "r": 61,
    "g": 30,
    "b": 134
  },
  "hsl": {
    "h": 257.885,
    "s": 63.415,
    "l": 32.157
  },
  "oklch": {
    "l": 0.34971,
    "c": 0.15997,
    "h": 288.9
  },
  "luminance": 0.03642
}

Semantic roles & 50–950 ramp

primary
#3D1E86
secondary
#97B847
accent
#E641B5
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0410
muted
#7C797F

Preview Lab

Preview with #3D1E86

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

Preview Lab → · Contrast checker → · Palette generator →

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