#3C1676#3C1676

#3C1676 is a dark, vivid violet. Relative luminance 0.028; OKLCH L 32.3% C 0.149 H 294.3°. Best body text is #FFFFFF at 13.39:1 contrast (WCAG AA passes).

Color values

HEX#3C1676
RGBrgb(60, 22, 118)
HSLhsl(264, 69%, 27%)
HSVhsv(264, 81%, 46%)
CMYKcmyk(49.2%, 81.4%, 0%, 53.7%)
CIE-LABlab(19.40, 39.86, -47.49)
CIE-LCHlch(19.40, 62.00, 310.00°)
OKLaboklab(32.33% 0.0615 -0.1362)
OKLCHoklch(32.33% 0.149 294.3)
XYZxyz(5.4195, 2.8423, 17.3991)
Luminance0.0284 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C1676 #507616
analogous
#162076 #3C1676 #6C1676
triadic
#3C1676 #763C16 #16763C
tetradic
#3C1676 #761620 #507616 #16766C
square
#3C1676 #761620 #507616 #16766C
split-complementary
#3C1676 #766C16 #207616
monochromatic
#0D051A #220C42 #3C1676 #5620AA #722ED8

Accessibility & contrast

On white

13.39
#3C1676 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#3C1676 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C1676
13.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C1676#FFFFFF#000000##FFFFFF
##3C16761.0013.391.5713.39
#FFFFFF13.391.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003079
Deuteranopia (green-blind)
#002D74
Tritanopia (blue-blind)
#2B3146
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #3c1676;
/* rgb */ color: rgb(60, 22, 118);
/* oklch */ color: oklch(32.3% 0.149 294.3);
Tailwind
colors: {
  custom: {
    50: '#79589e',
    500: '#3c1676',
    950: '#000000',
  },
}
SCSS
$custom: #3c1676;
$custom-light: #79589e;
$custom-dark: #000000;
JSON
{
  "hex": "#3c1676",
  "rgb": {
    "r": 60,
    "g": 22,
    "b": 118
  },
  "hsl": {
    "h": 263.75,
    "s": 68.571,
    "l": 27.451
  },
  "oklch": {
    "l": 0.32332,
    "c": 0.14949,
    "h": 294.3
  },
  "luminance": 0.02842
}

Semantic roles & 50–950 ramp

primary
#3C1676
secondary
#7FAC3C
accent
#EB3CA6
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #3C1676

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

Preview Lab → · Contrast checker → · Palette generator →

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