#3C1976#3C1976

#3C1976 is a dark, vivid violet. Relative luminance 0.030; OKLCH L 32.7% C 0.146 H 293.8°. Best body text is #FFFFFF at 13.18:1 contrast (WCAG AA passes).

Color values

HEX#3C1976
RGBrgb(60, 25, 118)
HSLhsl(263, 65%, 28%)
HSVhsv(263, 79%, 46%)
CMYKcmyk(49.2%, 78.8%, 0%, 53.7%)
CIE-LABlab(19.90, 38.43, -46.68)
CIE-LCHlch(19.90, 60.46, 309.46°)
OKLaboklab(32.68% 0.059 -0.1339)
OKLCHoklch(32.68% 0.146 293.8)
XYZxyz(5.4802, 2.9638, 17.4193)
Luminance0.0296 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C1976 #537619
analogous
#192476 #3C1976 #6A1976
triadic
#3C1976 #763C19 #19763C
tetradic
#3C1976 #761924 #537619 #19766A
square
#3C1976 #761924 #537619 #19766A
split-complementary
#3C1976 #766A19 #247619
monochromatic
#0D0519 #220E43 #3C1976 #5624A8 #7135D4

Accessibility & contrast

On white

13.18
#3C1976 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3C1976
13.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C1976#FFFFFF#000000##FFFFFF
##3C19761.0013.181.5913.18
#FFFFFF13.181.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.181.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: #3c1976;
/* rgb */ color: rgb(60, 25, 118);
/* oklch */ color: oklch(32.7% 0.146 293.8);
Tailwind
colors: {
  custom: {
    50: '#785a9e',
    500: '#3c1976',
    950: '#000000',
  },
}
SCSS
$custom: #3c1976;
$custom-light: #785a9e;
$custom-dark: #000000;
JSON
{
  "hex": "#3c1976",
  "rgb": {
    "r": 60,
    "g": 25,
    "b": 118
  },
  "hsl": {
    "h": 262.581,
    "s": 65.035,
    "l": 28.039
  },
  "oklch": {
    "l": 0.32679,
    "c": 0.14629,
    "h": 293.8
  },
  "luminance": 0.02964
}

Semantic roles & 50–950 ramp

primary
#3C1976
secondary
#83AB40
accent
#E840A9
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #3C1976

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

Preview Lab → · Contrast checker → · Palette generator →

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