#3C1056#3C1056

#3C1056 is a dark, vivid violet. Relative luminance 0.020; OKLCH L 28.7% C 0.120 H 309.3°. Best body text is #FFFFFF at 14.99:1 contrast (WCAG AA passes).

Color values

HEX#3C1056
RGBrgb(60, 16, 86)
HSLhsl(278, 69%, 20%)
HSVhsv(278, 81%, 34%)
CMYKcmyk(30.2%, 81.4%, 0%, 66.3%)
CIE-LABlab(15.50, 34.09, -32.78)
CIE-LCHlch(15.50, 47.29, 316.12°)
OKLaboklab(28.69% 0.0761 -0.093)
OKLCHoklch(28.69% 0.12 309.3)
XYZxyz(3.7281, 2.0032, 8.9926)
Luminance0.0200 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C1056 #2A5610
analogous
#191056 #3C1056 #56104D
triadic
#3C1056 #563C10 #10563C
tetradic
#3C1056 #561910 #2A5610 #104D56
square
#3C1056 #561910 #2A5610 #104D56
split-complementary
#3C1056 #4D5610 #105619
monochromatic
#12051A #180622 #3C1056 #601A8A #8423BD

Accessibility & contrast

On white

14.99
#3C1056 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#3C1056 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C1056
14.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C1056#FFFFFF#000000##FFFFFF
##3C10561.0014.991.4014.99
#FFFFFF14.991.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002558
Deuteranopia (green-blind)
#002755
Tritanopia (blue-blind)
#382132
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #3c1056;
/* rgb */ color: rgb(60, 16, 86);
/* oklch */ color: oklch(28.7% 0.120 309.3);
Tailwind
colors: {
  custom: {
    50: '#755386',
    500: '#3c1056',
    950: '#000000',
  },
}
SCSS
$custom: #3c1056;
$custom-light: #755386;
$custom-dark: #000000;
JSON
{
  "hex": "#3c1056",
  "rgb": {
    "r": 60,
    "g": 16,
    "b": 86
  },
  "hsl": {
    "h": 277.714,
    "s": 68.627,
    "l": 20
  },
  "oklch": {
    "l": 0.28688,
    "c": 0.12016,
    "h": 309.3
  },
  "luminance": 0.02003
}

Semantic roles & 50–950 ramp

primary
#3C1056
secondary
#558F32
accent
#EB3C7D
background
#F7F4F8
surface
#EDE8EF
border
#C8C4CA
text
#09030B
muted
#7B787C

Preview Lab

Preview with #3C1056

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

Preview Lab → · Contrast checker → · Palette generator →

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