#3C1D93#3C1D93

#3C1D93 is a dark, vivid violet. Relative luminance 0.039; OKLCH L 36.1% C 0.176 H 285.5°. Best body text is #FFFFFF at 11.74:1 contrast (WCAG AA passes).

Color values

HEX#3C1D93
RGBrgb(60, 29, 147)
HSLhsl(256, 67%, 35%)
HSVhsv(256, 80%, 58%)
CMYKcmyk(59.2%, 80.3%, 0%, 42.4%)
CIE-LABlab(23.49, 44.88, -59.04)
CIE-LCHlch(23.49, 74.16, 307.25°)
OKLaboklab(36.07% 0.047 -0.1701)
OKLCHoklch(36.07% 0.176 285.5)
XYZxyz(7.5677, 3.9455, 27.9609)
Luminance0.0395 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C1D93 #74931D
analogous
#1D3993 #3C1D93 #771D93
triadic
#3C1D93 #933C1D #1D933C
tetradic
#3C1D93 #931D39 #74931D #1D9377
square
#3C1D93 #931D39 #74931D #1D9377
split-complementary
#3C1D93 #93771D #39931D
monochromatic
#12092D #271360 #3C1D93 #5127C6 #744EDC

Accessibility & contrast

On white

11.74
#3C1D93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#3C1D93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C1D93
11.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C1D93#FFFFFF#000000##FFFFFF
##3C1D931.0011.741.7911.74
#FFFFFF11.741.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.741.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3c1d93;
/* rgb */ color: rgb(60, 29, 147);
/* oklch */ color: oklch(36.1% 0.176 285.5);
Tailwind
colors: {
  custom: {
    50: '#7d5eb4',
    500: '#3c1d93',
    950: '#000000',
  },
}
SCSS
$custom: #3c1d93;
$custom-light: #7d5eb4;
$custom-dark: #000000;
JSON
{
  "hex": "#3c1d93",
  "rgb": {
    "r": 60,
    "g": 29,
    "b": 147
  },
  "hsl": {
    "h": 255.763,
    "s": 67.045,
    "l": 34.51
  },
  "oklch": {
    "l": 0.36071,
    "c": 0.17646,
    "h": 285.5
  },
  "luminance": 0.03946
}

Semantic roles & 50–950 ramp

primary
#3C1D93
secondary
#A1BF4D
accent
#EA3EBD
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #3C1D93

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

Preview Lab → · Contrast checker → · Palette generator →

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