#3C1D79#3C1D79

#3C1D79 is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.5% C 0.145 H 292.0°. Best body text is #FFFFFF at 12.77:1 contrast (WCAG AA passes).

Color values

HEX#3C1D79
RGBrgb(60, 29, 121)
HSLhsl(260, 61%, 29%)
HSVhsv(260, 76%, 47%)
CMYKcmyk(50.4%, 76%, 0%, 52.5%)
CIE-LABlab(20.90, 37.25, -46.95)
CIE-LCHlch(20.90, 59.94, 308.43°)
OKLaboklab(33.47% 0.0545 -0.1347)
OKLCHoklch(33.47% 0.145 292)
XYZxyz(5.7531, 3.2197, 18.4038)
Luminance0.0322 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C1D79 #5A791D
analogous
#1D2C79 #3C1D79 #6A1D79
triadic
#3C1D79 #793C1D #1D793C
tetradic
#3C1D79 #791D2C #5A791D #1D796A
square
#3C1D79 #791D2C #5A791D #1D796A
split-complementary
#3C1D79 #796A1D #2C791D
monochromatic
#0C0619 #241148 #3C1D79 #5429AA #703FD1

Accessibility & contrast

On white

12.77
#3C1D79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#3C1D79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C1D79
12.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C1D79#FFFFFF#000000##FFFFFF
##3C1D791.0012.771.6412.77
#FFFFFF12.771.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00347C
Deuteranopia (green-blind)
#003077
Tritanopia (blue-blind)
#283549
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #3c1d79;
/* rgb */ color: rgb(60, 29, 121);
/* oklch */ color: oklch(33.5% 0.145 292.0);
Tailwind
colors: {
  custom: {
    50: '#795ca1',
    500: '#3c1d79',
    950: '#000000',
  },
}
SCSS
$custom: #3c1d79;
$custom-light: #795ca1;
$custom-dark: #000000;
JSON
{
  "hex": "#3c1d79",
  "rgb": {
    "r": 60,
    "g": 29,
    "b": 121
  },
  "hsl": {
    "h": 260.217,
    "s": 61.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.33474,
    "c": 0.14532,
    "h": 292
  },
  "luminance": 0.0322
}

Semantic roles & 50–950 ramp

primary
#3C1D79
secondary
#8AAD45
accent
#E443AE
background
#F7F5FA
surface
#EEE9F3
border
#C9C5CD
text
#0A040F
muted
#7C797F

Preview Lab

Preview with #3C1D79

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

Preview Lab → · Contrast checker → · Palette generator →

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