#3C0541#3C0541

#3C0541 is a dark, moderate purple. Relative luminance 0.015; OKLCH L 25.9% C 0.112 H 324.3°. Best body text is #FFFFFF at 16.28:1 contrast (WCAG AA passes).

Color values

HEX#3C0541
RGBrgb(60, 5, 65)
HSLhsl(295, 86%, 14%)
HSVhsv(295, 92%, 25%)
CMYKcmyk(7.7%, 92.3%, 0%, 74.5%)
CIE-LABlab(12.29, 33.78, -23.45)
CIE-LCHlch(12.29, 41.12, 325.23°)
OKLaboklab(25.89% 0.0911 -0.0655)
OKLCHoklch(25.89% 0.112 324.3)
XYZxyz(2.8718, 1.4510, 5.1288)
Luminance0.0145 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C0541 #0A4105
analogous
#1E0541 #3C0541 #410528
triadic
#3C0541 #413C05 #05413C
tetradic
#3C0541 #411E05 #0A4105 #052841
square
#3C0541 #411E05 #0A4105 #052841
split-complementary
#3C0541 #284105 #05411E
monochromatic
#1A021C #1A021C #3C0541 #70097A #A50EB3

Accessibility & contrast

On white

16.28
#3C0541 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#3C0541 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C0541
16.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C0541#FFFFFF#000000##FFFFFF
##3C05411.0016.281.2916.28
#FFFFFF16.281.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C43
Deuteranopia (green-blind)
#122240
Tritanopia (blue-blind)
#3D1124
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #3c0541;
/* rgb */ color: rgb(60, 5, 65);
/* oklch */ color: oklch(25.9% 0.112 324.3);
Tailwind
colors: {
  custom: {
    50: '#744e76',
    500: '#3c0541',
    950: '#000000',
  },
}
SCSS
$custom: #3c0541;
$custom-light: #744e76;
$custom-dark: #000000;
JSON
{
  "hex": "#3c0541",
  "rgb": {
    "r": 60,
    "g": 5,
    "b": 65
  },
  "hsl": {
    "h": 295,
    "s": 85.714,
    "l": 13.725
  },
  "oklch": {
    "l": 0.25891,
    "c": 0.11222,
    "h": 324.3
  },
  "luminance": 0.01451
}

Semantic roles & 50–950 ramp

primary
#3C0541
secondary
#288120
accent
#FC2C3D
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#080208
muted
#7B787B

Preview Lab

Preview with #3C0541

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

Preview Lab → · Contrast checker → · Palette generator →

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