#3C1DA4#3C1DA4

#3C1DA4 is a dark, vivid violet. Relative luminance 0.045; OKLCH L 37.9% C 0.196 H 282.2°. Best body text is #FFFFFF at 11.03:1 contrast (WCAG AA passes).

Color values

HEX#3C1DA4
RGBrgb(60, 29, 164)
HSLhsl(254, 70%, 38%)
HSVhsv(254, 82%, 64%)
CMYKcmyk(63.4%, 82.3%, 0%, 35.7%)
CIE-LABlab(25.32, 49.81, -66.43)
CIE-LCHlch(25.32, 83.03, 306.86°)
OKLaboklab(37.88% 0.0415 -0.1916)
OKLCHoklch(37.88% 0.196 282.2)
XYZxyz(9.0016, 4.5191, 35.5127)
Luminance0.0452 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C1DA4 #85A41D
analogous
#1D41A4 #3C1DA4 #7F1DA4
triadic
#3C1DA4 #A43C1D #1DA43C
tetradic
#3C1DA4 #A41D41 #85A41D #1DA47F
square
#3C1DA4 #A41D41 #85A41D #1DA47F
split-complementary
#3C1DA4 #A47F1D #41A41D
monochromatic
#160B3C #291470 #3C1DA4 #4F26D8 #795AE2

Accessibility & contrast

On white

11.03
#3C1DA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#3C1DA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C1DA4
11.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C1DA4#FFFFFF#000000##FFFFFF
##3C1DA41.0011.031.9011.03
#FFFFFF11.031.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040A8
Deuteranopia (green-blind)
#0037A2
Tritanopia (blue-blind)
#004762
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #3c1da4;
/* rgb */ color: rgb(60, 29, 164);
/* oklch */ color: oklch(37.9% 0.196 282.2);
Tailwind
colors: {
  custom: {
    50: '#805fc0',
    500: '#3c1da4',
    950: '#000000',
  },
}
SCSS
$custom: #3c1da4;
$custom-light: #805fc0;
$custom-dark: #000000;
JSON
{
  "hex": "#3c1da4",
  "rgb": {
    "r": 60,
    "g": 29,
    "b": 164
  },
  "hsl": {
    "h": 253.778,
    "s": 69.948,
    "l": 37.843
  },
  "oklch": {
    "l": 0.3788,
    "c": 0.19607,
    "h": 282.2
  },
  "luminance": 0.0452
}

Semantic roles & 50–950 ramp

primary
#3C1DA4
secondary
#ACC657
accent
#ED3BC4
background
#F8F5FC
surface
#F0EAF8
border
#CBC6D1
text
#0C0512
muted
#7D7981

Preview Lab

Preview with #3C1DA4

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

Preview Lab → · Contrast checker → · Palette generator →

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