#3C1C93#3C1C93

#3C1C93 is a dark, vivid violet. Relative luminance 0.039; OKLCH L 36.0% C 0.177 H 285.6°. Best body text is #FFFFFF at 11.80:1 contrast (WCAG AA passes).

Color values

HEX#3C1C93
RGBrgb(60, 28, 147)
HSLhsl(256, 68%, 34%)
HSVhsv(256, 81%, 58%)
CMYKcmyk(59.2%, 81%, 0%, 42.4%)
CIE-LABlab(23.33, 45.35, -59.30)
CIE-LCHlch(23.33, 74.66, 307.41°)
OKLaboklab(35.96% 0.0477 -0.1708)
OKLCHoklch(35.96% 0.177 285.6)
XYZxyz(7.5436, 3.8973, 27.9529)
Luminance0.0390 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C1C93 #73931C
analogous
#1C3893 #3C1C93 #781C93
triadic
#3C1C93 #933C1C #1C933C
tetradic
#3C1C93 #931C38 #73931C #1C9378
square
#3C1C93 #931C38 #73931C #1C9378
split-complementary
#3C1C93 #93781C #38931C
monochromatic
#12082C #271260 #3C1C93 #5126C6 #734CDD

Accessibility & contrast

On white

11.80
#3C1C93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#3C1C93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C1C93
11.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C1C93#FFFFFF#000000##FFFFFF
##3C1C931.0011.801.7811.80
#FFFFFF11.801.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B96
Deuteranopia (green-blind)
#003491
Tritanopia (blue-blind)
#0C3F58
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #3c1c93;
/* rgb */ color: rgb(60, 28, 147);
/* oklch */ color: oklch(36.0% 0.177 285.6);
Tailwind
colors: {
  custom: {
    50: '#7d5db4',
    500: '#3c1c93',
    950: '#000000',
  },
}
SCSS
$custom: #3c1c93;
$custom-light: #7d5db4;
$custom-dark: #000000;
JSON
{
  "hex": "#3c1c93",
  "rgb": {
    "r": 60,
    "g": 28,
    "b": 147
  },
  "hsl": {
    "h": 256.134,
    "s": 68,
    "l": 34.314
  },
  "oklch": {
    "l": 0.35959,
    "c": 0.17736,
    "h": 285.6
  },
  "luminance": 0.03898
}

Semantic roles & 50–950 ramp

primary
#3C1C93
secondary
#A0BF4C
accent
#EB3DBC
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0411
muted
#7C7980

Preview Lab

Preview with #3C1C93

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

Preview Lab → · Contrast checker → · Palette generator →

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