#3C1568#3C1568

#3C1568 is a dark, vivid violet. Relative luminance 0.025; OKLCH L 30.9% C 0.134 H 299.7°. Best body text is #FFFFFF at 14.01:1 contrast (WCAG AA passes).

Color values

HEX#3C1568
RGBrgb(60, 21, 104)
HSLhsl(268, 66%, 25%)
HSVhsv(268, 80%, 41%)
CMYKcmyk(42.3%, 79.8%, 0%, 59.2%)
CIE-LABlab(17.90, 36.47, -40.86)
CIE-LCHlch(17.90, 54.77, 311.75°)
OKLaboklab(30.87% 0.0666 -0.1168)
OKLCHoklch(30.87% 0.134 299.7)
XYZxyz(4.6297, 2.4964, 13.3320)
Luminance0.0250 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C1568 #416815
analogous
#151768 #3C1568 #661568
triadic
#3C1568 #683C15 #15683C
tetradic
#3C1568 #681517 #416815 #156866
square
#3C1568 #681517 #416815 #156866
split-complementary
#3C1568 #686615 #176815
monochromatic
#0F0519 #1F0B35 #3C1568 #591F9B #772ACE

Accessibility & contrast

On white

14.01
#3C1568 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#3C1568 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C1568
14.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C1568#FFFFFF#000000##FFFFFF
##3C15681.0014.011.5014.01
#FFFFFF14.011.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C6A
Deuteranopia (green-blind)
#002B66
Tritanopia (blue-blind)
#322B3E
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #3c1568;
/* rgb */ color: rgb(60, 21, 104);
/* oklch */ color: oklch(30.9% 0.134 299.7);
Tailwind
colors: {
  custom: {
    50: '#775794',
    500: '#3c1568',
    950: '#000000',
  },
}
SCSS
$custom: #3c1568;
$custom-light: #775794;
$custom-dark: #000000;
JSON
{
  "hex": "#3c1568",
  "rgb": {
    "r": 60,
    "g": 21,
    "b": 104
  },
  "hsl": {
    "h": 268.193,
    "s": 66.4,
    "l": 24.51
  },
  "oklch": {
    "l": 0.30873,
    "c": 0.13443,
    "h": 299.7
  },
  "luminance": 0.02496
}

Semantic roles & 50–950 ramp

primary
#3C1568
secondary
#6F9F3A
accent
#E93E99
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#09030D
muted
#7B787E

Preview Lab

Preview with #3C1568

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

Preview Lab → · Contrast checker → · Palette generator →

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