#3C1776#3C1776

#3C1776 is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.4% C 0.148 H 294.1°. Best body text is #FFFFFF at 13.32:1 contrast (WCAG AA passes).

Color values

HEX#3C1776
RGBrgb(60, 23, 118)
HSLhsl(263, 67%, 28%)
HSVhsv(263, 81%, 46%)
CMYKcmyk(49.2%, 80.5%, 0%, 53.7%)
CIE-LABlab(19.56, 39.39, -47.23)
CIE-LCHlch(19.56, 61.50, 309.83°)
OKLaboklab(32.44% 0.0607 -0.1355)
OKLCHoklch(32.44% 0.148 294.1)
XYZxyz(5.4390, 2.8813, 17.4056)
Luminance0.0288 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C1776 #517617
analogous
#172276 #3C1776 #6B1776
triadic
#3C1776 #763C17 #17763C
tetradic
#3C1776 #761722 #517617 #17766B
square
#3C1776 #761722 #517617 #17766B
split-complementary
#3C1776 #766B17 #227617
monochromatic
#0D051A #220D43 #3C1776 #5621A9 #7131D7

Accessibility & contrast

On white

13.32
#3C1776 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3C1776
13.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C1776#FFFFFF#000000##FFFFFF
##3C17761.0013.321.5813.32
#FFFFFF13.321.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.321.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3c1776;
/* rgb */ color: rgb(60, 23, 118);
/* oklch */ color: oklch(32.4% 0.148 294.1);
Tailwind
colors: {
  custom: {
    50: '#79599e',
    500: '#3c1776',
    950: '#000000',
  },
}
SCSS
$custom: #3c1776;
$custom-light: #79599e;
$custom-dark: #000000;
JSON
{
  "hex": "#3c1776",
  "rgb": {
    "r": 60,
    "g": 23,
    "b": 118
  },
  "hsl": {
    "h": 263.368,
    "s": 67.376,
    "l": 27.647
  },
  "oklch": {
    "l": 0.32444,
    "c": 0.14846,
    "h": 294.1
  },
  "luminance": 0.02881
}

Semantic roles & 50–950 ramp

primary
#3C1776
secondary
#81AB3E
accent
#EA3EA7
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A040E
muted
#7C797E

Preview Lab

Preview with #3C1776

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

Preview Lab → · Contrast checker → · Palette generator →

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