#3C0939#3C0939

#3C0939 is a dark, moderate purple. Relative luminance 0.015; OKLCH L 25.7% C 0.100 H 330.6°. Best body text is #FFFFFF at 16.28:1 contrast (WCAG AA passes).

Color values

HEX#3C0939
RGBrgb(60, 9, 57)
HSLhsl(304, 74%, 14%)
HSVhsv(304, 85%, 24%)
CMYKcmyk(0%, 85%, 5%, 76.5%)
CIE-LABlab(12.30, 30.58, -17.74)
CIE-LCHlch(12.30, 35.36, 329.88°)
OKLaboklab(25.71% 0.087 -0.0489)
OKLCHoklch(25.71% 0.1 330.6)
XYZxyz(2.6997, 1.4517, 4.0081)
Luminance0.0145 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C0939 #093C0C
analogous
#25093C #3C0939 #3C091F
triadic
#3C0939 #393C09 #09393C
tetradic
#3C0939 #3C2509 #093C0C #091F3C
square
#3C0939 #3C2509 #093C0C #091F3C
split-complementary
#3C0939 #1F3C09 #093C25
monochromatic
#1B0419 #1B0419 #3C0939 #71116C #A6199E

Accessibility & contrast

On white

16.28
#3C0939 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#3C0939 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C0939
16.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C0939#FFFFFF#000000##FFFFFF
##3C09391.0016.281.2916.28
#FFFFFF16.281.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#051C3A
Deuteranopia (green-blind)
#192338
Tritanopia (blue-blind)
#3F1020
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #3c0939;
/* rgb */ color: rgb(60, 9, 57);
/* oklch */ color: oklch(25.7% 0.100 330.6);
Tailwind
colors: {
  custom: {
    50: '#744f6f',
    500: '#3c0939',
    950: '#000000',
  },
}
SCSS
$custom: #3c0939;
$custom-light: #744f6f;
$custom-dark: #000000;
JSON
{
  "hex": "#3c0939",
  "rgb": {
    "r": 60,
    "g": 9,
    "b": 57
  },
  "hsl": {
    "h": 303.529,
    "s": 73.913,
    "l": 13.529
  },
  "oklch": {
    "l": 0.25714,
    "c": 0.09978,
    "h": 330.6
  },
  "luminance": 0.01451
}

Semantic roles & 50–950 ramp

primary
#3C0939
secondary
#277A2C
accent
#F14237
background
#F7F4F6
surface
#EDE7EC
border
#C8C3C7
text
#080207
muted
#7B787A

Preview Lab

Preview with #3C0939

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

Preview Lab → · Contrast checker → · Palette generator →

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