#3C1C8D#3C1C8D

#3C1C8D is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.3% C 0.170 H 286.9°. Best body text is #FFFFFF at 12.05:1 contrast (WCAG AA passes).

Color values

HEX#3C1C8D
RGBrgb(60, 28, 141)
HSLhsl(257, 67%, 33%)
HSVhsv(257, 80%, 55%)
CMYKcmyk(57.4%, 80.1%, 0%, 44.7%)
CIE-LABlab(22.70, 43.61, -56.61)
CIE-LCHlch(22.70, 71.46, 307.61°)
OKLaboklab(35.34% 0.0496 -0.163)
OKLCHoklch(35.34% 0.17 286.9)
XYZxyz(7.0850, 3.7139, 25.5377)
Luminance0.0371 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C1C8D #6D8D1C
analogous
#1C348D #3C1C8D #741C8D
triadic
#3C1C8D #8D3C1C #1C8D3C
tetradic
#3C1C8D #8D1C34 #6D8D1C #1C8D74
square
#3C1C8D #8D1C34 #6D8D1C #1C8D74
split-complementary
#3C1C8D #8D741C #348D1C
monochromatic
#110827 #26125A #3C1C8D #5226C0 #7249DB

Accessibility & contrast

On white

12.05
#3C1C8D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#3C1C8D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C1C8D
12.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C1C8D#FFFFFF#000000##FFFFFF
##3C1C8D1.0012.051.7412.05
#FFFFFF12.051.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003990
Deuteranopia (green-blind)
#00338B
Tritanopia (blue-blind)
#163D54
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #3c1c8d;
/* rgb */ color: rgb(60, 28, 141);
/* oklch */ color: oklch(35.3% 0.170 286.9);
Tailwind
colors: {
  custom: {
    50: '#7c5daf',
    500: '#3c1c8d',
    950: '#000000',
  },
}
SCSS
$custom: #3c1c8d;
$custom-light: #7c5daf;
$custom-dark: #000000;
JSON
{
  "hex": "#3c1c8d",
  "rgb": {
    "r": 60,
    "g": 28,
    "b": 141
  },
  "hsl": {
    "h": 256.991,
    "s": 66.864,
    "l": 33.137
  },
  "oklch": {
    "l": 0.35335,
    "c": 0.17036,
    "h": 286.9
  },
  "luminance": 0.03714
}

Semantic roles & 50–950 ramp

primary
#3C1C8D
secondary
#9CBD48
accent
#EA3EB9
background
#F8F5FA
surface
#EFE9F5
border
#CAC5CF
text
#0B0411
muted
#7C7980

Preview Lab

Preview with #3C1C8D

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

Preview Lab → · Contrast checker → · Palette generator →

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