#3C1D94#3C1D94

#3C1D94 is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.2% C 0.178 H 285.2°. Best body text is #FFFFFF at 11.70:1 contrast (WCAG AA passes).

Color values

HEX#3C1D94
RGBrgb(60, 29, 148)
HSLhsl(256, 67%, 35%)
HSVhsv(256, 80%, 58%)
CMYKcmyk(59.5%, 80.4%, 0%, 42%)
CIE-LABlab(23.60, 45.18, -59.48)
CIE-LCHlch(23.60, 74.69, 307.22°)
OKLaboklab(36.18% 0.0467 -0.1714)
OKLCHoklch(36.18% 0.178 285.2)
XYZxyz(7.6465, 3.9770, 28.3759)
Luminance0.0398 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C1D94 #75941D
analogous
#1D3A94 #3C1D94 #781D94
triadic
#3C1D94 #943C1D #1D943C
tetradic
#3C1D94 #941D3A #75941D #1D9478
square
#3C1D94 #941D3A #75941D #1D9478
split-complementary
#3C1D94 #94781D #3A941D
monochromatic
#13092E #271361 #3C1D94 #5127C7 #744FDC

Accessibility & contrast

On white

11.70
#3C1D94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#3C1D94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C1D94
11.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C1D94#FFFFFF#000000##FFFFFF
##3C1D941.0011.701.8011.70
#FFFFFF11.701.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B97
Deuteranopia (green-blind)
#003492
Tritanopia (blue-blind)
#094058
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #3c1d94;
/* rgb */ color: rgb(60, 29, 148);
/* oklch */ color: oklch(36.2% 0.178 285.2);
Tailwind
colors: {
  custom: {
    50: '#7d5eb5',
    500: '#3c1d94',
    950: '#000000',
  },
}
SCSS
$custom: #3c1d94;
$custom-light: #7d5eb5;
$custom-dark: #000000;
JSON
{
  "hex": "#3c1d94",
  "rgb": {
    "r": 60,
    "g": 29,
    "b": 148
  },
  "hsl": {
    "h": 255.63,
    "s": 67.232,
    "l": 34.706
  },
  "oklch": {
    "l": 0.36176,
    "c": 0.17763,
    "h": 285.2
  },
  "luminance": 0.03978
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #3C1D94

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

Preview Lab → · Contrast checker → · Palette generator →

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