#3C0837#3C0837

#3C0837 is a dark, moderate purple. Relative luminance 0.014; OKLCH L 25.5% C 0.099 H 332.4°. Best body text is #FFFFFF at 16.38:1 contrast (WCAG AA passes).

Color values

HEX#3C0837
RGBrgb(60, 8, 55)
HSLhsl(306, 76%, 13%)
HSVhsv(306, 87%, 24%)
CMYKcmyk(0%, 86.7%, 8.3%, 76.5%)
CIE-LABlab(12.03, 30.62, -16.73)
CIE-LCHlch(12.03, 34.89, 331.34°)
OKLaboklab(25.48% 0.0881 -0.046)
OKLCHoklch(25.48% 0.099 332.4)
XYZxyz(2.6399, 1.4104, 3.7469)
Luminance0.0141 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C0837 #083C0D
analogous
#27083C #3C0837 #3C081D
triadic
#3C0837 #373C08 #08373C
tetradic
#3C0837 #3C2708 #083C0D #081D3C
square
#3C0837 #3C2708 #083C0D #081D3C
split-complementary
#3C0837 #1D3C08 #083C27
monochromatic
#1B0419 #1B0419 #3C0837 #720F68 #A8169A

Accessibility & contrast

On white

16.38
#3C0837 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#3C0837 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C0837
16.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C0837#FFFFFF#000000##FFFFFF
##3C08371.0016.381.2816.38
#FFFFFF16.381.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#051B38
Deuteranopia (green-blind)
#192236
Tritanopia (blue-blind)
#3F0E1F
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #3c0837;
/* rgb */ color: rgb(60, 8, 55);
/* oklch */ color: oklch(25.5% 0.099 332.4);
Tailwind
colors: {
  custom: {
    50: '#744e6e',
    500: '#3c0837',
    950: '#000000',
  },
}
SCSS
$custom: #3c0837;
$custom-light: #744e6e;
$custom-dark: #000000;
JSON
{
  "hex": "#3c0837",
  "rgb": {
    "r": 60,
    "g": 8,
    "b": 55
  },
  "hsl": {
    "h": 305.769,
    "s": 76.471,
    "l": 13.333
  },
  "oklch": {
    "l": 0.25478,
    "c": 0.09936,
    "h": 332.4
  },
  "luminance": 0.0141
}

Semantic roles & 50–950 ramp

primary
#3C0837
secondary
#257B2D
accent
#F34735
background
#F7F4F6
surface
#EDE7EB
border
#C8C3C6
text
#080207
muted
#7B787A

Preview Lab

Preview with #3C0837

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

Preview Lab → · Contrast checker → · Palette generator →

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