#3C1256#3C1256

#3C1256 is a dark, moderate violet. Relative luminance 0.021; OKLCH L 28.9% C 0.118 H 309.0°. Best body text is #FFFFFF at 14.86:1 contrast (WCAG AA passes).

Color values

HEX#3C1256
RGBrgb(60, 18, 86)
HSLhsl(277, 65%, 20%)
HSVhsv(277, 79%, 34%)
CMYKcmyk(30.2%, 79.1%, 0%, 66.3%)
CIE-LABlab(15.83, 33.18, -32.26)
CIE-LCHlch(15.83, 46.27, 315.80°)
OKLaboklab(28.92% 0.074 -0.0915)
OKLCHoklch(28.92% 0.118 309)
XYZxyz(3.7592, 2.0652, 9.0029)
Luminance0.0207 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C1256 #2C5612
analogous
#1A1256 #3C1256 #56124E
triadic
#3C1256 #563C12 #12563C
tetradic
#3C1256 #561A12 #2C5612 #124E56
square
#3C1256 #561A12 #2C5612 #124E56
split-complementary
#3C1256 #4E5612 #12561A
monochromatic
#120519 #190723 #3C1256 #5F1D89 #8327BB

Accessibility & contrast

On white

14.86
#3C1256 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#3C1256 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C1256
14.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C1256#FFFFFF#000000##FFFFFF
##3C12561.0014.861.4114.86
#FFFFFF14.861.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002658
Deuteranopia (green-blind)
#022855
Tritanopia (blue-blind)
#382233
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #3c1256;
/* rgb */ color: rgb(60, 18, 86);
/* oklch */ color: oklch(28.9% 0.118 309.0);
Tailwind
colors: {
  custom: {
    50: '#755486',
    500: '#3c1256',
    950: '#000000',
  },
}
SCSS
$custom: #3c1256;
$custom-light: #755486;
$custom-dark: #000000;
JSON
{
  "hex": "#3c1256",
  "rgb": {
    "r": 60,
    "g": 18,
    "b": 86
  },
  "hsl": {
    "h": 277.059,
    "s": 65.385,
    "l": 20.392
  },
  "oklch": {
    "l": 0.28916,
    "c": 0.11763,
    "h": 309
  },
  "luminance": 0.02065
}

Semantic roles & 50–950 ramp

primary
#3C1256
secondary
#578F35
accent
#E83F80
background
#F7F5F8
surface
#EDE9EF
border
#C8C5CA
text
#09030B
muted
#7B787C

Preview Lab

Preview with #3C1256

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

Preview Lab → · Contrast checker → · Palette generator →

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