#3C1160#3C1160

#3C1160 is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.7% C 0.130 H 304.0°. Best body text is #FFFFFF at 14.57:1 contrast (WCAG AA passes).

Color values

HEX#3C1160
RGBrgb(60, 17, 96)
HSLhsl(273, 70%, 22%)
HSVhsv(273, 82%, 38%)
CMYKcmyk(37.5%, 82.3%, 0%, 62.4%)
CIE-LABlab(16.53, 36.18, -37.81)
CIE-LCHlch(16.53, 52.34, 313.74°)
OKLaboklab(29.69% 0.0727 -0.1078)
OKLCHoklch(29.69% 0.13 304)
XYZxyz(4.1748, 2.2061, 11.2699)
Luminance0.0221 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C1160 #356011
analogous
#141160 #3C1160 #60115D
triadic
#3C1160 #603C11 #11603C
tetradic
#3C1160 #601411 #356011 #115D60
square
#3C1160 #601411 #356011 #115D60
split-complementary
#3C1160 #5D6011 #116014
monochromatic
#10051A #1C082C #3C1160 #5C1A94 #7D23C8

Accessibility & contrast

On white

14.57
#3C1160 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#3C1160 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C1160
14.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C1160#FFFFFF#000000##FFFFFF
##3C11601.0014.571.4414.57
#FFFFFF14.571.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002862
Deuteranopia (green-blind)
#00295E
Tritanopia (blue-blind)
#352638
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #3c1160;
/* rgb */ color: rgb(60, 17, 96);
/* oklch */ color: oklch(29.7% 0.130 304.0);
Tailwind
colors: {
  custom: {
    50: '#76558e',
    500: '#3c1160',
    950: '#000000',
  },
}
SCSS
$custom: #3c1160;
$custom-light: #76558e;
$custom-dark: #000000;
JSON
{
  "hex": "#3c1160",
  "rgb": {
    "r": 60,
    "g": 17,
    "b": 96
  },
  "hsl": {
    "h": 272.658,
    "s": 69.912,
    "l": 22.157
  },
  "oklch": {
    "l": 0.29686,
    "c": 0.12998,
    "h": 304
  },
  "luminance": 0.02206
}

Semantic roles & 50–950 ramp

primary
#3C1160
secondary
#629934
accent
#ED3B8C
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #3C1160

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

Preview Lab → · Contrast checker → · Palette generator →

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