#3C1947#3C1947

#3C1947 is a dark, moderate purple. Relative luminance 0.021; OKLCH L 28.7% C 0.089 H 317.4°. Best body text is #FFFFFF at 14.77:1 contrast (WCAG AA passes).

Color values

HEX#3C1947
RGBrgb(60, 25, 71)
HSLhsl(286, 48%, 19%)
HSVhsv(286, 65%, 28%)
CMYKcmyk(15.5%, 64.8%, 0%, 72.2%)
CIE-LABlab(16.06, 25.72, -21.63)
CIE-LCHlch(16.06, 33.61, 319.93°)
OKLaboklab(28.73% 0.0657 -0.0604)
OKLCHoklch(28.73% 0.089 317.4)
XYZxyz(3.3483, 2.1110, 6.1911)
Luminance0.0211 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C1947 #244719
analogous
#251947 #3C1947 #47193B
triadic
#3C1947 #473C19 #19473C
tetradic
#3C1947 #472519 #244719 #193B47
square
#3C1947 #472519 #244719 #193B47
split-complementary
#3C1947 #3B4719 #194725
monochromatic
#130817 #16091A #3C1947 #622974 #8939A2

Accessibility & contrast

On white

14.77
#3C1947 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#3C1947 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C1947
14.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C1947#FFFFFF#000000##FFFFFF
##3C19471.0014.771.4214.77
#FFFFFF14.771.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D2648
Deuteranopia (green-blind)
#1A2946
Tritanopia (blue-blind)
#3C202D
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #3c1947;
/* rgb */ color: rgb(60, 25, 71);
/* oklch */ color: oklch(28.7% 0.089 317.4);
Tailwind
colors: {
  custom: {
    50: '#73587a',
    500: '#3c1947',
    950: '#000000',
  },
}
SCSS
$custom: #3c1947;
$custom-light: #73587a;
$custom-dark: #000000;
JSON
{
  "hex": "#3c1947",
  "rgb": {
    "r": 60,
    "g": 25,
    "b": 71
  },
  "hsl": {
    "h": 285.652,
    "s": 47.917,
    "l": 18.824
  },
  "oklch": {
    "l": 0.2873,
    "c": 0.08922,
    "h": 317.4
  },
  "luminance": 0.02111
}

Semantic roles & 50–950 ramp

primary
#3C1947
secondary
#4D7D3E
accent
#D85071
background
#F7F5F7
surface
#EDE9ED
border
#C8C5C8
text
#080309
muted
#7B787B

Preview Lab

Preview with #3C1947

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

Preview Lab → · Contrast checker → · Palette generator →

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