#3D1C8F#3D1C8F

#3D1C8F is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.6% C 0.173 H 287.0°. Best body text is #FFFFFF at 11.92:1 contrast (WCAG AA passes).

Color values

HEX#3D1C8F
RGBrgb(61, 28, 143)
HSLhsl(257, 67%, 34%)
HSVhsv(257, 80%, 56%)
CMYKcmyk(57.3%, 80.4%, 0%, 43.9%)
CIE-LABlab(23.02, 44.32, -57.33)
CIE-LCHlch(23.02, 72.47, 307.71°)
OKLaboklab(35.64% 0.0506 -0.1651)
OKLCHoklch(35.64% 0.173 287)
XYZxyz(7.2962, 3.8054, 26.3313)
Luminance0.0381 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D1C8F #6E8F1C
analogous
#1C358F #3D1C8F #761C8F
triadic
#3D1C8F #8F3D1C #1C8F3D
tetradic
#3D1C8F #8F1C35 #6E8F1C #1C8F76
square
#3D1C8F #8F1C35 #6E8F1C #1C8F76
split-complementary
#3D1C8F #8F761C #358F1C
monochromatic
#110829 #27125C #3D1C8F #5326C2 #744ADC

Accessibility & contrast

On white

11.92
#3D1C8F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#3D1C8F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D1C8F
11.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D1C8F#FFFFFF#000000##FFFFFF
##3D1C8F1.0011.921.7611.92
#FFFFFF11.921.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A92
Deuteranopia (green-blind)
#00348D
Tritanopia (blue-blind)
#173E55
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #3d1c8f;
/* rgb */ color: rgb(61, 28, 143);
/* oklch */ color: oklch(35.6% 0.173 287.0);
Tailwind
colors: {
  custom: {
    50: '#7d5db1',
    500: '#3d1c8f',
    950: '#000000',
  },
}
SCSS
$custom: #3d1c8f;
$custom-light: #7d5db1;
$custom-dark: #000000;
JSON
{
  "hex": "#3d1c8f",
  "rgb": {
    "r": 61,
    "g": 28,
    "b": 143
  },
  "hsl": {
    "h": 257.217,
    "s": 67.251,
    "l": 33.529
  },
  "oklch": {
    "l": 0.35643,
    "c": 0.17263,
    "h": 287
  },
  "luminance": 0.03806
}

Semantic roles & 50–950 ramp

primary
#3D1C8F
secondary
#9CBE49
accent
#EA3EB9
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0411
muted
#7C7980

Preview Lab

Preview with #3D1C8F

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

Preview Lab → · Contrast checker → · Palette generator →

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