#3C1561#3C1561

#3C1561 is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.2% C 0.126 H 302.8°. Best body text is #FFFFFF at 14.27:1 contrast (WCAG AA passes).

Color values

HEX#3C1561
RGBrgb(60, 21, 97)
HSLhsl(271, 64%, 23%)
HSVhsv(271, 78%, 38%)
CMYKcmyk(38.1%, 78.4%, 0%, 62%)
CIE-LABlab(17.27, 34.59, -37.27)
CIE-LCHlch(17.27, 50.84, 312.86°)
OKLaboklab(30.23% 0.0684 -0.1062)
OKLCHoklch(30.23% 0.126 302.8)
XYZxyz(4.2888, 2.3601, 11.5365)
Luminance0.0236 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C1561 #3A6115
analogous
#161561 #3C1561 #611560
triadic
#3C1561 #613C15 #15613C
tetradic
#3C1561 #611615 #3A6115 #156061
square
#3C1561 #611615 #3A6115 #156061
split-complementary
#3C1561 #606115 #156116
monochromatic
#100519 #1D0A2F #3C1561 #5B2093 #7A2BC6

Accessibility & contrast

On white

14.27
#3C1561 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#3C1561 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C1561
14.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C1561#FFFFFF#000000##FFFFFF
##3C15611.0014.271.4714.27
#FFFFFF14.271.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A63
Deuteranopia (green-blind)
#002A5F
Tritanopia (blue-blind)
#34283A
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #3c1561;
/* rgb */ color: rgb(60, 21, 97);
/* oklch */ color: oklch(30.2% 0.126 302.8);
Tailwind
colors: {
  custom: {
    50: '#76578f',
    500: '#3c1561',
    950: '#000000',
  },
}
SCSS
$custom: #3c1561;
$custom-light: #76578f;
$custom-dark: #000000;
JSON
{
  "hex": "#3c1561",
  "rgb": {
    "r": 60,
    "g": 21,
    "b": 97
  },
  "hsl": {
    "h": 270.789,
    "s": 64.407,
    "l": 23.137
  },
  "oklch": {
    "l": 0.30234,
    "c": 0.12633,
    "h": 302.8
  },
  "luminance": 0.0236
}

Semantic roles & 50–950 ramp

primary
#3C1561
secondary
#68983A
accent
#E74092
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09030C
muted
#7B787D

Preview Lab

Preview with #3C1561

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

Preview Lab → · Contrast checker → · Palette generator →

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