#3D1D95#3D1D95

#3D1D95 is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.4% C 0.179 H 285.6°. Best body text is #FFFFFF at 11.61:1 contrast (WCAG AA passes).

Color values

HEX#3D1D95
RGBrgb(61, 29, 149)
HSLhsl(256, 67%, 35%)
HSVhsv(256, 81%, 58%)
CMYKcmyk(59.1%, 80.5%, 0%, 41.6%)
CIE-LABlab(23.80, 45.59, -59.75)
CIE-LCHlch(23.80, 75.16, 307.34°)
OKLaboklab(36.38% 0.048 -0.1721)
OKLCHoklch(36.38% 0.179 285.6)
XYZxyz(7.7870, 4.0403, 28.7975)
Luminance0.0404 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D1D95 #75951D
analogous
#1D3995 #3D1D95 #791D95
triadic
#3D1D95 #953D1D #1D953D
tetradic
#3D1D95 #951D39 #75951D #1D9579
square
#3D1D95 #951D39 #75951D #1D9579
split-complementary
#3D1D95 #95791D #39951D
monochromatic
#13092F #281362 #3D1D95 #5227C8 #7550DD

Accessibility & contrast

On white

11.61
#3D1D95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#3D1D95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D1D95
11.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D1D95#FFFFFF#000000##FFFFFF
##3D1D951.0011.611.8111.61
#FFFFFF11.611.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C98
Deuteranopia (green-blind)
#003593
Tritanopia (blue-blind)
#0D4159
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #3d1d95;
/* rgb */ color: rgb(61, 29, 149);
/* oklch */ color: oklch(36.4% 0.179 285.6);
Tailwind
colors: {
  custom: {
    50: '#7e5eb5',
    500: '#3d1d95',
    950: '#000000',
  },
}
SCSS
$custom: #3d1d95;
$custom-light: #7e5eb5;
$custom-dark: #000000;
JSON
{
  "hex": "#3d1d95",
  "rgb": {
    "r": 61,
    "g": 29,
    "b": 149
  },
  "hsl": {
    "h": 256,
    "s": 67.416,
    "l": 34.902
  },
  "oklch": {
    "l": 0.36377,
    "c": 0.17868,
    "h": 285.6
  },
  "luminance": 0.04041
}

Semantic roles & 50–950 ramp

primary
#3D1D95
secondary
#A1C04E
accent
#EA3DBC
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #3D1D95

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

Preview Lab → · Contrast checker → · Palette generator →

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