#3C1564#3C1564

#3C1564 is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.5% C 0.130 H 301.4°. Best body text is #FFFFFF at 14.16:1 contrast (WCAG AA passes).

Color values

HEX#3C1564
RGBrgb(60, 21, 100)
HSLhsl(270, 65%, 24%)
HSVhsv(270, 79%, 39%)
CMYKcmyk(40%, 79%, 0%, 60.8%)
CIE-LABlab(17.54, 35.39, -38.82)
CIE-LCHlch(17.54, 52.53, 312.35°)
OKLaboklab(30.5% 0.0677 -0.1108)
OKLCHoklch(30.5% 0.13 301.4)
XYZxyz(4.4313, 2.4171, 12.2872)
Luminance0.0242 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C1564 #3D6415
analogous
#151664 #3C1564 #631564
triadic
#3C1564 #643C15 #15643C
tetradic
#3C1564 #641516 #3D6415 #156463
square
#3C1564 #641516 #3D6415 #156463
split-complementary
#3C1564 #646315 #166415
monochromatic
#0F0519 #1E0A31 #3C1564 #5A2097 #792AC9

Accessibility & contrast

On white

14.16
#3C1564 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3C1564
14.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C1564#FFFFFF#000000##FFFFFF
##3C15641.0014.161.4814.16
#FFFFFF14.161.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B66
Deuteranopia (green-blind)
#002B62
Tritanopia (blue-blind)
#33293B
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #3c1564;
/* rgb */ color: rgb(60, 21, 100);
/* oklch */ color: oklch(30.5% 0.130 301.4);
Tailwind
colors: {
  custom: {
    50: '#765791',
    500: '#3c1564',
    950: '#000000',
  },
}
SCSS
$custom: #3c1564;
$custom-light: #765791;
$custom-dark: #000000;
JSON
{
  "hex": "#3c1564",
  "rgb": {
    "r": 60,
    "g": 21,
    "b": 100
  },
  "hsl": {
    "h": 269.62,
    "s": 65.289,
    "l": 23.725
  },
  "oklch": {
    "l": 0.30504,
    "c": 0.12981,
    "h": 301.4
  },
  "luminance": 0.02417
}

Semantic roles & 50–950 ramp

primary
#3C1564
secondary
#6B9B3A
accent
#E84095
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#09030D
muted
#7B787E

Preview Lab

Preview with #3C1564

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

Preview Lab → · Contrast checker → · Palette generator →

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