#3C1A85#3C1A85

#3C1A85 is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.3% C 0.163 H 289.2°. Best body text is #FFFFFF at 12.51:1 contrast (WCAG AA passes).

Color values

HEX#3C1A85
RGBrgb(60, 26, 133)
HSLhsl(259, 67%, 31%)
HSVhsv(259, 80%, 52%)
CMYKcmyk(54.9%, 80.5%, 0%, 47.8%)
CIE-LABlab(21.55, 42.24, -53.50)
CIE-LCHlch(21.55, 68.16, 308.30°)
OKLaboklab(34.29% 0.0536 -0.1538)
OKLCHoklch(34.29% 0.163 289.2)
XYZxyz(6.4653, 3.3926, 22.4999)
Luminance0.0339 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C1A85 #63851A
analogous
#1A2D85 #3C1A85 #711A85
triadic
#3C1A85 #853C1A #1A853C
tetradic
#3C1A85 #851A2D #63851A #1A8571
square
#3C1A85 #851A2D #63851A #1A8571
split-complementary
#3C1A85 #85711A #2D851A
monochromatic
#0E061F #251052 #3C1A85 #5324B8 #7140DA

Accessibility & contrast

On white

12.51
#3C1A85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#3C1A85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C1A85
12.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C1A85#FFFFFF#000000##FFFFFF
##3C1A851.0012.511.6812.51
#FFFFFF12.511.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003688
Deuteranopia (green-blind)
#003183
Tritanopia (blue-blind)
#1F394F
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #3c1a85;
/* rgb */ color: rgb(60, 26, 133);
/* oklch */ color: oklch(34.3% 0.163 289.2);
Tailwind
colors: {
  custom: {
    50: '#7b5baa',
    500: '#3c1a85',
    950: '#000000',
  },
}
SCSS
$custom: #3c1a85;
$custom-light: #7b5baa;
$custom-dark: #000000;
JSON
{
  "hex": "#3c1a85",
  "rgb": {
    "r": 60,
    "g": 26,
    "b": 133
  },
  "hsl": {
    "h": 259.065,
    "s": 67.296,
    "l": 31.176
  },
  "oklch": {
    "l": 0.34287,
    "c": 0.16291,
    "h": 289.2
  },
  "luminance": 0.03393
}

Semantic roles & 50–950 ramp

primary
#3C1A85
secondary
#93B842
accent
#EA3EB3
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0410
muted
#7C797F

Preview Lab

Preview with #3C1A85

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

Preview Lab → · Contrast checker → · Palette generator →

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