#3C2840#3C2840

#3C2840 is a dark, muted purple. Relative luminance 0.028; OKLCH L 31.1% C 0.050 H 320.7°. Best body text is #FFFFFF at 13.38:1 contrast (WCAG AA passes).

Color values

HEX#3C2840
RGBrgb(60, 40, 64)
HSLhsl(290, 23%, 20%)
HSVhsv(290, 38%, 25%)
CMYKcmyk(6.2%, 37.5%, 0%, 74.9%)
CIE-LABlab(19.43, 14.40, -11.54)
CIE-LCHlch(19.43, 18.45, 321.29°)
OKLaboklab(31.11% 0.0385 -0.0315)
OKLCHoklch(31.11% 0.05 320.7)
XYZxyz(3.5476, 2.8485, 5.2124)
Luminance0.0285 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C2840 #2C4028
analogous
#302840 #3C2840 #402838
triadic
#3C2840 #403C28 #28403C
tetradic
#3C2840 #403028 #2C4028 #283840
square
#3C2840 #403028 #2C4028 #283840
split-complementary
#3C2840 #384028 #284030
monochromatic
#120C13 #19101A #3C2840 #5F4066 #83578B

Accessibility & contrast

On white

13.38
#3C2840 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#3C2840 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C2840
13.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C2840#FFFFFF#000000##FFFFFF
##3C28401.0013.381.5713.38
#FFFFFF13.381.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#252E41
Deuteranopia (green-blind)
#2A303F
Tritanopia (blue-blind)
#3D2B31
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #3c2840;
/* rgb */ color: rgb(60, 40, 64);
/* oklch */ color: oklch(31.1% 0.050 320.7);
Tailwind
colors: {
  custom: {
    50: '#726275',
    500: '#3c2840',
    950: '#000000',
  },
}
SCSS
$custom: #3c2840;
$custom-light: #726275;
$custom-dark: #000000;
JSON
{
  "hex": "#3c2840",
  "rgb": {
    "r": 60,
    "g": 40,
    "b": 64
  },
  "hsl": {
    "h": 290,
    "s": 23.077,
    "l": 20.392
  },
  "oklch": {
    "l": 0.31113,
    "c": 0.04974,
    "h": 320.7
  },
  "luminance": 0.02848
}

Semantic roles & 50–950 ramp

primary
#3C2840
secondary
#577252
accent
#C06877
background
#F6F5F7
surface
#ECEAED
border
#C7C6C8
text
#080508
muted
#7B797B

Preview Lab

Preview with #3C2840

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

Preview Lab → · Contrast checker → · Palette generator →

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