#3D1C96#3D1C96

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

Color values

HEX#3D1C96
RGBrgb(61, 28, 150)
HSLhsl(256, 69%, 35%)
HSVhsv(256, 81%, 59%)
CMYKcmyk(59.3%, 81.3%, 0%, 41.2%)
CIE-LABlab(23.75, 46.34, -60.46)
CIE-LCHlch(23.75, 76.17, 307.47°)
OKLaboklab(36.37% 0.0483 -0.1742)
OKLCHoklch(36.37% 0.181 285.5)
XYZxyz(7.8431, 4.0241, 29.2117)
Luminance0.0403 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D1C96 #75961C
analogous
#1C3896 #3D1C96 #7A1C96
triadic
#3D1C96 #963D1C #1C963D
tetradic
#3D1C96 #961C38 #75961C #1C967A
square
#3D1C96 #961C38 #75961C #1C967A
split-complementary
#3D1C96 #967A1C #38961C
monochromatic
#13092F #281262 #3D1C96 #5226CA #754EDE

Accessibility & contrast

On white

11.63
#3D1C96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3D1C96
11.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D1C96#FFFFFF#000000##FFFFFF
##3D1C961.0011.631.8111.63
#FFFFFF11.631.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C99
Deuteranopia (green-blind)
#003594
Tritanopia (blue-blind)
#0A4159
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #3d1c96;
/* rgb */ color: rgb(61, 28, 150);
/* oklch */ color: oklch(36.4% 0.181 285.5);
Tailwind
colors: {
  custom: {
    50: '#7e5db6',
    500: '#3d1c96',
    950: '#000000',
  },
}
SCSS
$custom: #3d1c96;
$custom-light: #7e5db6;
$custom-dark: #000000;
JSON
{
  "hex": "#3d1c96",
  "rgb": {
    "r": 61,
    "g": 28,
    "b": 150
  },
  "hsl": {
    "h": 256.23,
    "s": 68.539,
    "l": 34.902
  },
  "oklch": {
    "l": 0.36372,
    "c": 0.18074,
    "h": 285.5
  },
  "luminance": 0.04025
}

Semantic roles & 50–950 ramp

primary
#3D1C96
secondary
#A1C14D
accent
#EB3CBC
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #3D1C96

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

Preview Lab → · Contrast checker → · Palette generator →

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