#3D1C76#3D1C76

#3D1C76 is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.2% C 0.143 H 293.9°. Best body text is #FFFFFF at 12.91:1 contrast (WCAG AA passes).

Color values

HEX#3D1C76
RGBrgb(61, 28, 118)
HSLhsl(262, 62%, 29%)
HSVhsv(262, 76%, 46%)
CMYKcmyk(48.3%, 76.3%, 0%, 53.7%)
CIE-LABlab(20.56, 37.08, -45.59)
CIE-LCHlch(20.56, 58.77, 309.12°)
OKLaboklab(33.17% 0.0578 -0.1307)
OKLCHoklch(33.17% 0.143 293.9)
XYZxyz(5.6088, 3.1304, 17.4447)
Luminance0.0313 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D1C76 #55761C
analogous
#1C2876 #3D1C76 #6A1C76
triadic
#3D1C76 #763D1C #1C763D
tetradic
#3D1C76 #761C28 #55761C #1C766A
square
#3D1C76 #761C28 #55761C #1C766A
split-complementary
#3D1C76 #766A1C #28761C
monochromatic
#0D0619 #231045 #3D1C76 #5728A7 #723CD1

Accessibility & contrast

On white

12.91
#3D1C76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#3D1C76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D1C76
12.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D1C76#FFFFFF#000000##FFFFFF
##3D1C761.0012.911.6312.91
#FFFFFF12.911.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003279
Deuteranopia (green-blind)
#003074
Tritanopia (blue-blind)
#2C3447
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #3d1c76;
/* rgb */ color: rgb(61, 28, 118);
/* oklch */ color: oklch(33.2% 0.143 293.9);
Tailwind
colors: {
  custom: {
    50: '#795c9e',
    500: '#3d1c76',
    950: '#000000',
  },
}
SCSS
$custom: #3d1c76;
$custom-light: #795c9e;
$custom-dark: #000000;
JSON
{
  "hex": "#3d1c76",
  "rgb": {
    "r": 61,
    "g": 28,
    "b": 118
  },
  "hsl": {
    "h": 262,
    "s": 61.644,
    "l": 28.627
  },
  "oklch": {
    "l": 0.33173,
    "c": 0.14288,
    "h": 293.9
  },
  "luminance": 0.03131
}

Semantic roles & 50–950 ramp

primary
#3D1C76
secondary
#85AA44
accent
#E543A9
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #3D1C76

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

Preview Lab → · Contrast checker → · Palette generator →

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