#3C1DA1#3C1DA1

#3C1DA1 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.6% C 0.193 H 282.7°. Best body text is #FFFFFF at 11.15:1 contrast (WCAG AA passes).

Color values

HEX#3C1DA1
RGBrgb(60, 29, 161)
HSLhsl(254, 69%, 37%)
HSVhsv(254, 82%, 63%)
CMYKcmyk(62.7%, 82%, 0%, 36.9%)
CIE-LABlab(24.99, 48.95, -65.15)
CIE-LCHlch(24.99, 81.49, 306.92°)
OKLaboklab(37.56% 0.0425 -0.1879)
OKLCHoklch(37.56% 0.193 282.7)
XYZxyz(8.7339, 4.4120, 34.1027)
Luminance0.0441 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C1DA1 #82A11D
analogous
#1D40A1 #3C1DA1 #7E1DA1
triadic
#3C1DA1 #A13C1D #1DA13C
tetradic
#3C1DA1 #A11D40 #82A11D #1DA17E
square
#3C1DA1 #A11D40 #82A11D #1DA17E
split-complementary
#3C1DA1 #A17E1D #40A11D
monochromatic
#150A39 #29146D #3C1DA1 #4F26D5 #7858E1

Accessibility & contrast

On white

11.15
#3C1DA1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#3C1DA1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C1DA1
11.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C1DA1#FFFFFF#000000##FFFFFF
##3C1DA11.0011.151.8811.15
#FFFFFF11.151.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003FA5
Deuteranopia (green-blind)
#00379F
Tritanopia (blue-blind)
#004660
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #3c1da1;
/* rgb */ color: rgb(60, 29, 161);
/* oklch */ color: oklch(37.6% 0.193 282.7);
Tailwind
colors: {
  custom: {
    50: '#805fbe',
    500: '#3c1da1',
    950: '#000000',
  },
}
SCSS
$custom: #3c1da1;
$custom-light: #805fbe;
$custom-dark: #000000;
JSON
{
  "hex": "#3c1da1",
  "rgb": {
    "r": 60,
    "g": 29,
    "b": 161
  },
  "hsl": {
    "h": 254.091,
    "s": 69.474,
    "l": 37.255
  },
  "oklch": {
    "l": 0.37556,
    "c": 0.19265,
    "h": 282.7
  },
  "luminance": 0.04413
}

Semantic roles & 50–950 ramp

primary
#3C1DA1
secondary
#AAC455
accent
#EC3CC3
background
#F8F5FB
surface
#F0E9F7
border
#CBC5D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #3C1DA1

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

Preview Lab → · Contrast checker → · Palette generator →

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