#3C0D56#3C0D56

#3C0D56 is a dark, vivid violet. Relative luminance 0.019; OKLCH L 28.4% C 0.124 H 309.8°. Best body text is #FFFFFF at 15.17:1 contrast (WCAG AA passes).

Color values

HEX#3C0D56
RGBrgb(60, 13, 86)
HSLhsl(279, 74%, 19%)
HSVhsv(279, 85%, 34%)
CMYKcmyk(30.2%, 84.9%, 0%, 66.3%)
CIE-LABlab(15.06, 35.36, -33.49)
CIE-LCHlch(15.06, 48.70, 316.55°)
OKLaboklab(28.38% 0.0791 -0.0951)
OKLCHoklch(28.38% 0.124 309.8)
XYZxyz(3.6868, 1.9205, 8.9788)
Luminance0.0192 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C0D56 #27560D
analogous
#180D56 #3C0D56 #560D4C
triadic
#3C0D56 #563C0D #0D563C
tetradic
#3C0D56 #56180D #27560D #0D4C56
square
#3C0D56 #56180D #27560D #0D4C56
split-complementary
#3C0D56 #4C560D #0D5618
monochromatic
#13041B #170521 #3C0D56 #61158B #861DC0

Accessibility & contrast

On white

15.17
#3C0D56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#3C0D56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C0D56
15.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C0D56#FFFFFF#000000##FFFFFF
##3C0D561.0015.171.3815.17
#FFFFFF15.171.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002458
Deuteranopia (green-blind)
#002655
Tritanopia (blue-blind)
#381F31
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #3c0d56;
/* rgb */ color: rgb(60, 13, 86);
/* oklch */ color: oklch(28.4% 0.124 309.8);
Tailwind
colors: {
  custom: {
    50: '#755286',
    500: '#3c0d56',
    950: '#000000',
  },
}
SCSS
$custom: #3c0d56;
$custom-light: #755286;
$custom-dark: #000000;
JSON
{
  "hex": "#3c0d56",
  "rgb": {
    "r": 60,
    "g": 13,
    "b": 86
  },
  "hsl": {
    "h": 278.63,
    "s": 73.737,
    "l": 19.412
  },
  "oklch": {
    "l": 0.28379,
    "c": 0.12365,
    "h": 309.8
  },
  "luminance": 0.0192
}

Semantic roles & 50–950 ramp

primary
#3C0D56
secondary
#51912E
accent
#F03779
background
#F7F4F8
surface
#EDE7EF
border
#C8C3CA
text
#09020B
muted
#7B787C

Preview Lab

Preview with #3C0D56

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

Preview Lab → · Contrast checker → · Palette generator →

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