#3C1D96#3C1D96

#3C1D96 is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.4% C 0.180 H 284.8°. Best body text is #FFFFFF at 11.61:1 contrast (WCAG AA passes).

Color values

HEX#3C1D96
RGBrgb(60, 29, 150)
HSLhsl(255, 68%, 35%)
HSVhsv(255, 81%, 59%)
CMYKcmyk(60%, 80.7%, 0%, 41.2%)
CIE-LABlab(23.81, 45.76, -60.37)
CIE-LCHlch(23.81, 75.75, 307.16°)
OKLaboklab(36.39% 0.0461 -0.174)
OKLCHoklch(36.39% 0.18 284.8)
XYZxyz(7.8062, 4.0409, 29.2169)
Luminance0.0404 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C1D96 #77961D
analogous
#1D3A96 #3C1D96 #791D96
triadic
#3C1D96 #963C1D #1D963C
tetradic
#3C1D96 #961D3A #77961D #1D9679
square
#3C1D96 #961D3A #77961D #1D9679
split-complementary
#3C1D96 #96791D #3A961D
monochromatic
#13092F #271363 #3C1D96 #5127C9 #7450DD

Accessibility & contrast

On white

11.61
#3C1D96 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#3C1D96 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C1D96
11.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C1D96#FFFFFF#000000##FFFFFF
##3C1D961.0011.611.8111.61
#FFFFFF11.611.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C99
Deuteranopia (green-blind)
#003594
Tritanopia (blue-blind)
#04415A
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #3c1d96;
/* rgb */ color: rgb(60, 29, 150);
/* oklch */ color: oklch(36.4% 0.180 284.8);
Tailwind
colors: {
  custom: {
    50: '#7e5eb6',
    500: '#3c1d96',
    950: '#000000',
  },
}
SCSS
$custom: #3c1d96;
$custom-light: #7e5eb6;
$custom-dark: #000000;
JSON
{
  "hex": "#3c1d96",
  "rgb": {
    "r": 60,
    "g": 29,
    "b": 150
  },
  "hsl": {
    "h": 255.372,
    "s": 67.598,
    "l": 35.098
  },
  "oklch": {
    "l": 0.36385,
    "c": 0.17995,
    "h": 284.8
  },
  "luminance": 0.04041
}

Semantic roles & 50–950 ramp

primary
#3C1D96
secondary
#A3C04F
accent
#EA3DBE
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0511
muted
#7C7980

Preview Lab

Preview with #3C1D96

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

Preview Lab → · Contrast checker → · Palette generator →

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