#3C1565#3C1565

#3C1565 is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.6% C 0.131 H 301.0°. Best body text is #FFFFFF at 14.12:1 contrast (WCAG AA passes).

Color values

HEX#3C1565
RGBrgb(60, 21, 101)
HSLhsl(269, 66%, 24%)
HSVhsv(269, 79%, 40%)
CMYKcmyk(40.6%, 79.2%, 0%, 60.4%)
CIE-LABlab(17.63, 35.66, -39.34)
CIE-LCHlch(17.63, 53.09, 312.20°)
OKLaboklab(30.6% 0.0674 -0.1123)
OKLCHoklch(30.6% 0.131 301)
XYZxyz(4.4800, 2.4365, 12.5437)
Luminance0.0244 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C1565 #3E6515
analogous
#151665 #3C1565 #641565
triadic
#3C1565 #653C15 #15653C
tetradic
#3C1565 #651516 #3E6515 #156564
square
#3C1565 #651516 #3E6515 #156564
split-complementary
#3C1565 #656415 #166515
monochromatic
#0F0519 #1E0A32 #3C1565 #5A2098 #782ACA

Accessibility & contrast

On white

14.12
#3C1565 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#3C1565 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C1565
14.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C1565#FFFFFF#000000##FFFFFF
##3C15651.0014.121.4914.12
#FFFFFF14.121.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B67
Deuteranopia (green-blind)
#002B63
Tritanopia (blue-blind)
#33293C
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #3c1565;
/* rgb */ color: rgb(60, 21, 101);
/* oklch */ color: oklch(30.6% 0.131 301.0);
Tailwind
colors: {
  custom: {
    50: '#765792',
    500: '#3c1565',
    950: '#000000',
  },
}
SCSS
$custom: #3c1565;
$custom-light: #765792;
$custom-dark: #000000;
JSON
{
  "hex": "#3c1565",
  "rgb": {
    "r": 60,
    "g": 21,
    "b": 101
  },
  "hsl": {
    "h": 269.25,
    "s": 65.574,
    "l": 23.922
  },
  "oklch": {
    "l": 0.30596,
    "c": 0.13096,
    "h": 301
  },
  "luminance": 0.02437
}

Semantic roles & 50–950 ramp

primary
#3C1565
secondary
#6C9C3A
accent
#E93F96
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#09030D
muted
#7B787E

Preview Lab

Preview with #3C1565

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

Preview Lab → · Contrast checker → · Palette generator →

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