#3C1563#3C1563

#3C1563 is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.4% C 0.129 H 301.9°. Best body text is #FFFFFF at 14.19:1 contrast (WCAG AA passes).

Color values

HEX#3C1563
RGBrgb(60, 21, 99)
HSLhsl(270, 65%, 24%)
HSVhsv(270, 79%, 39%)
CMYKcmyk(39.4%, 78.8%, 0%, 61.2%)
CIE-LABlab(17.45, 35.12, -38.31)
CIE-LCHlch(17.45, 51.97, 312.52°)
OKLaboklab(30.41% 0.0679 -0.1093)
OKLCHoklch(30.41% 0.129 301.9)
XYZxyz(4.3832, 2.3978, 12.0339)
Luminance0.0240 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C1563 #3C6315
analogous
#151563 #3C1563 #631563
triadic
#3C1563 #633C15 #15633C
tetradic
#3C1563 #631515 #3C6315 #156363
square
#3C1563 #631515 #3C6315 #156363
split-complementary
#3C1563 #636315 #156315
monochromatic
#0F0519 #1D0A31 #3C1563 #5B2095 #792AC8

Accessibility & contrast

On white

14.19
#3C1563 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#3C1563 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C1563
14.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C1563#FFFFFF#000000##FFFFFF
##3C15631.0014.191.4814.19
#FFFFFF14.191.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A65
Deuteranopia (green-blind)
#002A61
Tritanopia (blue-blind)
#34293B
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #3c1563;
/* rgb */ color: rgb(60, 21, 99);
/* oklch */ color: oklch(30.4% 0.129 301.9);
Tailwind
colors: {
  custom: {
    50: '#765790',
    500: '#3c1563',
    950: '#000000',
  },
}
SCSS
$custom: #3c1563;
$custom-light: #765790;
$custom-dark: #000000;
JSON
{
  "hex": "#3c1563",
  "rgb": {
    "r": 60,
    "g": 21,
    "b": 99
  },
  "hsl": {
    "h": 270,
    "s": 65,
    "l": 23.529
  },
  "oklch": {
    "l": 0.30414,
    "c": 0.12864,
    "h": 301.9
  },
  "luminance": 0.02398
}

Semantic roles & 50–950 ramp

primary
#3C1563
secondary
#6A9A3A
accent
#E84094
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#09030D
muted
#7B787D

Preview Lab

Preview with #3C1563

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

Preview Lab → · Contrast checker → · Palette generator →

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