#3C1A82#3C1A82

#3C1A82 is a dark, vivid violet. Relative luminance 0.033; OKLCH L 34.0% C 0.159 H 290.0°. Best body text is #FFFFFF at 12.63:1 contrast (WCAG AA passes).

Color values

HEX#3C1A82
RGBrgb(60, 26, 130)
HSLhsl(260, 67%, 31%)
HSVhsv(260, 80%, 51%)
CMYKcmyk(53.8%, 80%, 0%, 49%)
CIE-LABlab(21.25, 41.38, -52.10)
CIE-LCHlch(21.25, 66.54, 308.45°)
OKLaboklab(33.98% 0.0545 -0.1498)
OKLCHoklch(33.98% 0.159 290)
XYZxyz(6.2610, 3.3109, 21.4239)
Luminance0.0331 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C1A82 #60821A
analogous
#1A2C82 #3C1A82 #701A82
triadic
#3C1A82 #823C1A #1A823C
tetradic
#3C1A82 #821A2C #60821A #1A8270
square
#3C1A82 #821A2C #60821A #1A8270
split-complementary
#3C1A82 #82701A #2C821A
monochromatic
#0D061C #24104F #3C1A82 #5424B5 #703ED8

Accessibility & contrast

On white

12.63
#3C1A82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#3C1A82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C1A82
12.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C1A82#FFFFFF#000000##FFFFFF
##3C1A821.0012.631.6612.63
#FFFFFF12.631.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003585
Deuteranopia (green-blind)
#003180
Tritanopia (blue-blind)
#22384D
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #3c1a82;
/* rgb */ color: rgb(60, 26, 130);
/* oklch */ color: oklch(34.0% 0.159 290.0);
Tailwind
colors: {
  custom: {
    50: '#7a5ba7',
    500: '#3c1a82',
    950: '#000000',
  },
}
SCSS
$custom: #3c1a82;
$custom-light: #7a5ba7;
$custom-dark: #000000;
JSON
{
  "hex": "#3c1a82",
  "rgb": {
    "r": 60,
    "g": 26,
    "b": 130
  },
  "hsl": {
    "h": 259.615,
    "s": 66.667,
    "l": 30.588
  },
  "oklch": {
    "l": 0.33983,
    "c": 0.1594,
    "h": 290
  },
  "luminance": 0.03311
}

Semantic roles & 50–950 ramp

primary
#3C1A82
secondary
#90B642
accent
#EA3EB2
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0410
muted
#7C797F

Preview Lab

Preview with #3C1A82

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

Preview Lab → · Contrast checker → · Palette generator →

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