#3D1C79#3D1C79

#3D1C79 is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.5% C 0.147 H 292.9°. Best body text is #FFFFFF at 12.80:1 contrast (WCAG AA passes).

Color values

HEX#3D1C79
RGBrgb(61, 28, 121)
HSLhsl(261, 62%, 29%)
HSVhsv(261, 77%, 47%)
CMYKcmyk(49.6%, 76.9%, 0%, 52.5%)
CIE-LABlab(20.84, 37.95, -47.05)
CIE-LCHlch(20.84, 60.45, 308.88°)
OKLaboklab(33.46% 0.057 -0.135)
OKLCHoklch(33.46% 0.147 292.9)
XYZxyz(5.7900, 3.2029, 18.3986)
Luminance0.0320 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D1C79 #58791C
analogous
#1C2A79 #3D1C79 #6C1C79
triadic
#3D1C79 #793D1C #1C793D
tetradic
#3D1C79 #791C2A #58791C #1C796C
square
#3D1C79 #791C2A #58791C #1C796C
split-complementary
#3D1C79 #796C1C #2A791C
monochromatic
#0D0619 #241047 #3D1C79 #5628AB #723DD2

Accessibility & contrast

On white

12.80
#3D1C79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#3D1C79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D1C79
12.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D1C79#FFFFFF#000000##FFFFFF
##3D1C791.0012.801.6412.80
#FFFFFF12.801.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00337C
Deuteranopia (green-blind)
#003077
Tritanopia (blue-blind)
#2A3549
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #3d1c79;
/* rgb */ color: rgb(61, 28, 121);
/* oklch */ color: oklch(33.5% 0.147 292.9);
Tailwind
colors: {
  custom: {
    50: '#795ca1',
    500: '#3d1c79',
    950: '#000000',
  },
}
SCSS
$custom: #3d1c79;
$custom-light: #795ca1;
$custom-dark: #000000;
JSON
{
  "hex": "#3d1c79",
  "rgb": {
    "r": 61,
    "g": 28,
    "b": 121
  },
  "hsl": {
    "h": 261.29,
    "s": 62.416,
    "l": 29.216
  },
  "oklch": {
    "l": 0.33456,
    "c": 0.14652,
    "h": 292.9
  },
  "luminance": 0.03203
}

Semantic roles & 50–950 ramp

primary
#3D1C79
secondary
#88AD44
accent
#E542AC
background
#F7F5FA
surface
#EEE9F3
border
#C9C5CD
text
#0A040F
muted
#7C797F

Preview Lab

Preview with #3D1C79

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

Preview Lab → · Contrast checker → · Palette generator →

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