#3C1155#3C1155

#3C1155 is a dark, moderate violet. Relative luminance 0.020; OKLCH L 28.7% C 0.118 H 309.7°. Best body text is #FFFFFF at 14.96:1 contrast (WCAG AA passes).

Color values

HEX#3C1155
RGBrgb(60, 17, 85)
HSLhsl(278, 67%, 20%)
HSVhsv(278, 80%, 33%)
CMYKcmyk(29.4%, 80%, 0%, 66.7%)
CIE-LABlab(15.58, 33.39, -31.98)
CIE-LCHlch(15.58, 46.24, 316.23°)
OKLaboklab(28.72% 0.0753 -0.0906)
OKLCHoklch(28.72% 0.118 309.7)
XYZxyz(3.7033, 2.0175, 8.7869)
Luminance0.0202 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C1155 #2A5511
analogous
#1A1155 #3C1155 #55114C
triadic
#3C1155 #553C11 #11553C
tetradic
#3C1155 #551A11 #2A5511 #114C55
square
#3C1155 #551A11 #2A5511 #114C55
split-complementary
#3C1155 #4C5511 #11551A
monochromatic
#12051A #180722 #3C1155 #601B88 #8425BB

Accessibility & contrast

On white

14.96
#3C1155 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#3C1155 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C1155
14.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C1155#FFFFFF#000000##FFFFFF
##3C11551.0014.961.4014.96
#FFFFFF14.961.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002557
Deuteranopia (green-blind)
#022754
Tritanopia (blue-blind)
#382132
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #3c1155;
/* rgb */ color: rgb(60, 17, 85);
/* oklch */ color: oklch(28.7% 0.118 309.7);
Tailwind
colors: {
  custom: {
    50: '#755485',
    500: '#3c1155',
    950: '#000000',
  },
}
SCSS
$custom: #3c1155;
$custom-light: #755485;
$custom-dark: #000000;
JSON
{
  "hex": "#3c1155",
  "rgb": {
    "r": 60,
    "g": 17,
    "b": 85
  },
  "hsl": {
    "h": 277.941,
    "s": 66.667,
    "l": 20
  },
  "oklch": {
    "l": 0.28715,
    "c": 0.11781,
    "h": 309.7
  },
  "luminance": 0.02017
}

Semantic roles & 50–950 ramp

primary
#3C1155
secondary
#558E34
accent
#EA3E7D
background
#F7F5F8
surface
#EDE8EF
border
#C8C4CA
text
#09030B
muted
#7B787C

Preview Lab

Preview with #3C1155

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

Preview Lab → · Contrast checker → · Palette generator →

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