#3C1D82#3C1D82

#3C1D82 is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.3% C 0.156 H 289.5°. Best body text is #FFFFFF at 12.42:1 contrast (WCAG AA passes).

Color values

HEX#3C1D82
RGBrgb(60, 29, 130)
HSLhsl(258, 64%, 31%)
HSVhsv(258, 78%, 51%)
CMYKcmyk(53.8%, 77.7%, 0%, 49%)
CIE-LABlab(21.77, 39.90, -51.25)
CIE-LCHlch(21.77, 64.95, 307.90°)
OKLaboklab(34.35% 0.0521 -0.1473)
OKLCHoklch(34.35% 0.156 289.5)
XYZxyz(6.3309, 3.4508, 21.4473)
Luminance0.0345 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C1D82 #63821D
analogous
#1D3082 #3C1D82 #6E1D82
triadic
#3C1D82 #823C1D #1D823C
tetradic
#3C1D82 #821D30 #63821D #1D826E
square
#3C1D82 #821D30 #63821D #1D826E
split-complementary
#3C1D82 #826E1D #30821D
monochromatic
#0E071E #251250 #3C1D82 #5328B4 #7144D5

Accessibility & contrast

On white

12.42
#3C1D82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#3C1D82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C1D82
12.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C1D82#FFFFFF#000000##FFFFFF
##3C1D821.0012.421.6912.42
#FFFFFF12.421.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003685
Deuteranopia (green-blind)
#003280
Tritanopia (blue-blind)
#22394E
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #3c1d82;
/* rgb */ color: rgb(60, 29, 130);
/* oklch */ color: oklch(34.3% 0.156 289.5);
Tailwind
colors: {
  custom: {
    50: '#7a5da7',
    500: '#3c1d82',
    950: '#000000',
  },
}
SCSS
$custom: #3c1d82;
$custom-light: #7a5da7;
$custom-dark: #000000;
JSON
{
  "hex": "#3c1d82",
  "rgb": {
    "r": 60,
    "g": 29,
    "b": 130
  },
  "hsl": {
    "h": 258.416,
    "s": 63.522,
    "l": 31.176
  },
  "oklch": {
    "l": 0.34346,
    "c": 0.15627,
    "h": 289.5
  },
  "luminance": 0.03451
}

Semantic roles & 50–950 ramp

primary
#3C1D82
secondary
#93B546
accent
#E741B4
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0410
muted
#7C797F

Preview Lab

Preview with #3C1D82

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

Preview Lab → · Contrast checker → · Palette generator →

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