#3C1A74#3C1A74

#3C1A74 is a dark, vivid violet. Relative luminance 0.030; OKLCH L 32.6% C 0.143 H 294.2°. Best body text is #FFFFFF at 13.19:1 contrast (WCAG AA passes).

Color values

HEX#3C1A74
RGBrgb(60, 26, 116)
HSLhsl(263, 63%, 28%)
HSVhsv(263, 78%, 45%)
CMYKcmyk(48.3%, 77.6%, 0%, 54.5%)
CIE-LABlab(19.88, 37.36, -45.42)
CIE-LCHlch(19.88, 58.81, 309.44°)
OKLaboklab(32.61% 0.0586 -0.1302)
OKLCHoklch(32.61% 0.143 294.2)
XYZxyz(5.3844, 2.9602, 16.8073)
Luminance0.0296 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C1A74 #52741A
analogous
#1A2574 #3C1A74 #691A74
triadic
#3C1A74 #743C1A #1A743C
tetradic
#3C1A74 #741A25 #52741A #1A7469
square
#3C1A74 #741A25 #52741A #1A7469
split-complementary
#3C1A74 #74691A #25741A
monochromatic
#0D0619 #220F42 #3C1A74 #5625A6 #7136D2

Accessibility & contrast

On white

13.19
#3C1A74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3C1A74
13.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C1A74#FFFFFF#000000##FFFFFF
##3C1A741.0013.191.5913.19
#FFFFFF13.191.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003177
Deuteranopia (green-blind)
#002F72
Tritanopia (blue-blind)
#2C3246
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #3c1a74;
/* rgb */ color: rgb(60, 26, 116);
/* oklch */ color: oklch(32.6% 0.143 294.2);
Tailwind
colors: {
  custom: {
    50: '#785a9d',
    500: '#3c1a74',
    950: '#000000',
  },
}
SCSS
$custom: #3c1a74;
$custom-light: #785a9d;
$custom-dark: #000000;
JSON
{
  "hex": "#3c1a74",
  "rgb": {
    "r": 60,
    "g": 26,
    "b": 116
  },
  "hsl": {
    "h": 262.667,
    "s": 63.38,
    "l": 27.843
  },
  "oklch": {
    "l": 0.32611,
    "c": 0.14277,
    "h": 294.2
  },
  "luminance": 0.0296
}

Semantic roles & 50–950 ramp

primary
#3C1A74
secondary
#82A941
accent
#E641A8
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #3C1A74

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

Preview Lab → · Contrast checker → · Palette generator →

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