#3C1942#3C1942

#3C1942 is a dark, moderate purple. Relative luminance 0.020; OKLCH L 28.4% C 0.083 H 321.6°. Best body text is #FFFFFF at 14.90:1 contrast (WCAG AA passes).

Color values

HEX#3C1942
RGBrgb(60, 25, 66)
HSLhsl(291, 45%, 18%)
HSVhsv(291, 62%, 26%)
CMYKcmyk(9.1%, 62.1%, 0%, 74.1%)
CIE-LABlab(15.74, 24.53, -18.66)
CIE-LCHlch(15.74, 30.82, 322.74°)
OKLaboklab(28.4% 0.0653 -0.0517)
OKLCHoklch(28.4% 0.083 321.6)
XYZxyz(3.1944, 2.0494, 5.3805)
Luminance0.0205 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C1942 #1F4219
analogous
#281942 #3C1942 #421933
triadic
#3C1942 #423C19 #19423C
tetradic
#3C1942 #422819 #1F4219 #193342
square
#3C1942 #422819 #1F4219 #193342
split-complementary
#3C1942 #334219 #194228
monochromatic
#140816 #140816 #3C1942 #642A6E #8D3B9B

Accessibility & contrast

On white

14.90
#3C1942 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#3C1942 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C1942
14.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C1942#FFFFFF#000000##FFFFFF
##3C19421.0014.901.4114.90
#FFFFFF14.901.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#122543
Deuteranopia (green-blind)
#1D2941
Tritanopia (blue-blind)
#3D1F2A
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #3c1942;
/* rgb */ color: rgb(60, 25, 66);
/* oklch */ color: oklch(28.4% 0.083 321.6);
Tailwind
colors: {
  custom: {
    50: '#735876',
    500: '#3c1942',
    950: '#000000',
  },
}
SCSS
$custom: #3c1942;
$custom-light: #735876;
$custom-dark: #000000;
JSON
{
  "hex": "#3c1942",
  "rgb": {
    "r": 60,
    "g": 25,
    "b": 66
  },
  "hsl": {
    "h": 291.22,
    "s": 45.055,
    "l": 17.843
  },
  "oklch": {
    "l": 0.28397,
    "c": 0.08329,
    "h": 321.6
  },
  "luminance": 0.02049
}

Semantic roles & 50–950 ramp

primary
#3C1942
secondary
#47783F
accent
#D55366
background
#F7F5F7
surface
#EDE9ED
border
#C8C5C8
text
#080308
muted
#7B787B

Preview Lab

Preview with #3C1942

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

Preview Lab → · Contrast checker → · Palette generator →

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