#3C1A71#3C1A71

#3C1A71 is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.3% C 0.139 H 295.3°. Best body text is #FFFFFF at 13.30:1 contrast (WCAG AA passes).

Color values

HEX#3C1A71
RGBrgb(60, 26, 113)
HSLhsl(263, 63%, 27%)
HSVhsv(263, 77%, 44%)
CMYKcmyk(46.9%, 77%, 0%, 55.7%)
CIE-LABlab(19.60, 36.50, -43.94)
CIE-LCHlch(19.60, 57.12, 309.72°)
OKLaboklab(32.33% 0.0594 -0.1258)
OKLCHoklch(32.33% 0.139 295.3)
XYZxyz(5.2127, 2.8916, 15.9031)
Luminance0.0289 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C1A71 #4F711A
analogous
#1A2471 #3C1A71 #681A71
triadic
#3C1A71 #713C1A #1A713C
tetradic
#3C1A71 #711A24 #4F711A #1A7168
square
#3C1A71 #711A24 #4F711A #1A7168
split-complementary
#3C1A71 #71681A #24711A
monochromatic
#0D0619 #220F3F #3C1A71 #5625A3 #7235D0

Accessibility & contrast

On white

13.30
#3C1A71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3C1A71
13.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C1A71#FFFFFF#000000##FFFFFF
##3C1A711.0013.301.5813.30
#FFFFFF13.301.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003074
Deuteranopia (green-blind)
#002E6F
Tritanopia (blue-blind)
#2D3144
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #3c1a71;
/* rgb */ color: rgb(60, 26, 113);
/* oklch */ color: oklch(32.3% 0.139 295.3);
Tailwind
colors: {
  custom: {
    50: '#785a9b',
    500: '#3c1a71',
    950: '#000000',
  },
}
SCSS
$custom: #3c1a71;
$custom-light: #785a9b;
$custom-dark: #000000;
JSON
{
  "hex": "#3c1a71",
  "rgb": {
    "r": 60,
    "g": 26,
    "b": 113
  },
  "hsl": {
    "h": 263.448,
    "s": 62.59,
    "l": 27.255
  },
  "oklch": {
    "l": 0.32328,
    "c": 0.13916,
    "h": 295.3
  },
  "luminance": 0.02892
}

Semantic roles & 50–950 ramp

primary
#3C1A71
secondary
#7EA641
accent
#E642A6
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #3C1A71

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

Preview Lab → · Contrast checker → · Palette generator →

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