#3C0838#3C0838

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

Color values

HEX#3C0838
RGBrgb(60, 8, 56)
HSLhsl(305, 76%, 13%)
HSVhsv(305, 87%, 24%)
CMYKcmyk(0%, 86.7%, 6.7%, 76.5%)
CIE-LABlab(12.09, 30.80, -17.35)
CIE-LCHlch(12.09, 35.35, 330.61°)
OKLaboklab(25.55% 0.0881 -0.0478)
OKLCHoklch(25.55% 0.1 331.5)
XYZxyz(2.6641, 1.4201, 3.8744)
Luminance0.0142 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C0838 #083C0C
analogous
#26083C #3C0838 #3C081E
triadic
#3C0838 #383C08 #08383C
tetradic
#3C0838 #3C2608 #083C0C #081E3C
square
#3C0838 #3C2608 #083C0C #081E3C
split-complementary
#3C0838 #1E3C08 #083C26
monochromatic
#1B0419 #1B0419 #3C0838 #720F6A #A8169D

Accessibility & contrast

On white

16.36
#3C0838 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3C0838
16.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C0838#FFFFFF#000000##FFFFFF
##3C08381.0016.361.2816.36
#FFFFFF16.361.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#041B39
Deuteranopia (green-blind)
#192237
Tritanopia (blue-blind)
#3F0E1F
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #3c0838;
/* rgb */ color: rgb(60, 8, 56);
/* oklch */ color: oklch(25.5% 0.100 331.5);
Tailwind
colors: {
  custom: {
    50: '#744e6f',
    500: '#3c0838',
    950: '#000000',
  },
}
SCSS
$custom: #3c0838;
$custom-light: #744e6f;
$custom-dark: #000000;
JSON
{
  "hex": "#3c0838",
  "rgb": {
    "r": 60,
    "g": 8,
    "b": 56
  },
  "hsl": {
    "h": 304.615,
    "s": 76.471,
    "l": 13.333
  },
  "oklch": {
    "l": 0.25545,
    "c": 0.10023,
    "h": 331.5
  },
  "luminance": 0.0142
}

Semantic roles & 50–950 ramp

primary
#3C0838
secondary
#257B2C
accent
#F34335
background
#F7F4F6
surface
#EDE7EC
border
#C8C3C7
text
#080207
muted
#7B787A

Preview Lab

Preview with #3C0838

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

Preview Lab → · Contrast checker → · Palette generator →

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