#3D1E91#3D1E91

#3D1E91 is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.1% C 0.173 H 286.3°. Best body text is #FFFFFF at 11.71:1 contrast (WCAG AA passes).

Color values

HEX#3D1E91
RGBrgb(61, 30, 145)
HSLhsl(256, 66%, 34%)
HSVhsv(256, 79%, 57%)
CMYKcmyk(57.9%, 79.3%, 0%, 43.1%)
CIE-LABlab(23.55, 43.95, -57.69)
CIE-LCHlch(23.55, 72.52, 307.30°)
OKLaboklab(36.08% 0.0485 -0.1661)
OKLCHoklch(36.08% 0.173 286.3)
XYZxyz(7.4980, 3.9646, 27.1527)
Luminance0.0396 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D1E91 #72911E
analogous
#1E3991 #3D1E91 #771E91
triadic
#3D1E91 #913D1E #1E913D
tetradic
#3D1E91 #911E39 #72911E #1E9177
square
#3D1E91 #911E39 #72911E #1E9177
split-complementary
#3D1E91 #91771E #39911E
monochromatic
#12092C #28145E #3D1E91 #5228C4 #754FDB

Accessibility & contrast

On white

11.71
#3D1E91 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#3D1E91 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D1E91
11.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D1E91#FFFFFF#000000##FFFFFF
##3D1E911.0011.711.7911.71
#FFFFFF11.711.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B94
Deuteranopia (green-blind)
#00358F
Tritanopia (blue-blind)
#143F57
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #3d1e91;
/* rgb */ color: rgb(61, 30, 145);
/* oklch */ color: oklch(36.1% 0.173 286.3);
Tailwind
colors: {
  custom: {
    50: '#7d5eb2',
    500: '#3d1e91',
    950: '#000000',
  },
}
SCSS
$custom: #3d1e91;
$custom-light: #7d5eb2;
$custom-dark: #000000;
JSON
{
  "hex": "#3d1e91",
  "rgb": {
    "r": 61,
    "g": 30,
    "b": 145
  },
  "hsl": {
    "h": 256.174,
    "s": 65.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.36078,
    "c": 0.17306,
    "h": 286.3
  },
  "luminance": 0.03965
}

Semantic roles & 50–950 ramp

primary
#3D1E91
secondary
#9FBD4D
accent
#E93FBB
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #3D1E91

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

Preview Lab → · Contrast checker → · Palette generator →

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