#3C0D40#3C0D40

#3C0D40 is a dark, moderate purple. Relative luminance 0.016; OKLCH L 26.6% C 0.101 H 324.5°. Best body text is #FFFFFF at 15.86:1 contrast (WCAG AA passes).

Color values

HEX#3C0D40
RGBrgb(60, 13, 64)
HSLhsl(295, 66%, 15%)
HSVhsv(295, 80%, 25%)
CMYKcmyk(6.2%, 79.7%, 0%, 74.9%)
CIE-LABlab(13.34, 30.34, -21.06)
CIE-LCHlch(13.34, 36.93, 325.23°)
OKLaboklab(26.62% 0.0823 -0.0586)
OKLCHoklch(26.62% 0.101 324.5)
XYZxyz(2.9327, 1.6189, 5.0075)
Luminance0.0162 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C0D40 #11400D
analogous
#220D40 #3C0D40 #400D2B
triadic
#3C0D40 #403C0D #0D403C
tetradic
#3C0D40 #40220D #11400D #0D2B40
square
#3C0D40 #40220D #11400D #0D2B40
split-complementary
#3C0D40 #2B400D #0D4022
monochromatic
#180519 #180519 #3C0D40 #6C1773 #9B22A6

Accessibility & contrast

On white

15.86
#3C0D40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#3C0D40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C0D40
15.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C0D40#FFFFFF#000000##FFFFFF
##3C0D401.0015.861.3215.86
#FFFFFF15.861.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#021F41
Deuteranopia (green-blind)
#17243F
Tritanopia (blue-blind)
#3D1625
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #3c0d40;
/* rgb */ color: rgb(60, 13, 64);
/* oklch */ color: oklch(26.6% 0.101 324.5);
Tailwind
colors: {
  custom: {
    50: '#745175',
    500: '#3c0d40',
    950: '#000000',
  },
}
SCSS
$custom: #3c0d40;
$custom-light: #745175;
$custom-dark: #000000;
JSON
{
  "hex": "#3c0d40",
  "rgb": {
    "r": 60,
    "g": 13,
    "b": 64
  },
  "hsl": {
    "h": 295.294,
    "s": 66.234,
    "l": 15.098
  },
  "oklch": {
    "l": 0.26615,
    "c": 0.10105,
    "h": 324.5
  },
  "luminance": 0.01619
}

Semantic roles & 50–950 ramp

primary
#3C0D40
secondary
#337C2D
accent
#E93F4C
background
#F7F4F7
surface
#EDE7ED
border
#C8C3C8
text
#080208
muted
#7B787B

Preview Lab

Preview with #3C0D40

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

Preview Lab → · Contrast checker → · Palette generator →

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