#3C1678#3C1678

#3C1678 is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.5% C 0.152 H 293.6°. Best body text is #FFFFFF at 13.31:1 contrast (WCAG AA passes).

Color values

HEX#3C1678
RGBrgb(60, 22, 120)
HSLhsl(263, 69%, 28%)
HSVhsv(263, 82%, 47%)
CMYKcmyk(50%, 81.7%, 0%, 52.9%)
CIE-LABlab(19.60, 40.41, -48.45)
CIE-LCHlch(19.60, 63.09, 309.83°)
OKLaboklab(32.53% 0.0609 -0.139)
OKLCHoklch(32.53% 0.152 293.6)
XYZxyz(5.5396, 2.8904, 18.0317)
Luminance0.0289 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C1678 #527816
analogous
#162178 #3C1678 #6D1678
triadic
#3C1678 #783C16 #16783C
tetradic
#3C1678 #781621 #527816 #16786D
square
#3C1678 #781621 #527816 #16786D
split-complementary
#3C1678 #786D16 #217816
monochromatic
#0D051A #220D44 #3C1678 #561FAC #712FD9

Accessibility & contrast

On white

13.31
#3C1678 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#3C1678 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C1678
13.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C1678#FFFFFF#000000##FFFFFF
##3C16781.0013.311.5813.31
#FFFFFF13.311.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00307B
Deuteranopia (green-blind)
#002E76
Tritanopia (blue-blind)
#293247
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #3c1678;
/* rgb */ color: rgb(60, 22, 120);
/* oklch */ color: oklch(32.5% 0.152 293.6);
Tailwind
colors: {
  custom: {
    50: '#7958a0',
    500: '#3c1678',
    950: '#000000',
  },
}
SCSS
$custom: #3c1678;
$custom-light: #7958a0;
$custom-dark: #000000;
JSON
{
  "hex": "#3c1678",
  "rgb": {
    "r": 60,
    "g": 22,
    "b": 120
  },
  "hsl": {
    "h": 263.265,
    "s": 69.014,
    "l": 27.843
  },
  "oklch": {
    "l": 0.3253,
    "c": 0.1518,
    "h": 293.6
  },
  "luminance": 0.02891
}

Semantic roles & 50–950 ramp

primary
#3C1678
secondary
#82AD3C
accent
#EC3CA8
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040F
muted
#7C797E

Preview Lab

Preview with #3C1678

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

Preview Lab → · Contrast checker → · Palette generator →

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