#3C1877#3C1877

#3C1877 is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.7% C 0.149 H 293.6°. Best body text is #FFFFFF at 13.21:1 contrast (WCAG AA passes).

Color values

HEX#3C1877
RGBrgb(60, 24, 119)
HSLhsl(263, 66%, 28%)
HSVhsv(263, 80%, 47%)
CMYKcmyk(49.6%, 79.8%, 0%, 53.3%)
CIE-LABlab(19.83, 39.20, -47.44)
CIE-LCHlch(19.83, 61.54, 309.57°)
OKLaboklab(32.66% 0.0596 -0.1361)
OKLCHoklch(32.66% 0.149 293.6)
XYZxyz(5.5190, 2.9457, 17.7270)
Luminance0.0295 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C1877 #537718
analogous
#182377 #3C1877 #6B1877
triadic
#3C1877 #773C18 #18773C
tetradic
#3C1877 #771823 #537718 #18776B
square
#3C1877 #771823 #537718 #18776B
split-complementary
#3C1877 #776B18 #237718
monochromatic
#0D0519 #220E44 #3C1877 #5622AA #7133D6

Accessibility & contrast

On white

13.21
#3C1877 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#3C1877 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C1877
13.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C1877#FFFFFF#000000##FFFFFF
##3C18771.0013.211.5913.21
#FFFFFF13.211.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00317A
Deuteranopia (green-blind)
#002E75
Tritanopia (blue-blind)
#2A3247
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #3c1877;
/* rgb */ color: rgb(60, 24, 119);
/* oklch */ color: oklch(32.7% 0.149 293.6);
Tailwind
colors: {
  custom: {
    50: '#79599f',
    500: '#3c1877',
    950: '#000000',
  },
}
SCSS
$custom: #3c1877;
$custom-light: #79599f;
$custom-dark: #000000;
JSON
{
  "hex": "#3c1877",
  "rgb": {
    "r": 60,
    "g": 24,
    "b": 119
  },
  "hsl": {
    "h": 262.737,
    "s": 66.434,
    "l": 28.039
  },
  "oklch": {
    "l": 0.32658,
    "c": 0.14856,
    "h": 293.6
  },
  "luminance": 0.02946
}

Semantic roles & 50–950 ramp

primary
#3C1877
secondary
#83AC3F
accent
#E93EA9
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040F
muted
#7C797E

Preview Lab

Preview with #3C1877

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

Preview Lab → · Contrast checker → · Palette generator →

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