#3D1E76#3D1E76

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

Color values

HEX#3D1E76
RGBrgb(61, 30, 118)
HSLhsl(261, 59%, 29%)
HSVhsv(261, 75%, 46%)
CMYKcmyk(48.3%, 74.6%, 0%, 53.7%)
CIE-LABlab(20.94, 36.02, -44.98)
CIE-LCHlch(20.94, 57.62, 308.69°)
OKLaboklab(33.44% 0.0558 -0.1289)
OKLCHoklch(33.44% 0.14 293.4)
XYZxyz(5.6579, 3.2285, 17.4611)
Luminance0.0323 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D1E76 #57761E
analogous
#1E2B76 #3D1E76 #691E76
triadic
#3D1E76 #763D1E #1E763D
tetradic
#3D1E76 #761E2B #57761E #1E7669
square
#3D1E76 #761E2B #57761E #1E7669
split-complementary
#3D1E76 #76691E #2B761E
monochromatic
#0D0618 #241245 #3D1E76 #562AA7 #7240CE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3D1E76#FFFFFF#000000##FFFFFF
##3D1E761.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)
#003379
Deuteranopia (green-blind)
#003174
Tritanopia (blue-blind)
#2C3548
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #3d1e76;
/* rgb */ color: rgb(61, 30, 118);
/* oklch */ color: oklch(33.4% 0.140 293.4);
Tailwind
colors: {
  custom: {
    50: '#795d9e',
    500: '#3d1e76',
    950: '#000000',
  },
}
SCSS
$custom: #3d1e76;
$custom-light: #795d9e;
$custom-dark: #000000;
JSON
{
  "hex": "#3d1e76",
  "rgb": {
    "r": 61,
    "g": 30,
    "b": 118
  },
  "hsl": {
    "h": 261.136,
    "s": 59.459,
    "l": 29.02
  },
  "oklch": {
    "l": 0.3344,
    "c": 0.14045,
    "h": 293.4
  },
  "luminance": 0.03229
}

Semantic roles & 50–950 ramp

primary
#3D1E76
secondary
#87AA46
accent
#E345AB
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #3D1E76

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

Preview Lab → · Contrast checker → · Palette generator →

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