#3C1679#3C1679

#3C1679 is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.6% C 0.153 H 293.3°. Best body text is #FFFFFF at 13.27:1 contrast (WCAG AA passes).

Color values

HEX#3C1679
RGBrgb(60, 22, 121)
HSLhsl(263, 69%, 28%)
HSVhsv(263, 82%, 47%)
CMYKcmyk(50.4%, 81.8%, 0%, 52.5%)
CIE-LABlab(19.70, 40.69, -48.93)
CIE-LCHlch(19.70, 63.64, 309.75°)
OKLaboklab(32.63% 0.0606 -0.1404)
OKLCHoklch(32.63% 0.153 293.3)
XYZxyz(5.6006, 2.9148, 18.3530)
Luminance0.0291 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C1679 #537916
analogous
#162279 #3C1679 #6D1679
triadic
#3C1679 #793C16 #16793C
tetradic
#3C1679 #791622 #537916 #16796D
square
#3C1679 #791622 #537916 #16796D
split-complementary
#3C1679 #796D16 #227916
monochromatic
#0D051A #220D45 #3C1679 #561FAD #7130D9

Accessibility & contrast

On white

13.27
#3C1679 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#3C1679 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C1679
13.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C1679#FFFFFF#000000##FFFFFF
##3C16791.0013.271.5813.27
#FFFFFF13.271.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00317C
Deuteranopia (green-blind)
#002E77
Tritanopia (blue-blind)
#293247
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #3c1679;
/* rgb */ color: rgb(60, 22, 121);
/* oklch */ color: oklch(32.6% 0.153 293.3);
Tailwind
colors: {
  custom: {
    50: '#7959a1',
    500: '#3c1679',
    950: '#000000',
  },
}
SCSS
$custom: #3c1679;
$custom-light: #7959a1;
$custom-dark: #000000;
JSON
{
  "hex": "#3c1679",
  "rgb": {
    "r": 60,
    "g": 22,
    "b": 121
  },
  "hsl": {
    "h": 263.03,
    "s": 69.231,
    "l": 28.039
  },
  "oklch": {
    "l": 0.3263,
    "c": 0.15294,
    "h": 293.3
  },
  "luminance": 0.02915
}

Semantic roles & 50–950 ramp

primary
#3C1679
secondary
#83AE3D
accent
#EC3CA8
background
#F7F5FA
surface
#EEE9F3
border
#C9C5CD
text
#0A040F
muted
#7C797F

Preview Lab

Preview with #3C1679

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

Preview Lab → · Contrast checker → · Palette generator →

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