#3C1A79#3C1A79

#3C1A79 is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.1% C 0.149 H 292.6°. Best body text is #FFFFFF at 13.00:1 contrast (WCAG AA passes).

Color values

HEX#3C1A79
RGBrgb(60, 26, 121)
HSLhsl(261, 65%, 29%)
HSVhsv(261, 79%, 47%)
CMYKcmyk(50.4%, 78.5%, 0%, 52.5%)
CIE-LABlab(20.36, 38.79, -47.84)
CIE-LCHlch(20.36, 61.59, 309.04°)
OKLaboklab(33.09% 0.0572 -0.1373)
OKLCHoklch(33.09% 0.149 292.6)
XYZxyz(5.6831, 3.0797, 18.3805)
Luminance0.0308 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C1A79 #57791A
analogous
#1A2879 #3C1A79 #6C1A79
triadic
#3C1A79 #793C1A #1A793C
tetradic
#3C1A79 #791A28 #57791A #1A796C
square
#3C1A79 #791A28 #57791A #1A796C
split-complementary
#3C1A79 #796C1A #28791A
monochromatic
#0C0519 #230F47 #3C1A79 #5525AB #7139D4

Accessibility & contrast

On white

13.00
#3C1A79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#3C1A79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C1A79
13.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C1A79#FFFFFF#000000##FFFFFF
##3C1A791.0013.001.6213.00
#FFFFFF13.001.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF13.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00327C
Deuteranopia (green-blind)
#002F77
Tritanopia (blue-blind)
#293448
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #3c1a79;
/* rgb */ color: rgb(60, 26, 121);
/* oklch */ color: oklch(33.1% 0.149 292.6);
Tailwind
colors: {
  custom: {
    50: '#795ba1',
    500: '#3c1a79',
    950: '#000000',
  },
}
SCSS
$custom: #3c1a79;
$custom-light: #795ba1;
$custom-dark: #000000;
JSON
{
  "hex": "#3c1a79",
  "rgb": {
    "r": 60,
    "g": 26,
    "b": 121
  },
  "hsl": {
    "h": 261.474,
    "s": 64.626,
    "l": 28.824
  },
  "oklch": {
    "l": 0.33092,
    "c": 0.14875,
    "h": 292.6
  },
  "luminance": 0.0308
}

Semantic roles & 50–950 ramp

primary
#3C1A79
secondary
#87AD41
accent
#E840AC
background
#F7F5FA
surface
#EEE9F3
border
#C9C5CD
text
#0A040F
muted
#7C797F

Preview Lab

Preview with #3C1A79

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

Preview Lab → · Contrast checker → · Palette generator →

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