#3C0841#3C0841

#3C0841 is a dark, moderate purple. Relative luminance 0.015; OKLCH L 26.2% C 0.108 H 324.1°. Best body text is #FFFFFF at 16.11:1 contrast (WCAG AA passes).

Color values

HEX#3C0841
RGBrgb(60, 8, 65)
HSLhsl(295, 78%, 14%)
HSVhsv(295, 88%, 25%)
CMYKcmyk(7.7%, 87.7%, 0%, 74.5%)
CIE-LABlab(12.71, 32.57, -22.78)
CIE-LCHlch(12.71, 39.74, 325.03°)
OKLaboklab(26.19% 0.0878 -0.0636)
OKLCHoklch(26.19% 0.108 324.1)
XYZxyz(2.9044, 1.5162, 5.1397)
Luminance0.0152 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C0841 #0D4108
analogous
#200841 #3C0841 #41082A
triadic
#3C0841 #413C08 #08413C
tetradic
#3C0841 #412008 #0D4108 #082A41
square
#3C0841 #412008 #0D4108 #082A41
split-complementary
#3C0841 #2A4108 #084120
monochromatic
#19031B #19031B #3C0841 #6E0F77 #A115AE

Accessibility & contrast

On white

16.11
#3C0841 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#3C0841 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C0841
16.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C0841#FFFFFF#000000##FFFFFF
##3C08411.0016.111.3016.11
#FFFFFF16.111.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D43
Deuteranopia (green-blind)
#132340
Tritanopia (blue-blind)
#3D1324
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #3c0841;
/* rgb */ color: rgb(60, 8, 65);
/* oklch */ color: oklch(26.2% 0.108 324.1);
Tailwind
colors: {
  custom: {
    50: '#744f76',
    500: '#3c0841',
    950: '#000000',
  },
}
SCSS
$custom: #3c0841;
$custom-light: #744f76;
$custom-dark: #000000;
JSON
{
  "hex": "#3c0841",
  "rgb": {
    "r": 60,
    "g": 8,
    "b": 65
  },
  "hsl": {
    "h": 294.737,
    "s": 78.082,
    "l": 14.314
  },
  "oklch": {
    "l": 0.26186,
    "c": 0.10841,
    "h": 324.1
  },
  "luminance": 0.01516
}

Semantic roles & 50–950 ramp

primary
#3C0841
secondary
#2D7F25
accent
#F53344
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#080208
muted
#7B787B

Preview Lab

Preview with #3C0841

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

Preview Lab → · Contrast checker → · Palette generator →

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