#3C1DA0#3C1DA0

#3C1DA0 is a dark, vivid violet. Relative luminance 0.044; OKLCH L 37.4% C 0.192 H 282.9°. Best body text is #FFFFFF at 11.20:1 contrast (WCAG AA passes).

Color values

HEX#3C1DA0
RGBrgb(60, 29, 160)
HSLhsl(254, 69%, 37%)
HSVhsv(254, 82%, 63%)
CMYKcmyk(62.5%, 81.9%, 0%, 37.3%)
CIE-LABlab(24.88, 48.66, -64.72)
CIE-LCHlch(24.88, 80.98, 306.94°)
OKLaboklab(37.45% 0.0428 -0.1867)
OKLCHoklch(37.45% 0.192 282.9)
XYZxyz(8.6460, 4.3768, 33.6401)
Luminance0.0438 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C1DA0 #81A01D
analogous
#1D40A0 #3C1DA0 #7D1DA0
triadic
#3C1DA0 #A03C1D #1DA03C
tetradic
#3C1DA0 #A01D40 #81A01D #1DA07D
square
#3C1DA0 #A01D40 #81A01D #1DA07D
split-complementary
#3C1DA0 #A07D1D #40A01D
monochromatic
#150A38 #29146C #3C1DA0 #4F26D4 #7757E1

Accessibility & contrast

On white

11.20
#3C1DA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3C1DA0
11.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C1DA0#FFFFFF#000000##FFFFFF
##3C1DA01.0011.201.8811.20
#FFFFFF11.201.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003FA4
Deuteranopia (green-blind)
#00379E
Tritanopia (blue-blind)
#00455F
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #3c1da0;
/* rgb */ color: rgb(60, 29, 160);
/* oklch */ color: oklch(37.4% 0.192 282.9);
Tailwind
colors: {
  custom: {
    50: '#7f5fbd',
    500: '#3c1da0',
    950: '#000000',
  },
}
SCSS
$custom: #3c1da0;
$custom-light: #7f5fbd;
$custom-dark: #000000;
JSON
{
  "hex": "#3c1da0",
  "rgb": {
    "r": 60,
    "g": 29,
    "b": 160
  },
  "hsl": {
    "h": 254.198,
    "s": 69.312,
    "l": 37.059
  },
  "oklch": {
    "l": 0.37448,
    "c": 0.1915,
    "h": 282.9
  },
  "luminance": 0.04377
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3C1DA0

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

Preview Lab → · Contrast checker → · Palette generator →

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