#3C1D92#3C1D92

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

Color values

HEX#3C1D92
RGBrgb(60, 29, 146)
HSLhsl(256, 67%, 34%)
HSVhsv(256, 80%, 57%)
CMYKcmyk(58.9%, 80.1%, 0%, 42.7%)
CIE-LABlab(23.39, 44.59, -58.59)
CIE-LCHlch(23.39, 73.63, 307.27°)
OKLaboklab(35.97% 0.0473 -0.1688)
OKLCHoklch(35.97% 0.175 285.7)
XYZxyz(7.4896, 3.9143, 27.5494)
Luminance0.0391 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C1D92 #73921D
analogous
#1D3992 #3C1D92 #771D92
triadic
#3C1D92 #923C1D #1D923C
tetradic
#3C1D92 #921D39 #73921D #1D9277
square
#3C1D92 #921D39 #73921D #1D9277
split-complementary
#3C1D92 #92771D #39921D
monochromatic
#12092C #27135F #3C1D92 #5127C5 #734EDC

Accessibility & contrast

On white

11.78
#3C1D92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3C1D92
11.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C1D92#FFFFFF#000000##FFFFFF
##3C1D921.0011.781.7811.78
#FFFFFF11.781.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B95
Deuteranopia (green-blind)
#003490
Tritanopia (blue-blind)
#0E3F57
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #3c1d92;
/* rgb */ color: rgb(60, 29, 146);
/* oklch */ color: oklch(36.0% 0.175 285.7);
Tailwind
colors: {
  custom: {
    50: '#7d5eb3',
    500: '#3c1d92',
    950: '#000000',
  },
}
SCSS
$custom: #3c1d92;
$custom-light: #7d5eb3;
$custom-dark: #000000;
JSON
{
  "hex": "#3c1d92",
  "rgb": {
    "r": 60,
    "g": 29,
    "b": 146
  },
  "hsl": {
    "h": 255.897,
    "s": 66.857,
    "l": 34.314
  },
  "oklch": {
    "l": 0.35967,
    "c": 0.17528,
    "h": 285.7
  },
  "luminance": 0.03915
}

Semantic roles & 50–950 ramp

primary
#3C1D92
secondary
#A0BE4C
accent
#EA3EBC
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0411
muted
#7C7980

Preview Lab

Preview with #3C1D92

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

Preview Lab → · Contrast checker → · Palette generator →

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