#3D1A76#3D1A76

#3D1A76 is a dark, vivid violet. Relative luminance 0.030; OKLCH L 32.9% C 0.145 H 294.3°. Best body text is #FFFFFF at 13.06:1 contrast (WCAG AA passes).

Color values

HEX#3D1A76
RGBrgb(61, 26, 118)
HSLhsl(263, 64%, 28%)
HSVhsv(263, 78%, 46%)
CMYKcmyk(48.3%, 78%, 0%, 53.7%)
CIE-LABlab(20.20, 38.10, -46.18)
CIE-LCHlch(20.20, 59.87, 309.52°)
OKLaboklab(32.92% 0.0597 -0.1324)
OKLCHoklch(32.92% 0.145 294.3)
XYZxyz(5.5630, 3.0387, 17.4295)
Luminance0.0304 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D1A76 #53761A
analogous
#1A2576 #3D1A76 #6B1A76
triadic
#3D1A76 #763D1A #1A763D
tetradic
#3D1A76 #761A25 #53761A #1A766B
square
#3D1A76 #761A25 #53761A #1A766B
split-complementary
#3D1A76 #766B1A #25761A
monochromatic
#0D0619 #230F44 #3D1A76 #5725A8 #7337D3

Accessibility & contrast

On white

13.06
#3D1A76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#3D1A76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D1A76
13.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D1A76#FFFFFF#000000##FFFFFF
##3D1A761.0013.061.6113.06
#FFFFFF13.061.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003279
Deuteranopia (green-blind)
#002F74
Tritanopia (blue-blind)
#2C3347
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #3d1a76;
/* rgb */ color: rgb(61, 26, 118);
/* oklch */ color: oklch(32.9% 0.145 294.3);
Tailwind
colors: {
  custom: {
    50: '#795b9e',
    500: '#3d1a76',
    950: '#000000',
  },
}
SCSS
$custom: #3d1a76;
$custom-light: #795b9e;
$custom-dark: #000000;
JSON
{
  "hex": "#3d1a76",
  "rgb": {
    "r": 61,
    "g": 26,
    "b": 118
  },
  "hsl": {
    "h": 262.826,
    "s": 63.889,
    "l": 28.235
  },
  "oklch": {
    "l": 0.32919,
    "c": 0.14522,
    "h": 294.3
  },
  "luminance": 0.03039
}

Semantic roles & 50–950 ramp

primary
#3D1A76
secondary
#83AB41
accent
#E741A8
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #3D1A76

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

Preview Lab → · Contrast checker → · Palette generator →

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