#3C1876#3C1876

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

Color values

HEX#3C1876
RGBrgb(60, 24, 118)
HSLhsl(263, 66%, 28%)
HSVhsv(263, 80%, 46%)
CMYKcmyk(49.2%, 79.7%, 0%, 53.7%)
CIE-LABlab(19.73, 38.92, -46.96)
CIE-LCHlch(19.73, 60.99, 309.65°)
OKLaboklab(32.56% 0.0599 -0.1347)
OKLCHoklch(32.56% 0.147 294)
XYZxyz(5.4592, 2.9218, 17.4123)
Luminance0.0292 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C1876 #527618
analogous
#182376 #3C1876 #6B1876
triadic
#3C1876 #763C18 #18763C
tetradic
#3C1876 #761823 #527618 #18766B
square
#3C1876 #761823 #527618 #18766B
split-complementary
#3C1876 #766B18 #237618
monochromatic
#0D0519 #220E43 #3C1876 #5622A9 #7133D5

Accessibility & contrast

On white

13.25
#3C1876 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3C1876
13.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C1876#FFFFFF#000000##FFFFFF
##3C18761.0013.251.5813.25
#FFFFFF13.251.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003179
Deuteranopia (green-blind)
#002E74
Tritanopia (blue-blind)
#2A3246
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #3c1876;
/* rgb */ color: rgb(60, 24, 118);
/* oklch */ color: oklch(32.6% 0.147 294.0);
Tailwind
colors: {
  custom: {
    50: '#78599e',
    500: '#3c1876',
    950: '#000000',
  },
}
SCSS
$custom: #3c1876;
$custom-light: #78599e;
$custom-dark: #000000;
JSON
{
  "hex": "#3c1876",
  "rgb": {
    "r": 60,
    "g": 24,
    "b": 118
  },
  "hsl": {
    "h": 262.979,
    "s": 66.197,
    "l": 27.843
  },
  "oklch": {
    "l": 0.3256,
    "c": 0.14739,
    "h": 294
  },
  "luminance": 0.02922
}

Semantic roles & 50–950 ramp

primary
#3C1876
secondary
#82AB3F
accent
#E93FA8
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #3C1876

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

Preview Lab → · Contrast checker → · Palette generator →

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