#3C0B56#3C0B56

#3C0B56 is a dark, vivid violet. Relative luminance 0.019; OKLCH L 28.2% C 0.126 H 310.0°. Best body text is #FFFFFF at 15.28:1 contrast (WCAG AA passes).

Color values

HEX#3C0B56
RGBrgb(60, 11, 86)
HSLhsl(279, 77%, 19%)
HSVhsv(279, 87%, 34%)
CMYKcmyk(30.2%, 87.2%, 0%, 66.3%)
CIE-LABlab(14.80, 36.12, -33.92)
CIE-LCHlch(14.80, 49.55, 316.80°)
OKLaboklab(28.19% 0.0809 -0.0963)
OKLCHoklch(28.19% 0.126 310)
XYZxyz(3.6625, 1.8720, 8.9707)
Luminance0.0187 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C0B56 #25560B
analogous
#170B56 #3C0B56 #560B4B
triadic
#3C0B56 #563C0B #0B563C
tetradic
#3C0B56 #56170B #25560B #0B4B56
square
#3C0B56 #56170B #25560B #0B4B56
split-complementary
#3C0B56 #4B560B #0B5617
monochromatic
#13031B #160420 #3C0B56 #62128C #8819C3

Accessibility & contrast

On white

15.28
#3C0B56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#3C0B56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C0B56
15.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C0B56#FFFFFF#000000##FFFFFF
##3C0B561.0015.281.3715.28
#FFFFFF15.281.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002358
Deuteranopia (green-blind)
#002655
Tritanopia (blue-blind)
#381E31
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #3c0b56;
/* rgb */ color: rgb(60, 11, 86);
/* oklch */ color: oklch(28.2% 0.126 310.0);
Tailwind
colors: {
  custom: {
    50: '#755186',
    500: '#3c0b56',
    950: '#000000',
  },
}
SCSS
$custom: #3c0b56;
$custom-light: #755186;
$custom-dark: #000000;
JSON
{
  "hex": "#3c0b56",
  "rgb": {
    "r": 60,
    "g": 11,
    "b": 86
  },
  "hsl": {
    "h": 279.2,
    "s": 77.32,
    "l": 19.02
  },
  "oklch": {
    "l": 0.28194,
    "c": 0.12576,
    "h": 310
  },
  "luminance": 0.01872
}

Semantic roles & 50–950 ramp

primary
#3C0B56
secondary
#4F912B
accent
#F43476
background
#F7F4F8
surface
#EDE7EF
border
#C8C3CA
text
#09020B
muted
#7B787C

Preview Lab

Preview with #3C0B56

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

Preview Lab → · Contrast checker → · Palette generator →

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