#3C1D99#3C1D99

#3C1D99 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.7% C 0.183 H 284.2°. Best body text is #FFFFFF at 11.49:1 contrast (WCAG AA passes).

Color values

HEX#3C1D99
RGBrgb(60, 29, 153)
HSLhsl(255, 68%, 36%)
HSVhsv(255, 81%, 60%)
CMYKcmyk(60.8%, 81%, 0%, 40%)
CIE-LABlab(24.13, 46.63, -61.69)
CIE-LCHlch(24.13, 77.33, 307.09°)
OKLaboklab(36.7% 0.0451 -0.1778)
OKLCHoklch(36.7% 0.183 284.2)
XYZxyz(8.0508, 4.1388, 30.5054)
Luminance0.0414 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C1D99 #7A991D
analogous
#1D3C99 #3C1D99 #7A1D99
triadic
#3C1D99 #993C1D #1D993C
tetradic
#3C1D99 #991D3C #7A991D #1D997A
square
#3C1D99 #991D3C #7A991D #1D997A
split-complementary
#3C1D99 #997A1D #3C991D
monochromatic
#140932 #281366 #3C1D99 #5027CC #7552DE

Accessibility & contrast

On white

11.49
#3C1D99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#3C1D99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C1D99
11.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C1D99#FFFFFF#000000##FFFFFF
##3C1D991.0011.491.8311.49
#FFFFFF11.491.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D9C
Deuteranopia (green-blind)
#003597
Tritanopia (blue-blind)
#00425B
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #3c1d99;
/* rgb */ color: rgb(60, 29, 153);
/* oklch */ color: oklch(36.7% 0.183 284.2);
Tailwind
colors: {
  custom: {
    50: '#7e5eb8',
    500: '#3c1d99',
    950: '#000000',
  },
}
SCSS
$custom: #3c1d99;
$custom-light: #7e5eb8;
$custom-dark: #000000;
JSON
{
  "hex": "#3c1d99",
  "rgb": {
    "r": 60,
    "g": 29,
    "b": 153
  },
  "hsl": {
    "h": 255,
    "s": 68.132,
    "l": 35.686
  },
  "oklch": {
    "l": 0.36701,
    "c": 0.18344,
    "h": 284.2
  },
  "luminance": 0.04139
}

Semantic roles & 50–950 ramp

primary
#3C1D99
secondary
#A5C151
accent
#EB3DBF
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #3C1D99

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

Preview Lab → · Contrast checker → · Palette generator →

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