#3C0940#3C0940

#3C0940 is a dark, moderate purple. Relative luminance 0.015; OKLCH L 26.2% C 0.106 H 324.8°. Best body text is #FFFFFF at 16.09:1 contrast (WCAG AA passes).

Color values

HEX#3C0940
RGBrgb(60, 9, 64)
HSLhsl(296, 75%, 14%)
HSVhsv(296, 86%, 25%)
CMYKcmyk(6.2%, 85.9%, 0%, 74.9%)
CIE-LABlab(12.77, 31.97, -21.97)
CIE-LCHlch(12.77, 38.79, 325.50°)
OKLaboklab(26.21% 0.0868 -0.0612)
OKLCHoklch(26.21% 0.106 324.8)
XYZxyz(2.8865, 1.5264, 4.9921)
Luminance0.0153 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C0940 #0D4009
analogous
#210940 #3C0940 #400929
triadic
#3C0940 #403C09 #09403C
tetradic
#3C0940 #402109 #0D4009 #092940
square
#3C0940 #402109 #0D4009 #092940
split-complementary
#3C0940 #294009 #094021
monochromatic
#19041B #19041B #3C0940 #6E1176 #A118AB

Accessibility & contrast

On white

16.09
#3C0940 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#3C0940 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C0940
16.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C0940#FFFFFF#000000##FFFFFF
##3C09401.0016.091.3116.09
#FFFFFF16.091.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D41
Deuteranopia (green-blind)
#15233F
Tritanopia (blue-blind)
#3D1324
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #3c0940;
/* rgb */ color: rgb(60, 9, 64);
/* oklch */ color: oklch(26.2% 0.106 324.8);
Tailwind
colors: {
  custom: {
    50: '#744f75',
    500: '#3c0940',
    950: '#000000',
  },
}
SCSS
$custom: #3c0940;
$custom-light: #744f75;
$custom-dark: #000000;
JSON
{
  "hex": "#3c0940",
  "rgb": {
    "r": 60,
    "g": 9,
    "b": 64
  },
  "hsl": {
    "h": 295.636,
    "s": 75.342,
    "l": 14.314
  },
  "oklch": {
    "l": 0.26208,
    "c": 0.10622,
    "h": 324.8
  },
  "luminance": 0.01526
}

Semantic roles & 50–950 ramp

primary
#3C0940
secondary
#2D7E27
accent
#F23644
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#080208
muted
#7B787B

Preview Lab

Preview with #3C0940

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

Preview Lab → · Contrast checker → · Palette generator →

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