#3C1C8C#3C1C8C

#3C1C8C is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.2% C 0.169 H 287.2°. Best body text is #FFFFFF at 12.09:1 contrast (WCAG AA passes).

Color values

HEX#3C1C8C
RGBrgb(60, 28, 140)
HSLhsl(257, 67%, 33%)
HSVhsv(257, 80%, 55%)
CMYKcmyk(57.1%, 80%, 0%, 45.1%)
CIE-LABlab(22.60, 43.32, -56.16)
CIE-LCHlch(22.60, 70.92, 307.64°)
OKLaboklab(35.23% 0.0499 -0.1617)
OKLCHoklch(35.23% 0.169 287.2)
XYZxyz(7.0109, 3.6842, 25.1476)
Luminance0.0369 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C1C8C #6C8C1C
analogous
#1C348C #3C1C8C #741C8C
triadic
#3C1C8C #8C3C1C #1C8C3C
tetradic
#3C1C8C #8C1C34 #6C8C1C #1C8C74
square
#3C1C8C #8C1C34 #6C8C1C #1C8C74
split-complementary
#3C1C8C #8C741C #348C1C
monochromatic
#100826 #261259 #3C1C8C #5226BF #7248DA

Accessibility & contrast

On white

12.09
#3C1C8C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3C1C8C
12.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C1C8C#FFFFFF#000000##FFFFFF
##3C1C8C1.0012.091.7412.09
#FFFFFF12.091.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00398F
Deuteranopia (green-blind)
#00338A
Tritanopia (blue-blind)
#183D54
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #3c1c8c;
/* rgb */ color: rgb(60, 28, 140);
/* oklch */ color: oklch(35.2% 0.169 287.2);
Tailwind
colors: {
  custom: {
    50: '#7c5daf',
    500: '#3c1c8c',
    950: '#000000',
  },
}
SCSS
$custom: #3c1c8c;
$custom-light: #7c5daf;
$custom-dark: #000000;
JSON
{
  "hex": "#3c1c8c",
  "rgb": {
    "r": 60,
    "g": 28,
    "b": 140
  },
  "hsl": {
    "h": 257.143,
    "s": 66.667,
    "l": 32.941
  },
  "oklch": {
    "l": 0.35232,
    "c": 0.16919,
    "h": 287.2
  },
  "luminance": 0.03685
}

Semantic roles & 50–950 ramp

primary
#3C1C8C
secondary
#9BBC48
accent
#EA3EB9
background
#F8F5FA
surface
#EFE9F5
border
#CAC5CF
text
#0A0410
muted
#7C797F

Preview Lab

Preview with #3C1C8C

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

Preview Lab → · Contrast checker → · Palette generator →

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