#3C183E#3C183E

#3C183E is a dark, moderate purple. Relative luminance 0.020; OKLCH L 28.0% C 0.081 H 325.4°. Best body text is #FFFFFF at 15.08:1 contrast (WCAG AA passes).

Color values

HEX#3C183E
RGBrgb(60, 24, 62)
HSLhsl(297, 44%, 17%)
HSVhsv(297, 61%, 24%)
CMYKcmyk(3.2%, 61.3%, 0%, 75.7%)
CIE-LABlab(15.29, 24.20, -16.58)
CIE-LCHlch(15.29, 29.34, 325.58°)
OKLaboklab(27.98% 0.0664 -0.0457)
OKLCHoklch(27.98% 0.081 325.4)
XYZxyz(3.0595, 1.9619, 4.7740)
Luminance0.0196 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C183E #1A3E18
analogous
#29183E #3C183E #3E182D
triadic
#3C183E #3E3C18 #183E3C
tetradic
#3C183E #3E2918 #1A3E18 #182D3E
square
#3C183E #3E2918 #1A3E18 #182D3E
split-complementary
#3C183E #2D3E18 #183E29
monochromatic
#150916 #150916 #3C183E #67296A #913A96

Accessibility & contrast

On white

15.08
#3C183E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#3C183E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C183E
15.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C183E#FFFFFF#000000##FFFFFF
##3C183E1.0015.081.3915.08
#FFFFFF15.081.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#13233F
Deuteranopia (green-blind)
#1F283D
Tritanopia (blue-blind)
#3E1D28
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #3c183e;
/* rgb */ color: rgb(60, 24, 62);
/* oklch */ color: oklch(28.0% 0.081 325.4);
Tailwind
colors: {
  custom: {
    50: '#735773',
    500: '#3c183e',
    950: '#000000',
  },
}
SCSS
$custom: #3c183e;
$custom-light: #735773;
$custom-dark: #000000;
JSON
{
  "hex": "#3c183e",
  "rgb": {
    "r": 60,
    "g": 24,
    "b": 62
  },
  "hsl": {
    "h": 296.842,
    "s": 44.186,
    "l": 16.863
  },
  "oklch": {
    "l": 0.27983,
    "c": 0.0806,
    "h": 325.4
  },
  "luminance": 0.01962
}

Semantic roles & 50–950 ramp

primary
#3C183E
secondary
#40743D
accent
#D4545B
background
#F7F5F7
surface
#EDE9ED
border
#C8C5C8
text
#080308
muted
#7B787B

Preview Lab

Preview with #3C183E

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

Preview Lab → · Contrast checker → · Palette generator →

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