#3C1A76#3C1A76

#3C1A76 is a dark, vivid violet. Relative luminance 0.030; OKLCH L 32.8% C 0.145 H 293.6°. Best body text is #FFFFFF at 13.11:1 contrast (WCAG AA passes).

Color values

HEX#3C1A76
RGBrgb(60, 26, 118)
HSLhsl(262, 64%, 28%)
HSVhsv(262, 78%, 46%)
CMYKcmyk(49.2%, 78%, 0%, 53.7%)
CIE-LABlab(20.07, 37.93, -46.39)
CIE-LCHlch(20.07, 59.93, 309.27°)
OKLaboklab(32.8% 0.0581 -0.133)
OKLCHoklch(32.8% 0.145 293.6)
XYZxyz(5.5020, 3.0073, 17.4266)
Luminance0.0301 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C1A76 #54761A
analogous
#1A2676 #3C1A76 #6A1A76
triadic
#3C1A76 #763C1A #1A763C
tetradic
#3C1A76 #761A26 #54761A #1A766A
square
#3C1A76 #761A26 #54761A #1A766A
split-complementary
#3C1A76 #766A1A #26761A
monochromatic
#0D0619 #220F44 #3C1A76 #5525A8 #7137D3

Accessibility & contrast

On white

13.11
#3C1A76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#3C1A76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C1A76
13.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C1A76#FFFFFF#000000##FFFFFF
##3C1A761.0013.111.6013.11
#FFFFFF13.111.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.111.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3c1a76;
/* rgb */ color: rgb(60, 26, 118);
/* oklch */ color: oklch(32.8% 0.145 293.6);
Tailwind
colors: {
  custom: {
    50: '#785a9e',
    500: '#3c1a76',
    950: '#000000',
  },
}
SCSS
$custom: #3c1a76;
$custom-light: #785a9e;
$custom-dark: #000000;
JSON
{
  "hex": "#3c1a76",
  "rgb": {
    "r": 60,
    "g": 26,
    "b": 118
  },
  "hsl": {
    "h": 262.174,
    "s": 63.889,
    "l": 28.235
  },
  "oklch": {
    "l": 0.32802,
    "c": 0.14516,
    "h": 293.6
  },
  "luminance": 0.03007
}

Semantic roles & 50–950 ramp

primary
#3C1A76
secondary
#84AB41
accent
#E741AA
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #3C1A76

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

Preview Lab → · Contrast checker → · Palette generator →

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