#3C0F36#3C0F36

#3C0F36 is a dark, moderate purple. Relative luminance 0.016; OKLCH L 26.2% C 0.088 H 333.5°. Best body text is #FFFFFF at 15.98:1 contrast (WCAG AA passes).

Color values

HEX#3C0F36
RGBrgb(60, 15, 54)
HSLhsl(308, 60%, 15%)
HSVhsv(308, 75%, 24%)
CMYKcmyk(0%, 75%, 10%, 76.5%)
CIE-LABlab(13.04, 27.39, -14.42)
CIE-LCHlch(13.04, 30.96, 332.24°)
OKLaboklab(26.19% 0.0791 -0.0394)
OKLCHoklch(26.19% 0.088 333.5)
XYZxyz(2.7002, 1.5689, 3.6499)
Luminance0.0157 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C0F36 #0F3C15
analogous
#2C0F3C #3C0F36 #3C0F20
triadic
#3C0F36 #363C0F #0F363C
tetradic
#3C0F36 #3C2C0F #0F3C15 #0F203C
square
#3C0F36 #3C2C0F #0F3C15 #0F203C
split-complementary
#3C0F36 #203C0F #0F3C2C
monochromatic
#180616 #180616 #3C0F36 #6D1B62 #9E278E

Accessibility & contrast

On white

15.98
#3C0F36 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3C0F36
15.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C0F36#FFFFFF#000000##FFFFFF
##3C0F361.0015.981.3115.98
#FFFFFF15.981.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF15.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E1D37
Deuteranopia (green-blind)
#1D2435
Tritanopia (blue-blind)
#3F1320
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #3c0f36;
/* rgb */ color: rgb(60, 15, 54);
/* oklch */ color: oklch(26.2% 0.088 333.5);
Tailwind
colors: {
  custom: {
    50: '#74516d',
    500: '#3c0f36',
    950: '#000000',
  },
}
SCSS
$custom: #3c0f36;
$custom-light: #74516d;
$custom-dark: #000000;
JSON
{
  "hex": "#3c0f36",
  "rgb": {
    "r": 60,
    "g": 15,
    "b": 54
  },
  "hsl": {
    "h": 308,
    "s": 60,
    "l": 14.706
  },
  "oklch": {
    "l": 0.26189,
    "c": 0.0884,
    "h": 333.5
  },
  "luminance": 0.01569
}

Semantic roles & 50–950 ramp

primary
#3C0F36
secondary
#30763A
accent
#E35A45
background
#F7F4F6
surface
#EDE7EB
border
#C8C3C6
text
#080207
muted
#7B787A

Preview Lab

Preview with #3C0F36

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

Preview Lab → · Contrast checker → · Palette generator →

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