#3C1956#3C1956

#3C1956 is a dark, moderate violet. Relative luminance 0.023; OKLCH L 29.8% C 0.108 H 307.5°. Best body text is #FFFFFF at 14.33:1 contrast (WCAG AA passes).

Color values

HEX#3C1956
RGBrgb(60, 25, 86)
HSLhsl(274, 55%, 22%)
HSVhsv(274, 71%, 34%)
CMYKcmyk(30.2%, 70.9%, 0%, 66.3%)
CIE-LABlab(17.12, 29.55, -30.17)
CIE-LCHlch(17.12, 42.23, 314.41°)
OKLaboklab(29.84% 0.0654 -0.0854)
OKLCHoklch(29.84% 0.108 307.5)
XYZxyz(3.8905, 2.3279, 9.0467)
Luminance0.0233 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C1956 #335619
analogous
#1E1956 #3C1956 #561952
triadic
#3C1956 #563C19 #19563C
tetradic
#3C1956 #561E19 #335619 #195256
square
#3C1956 #561E19 #335619 #195256
split-complementary
#3C1956 #525619 #19561E
monochromatic
#110718 #1B0B27 #3C1956 #5D2785 #7E35B5

Accessibility & contrast

On white

14.33
#3C1956 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#3C1956 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C1956
14.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C1956#FFFFFF#000000##FFFFFF
##3C19561.0014.331.4714.33
#FFFFFF14.331.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002958
Deuteranopia (green-blind)
#0C2A55
Tritanopia (blue-blind)
#382635
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #3c1956;
/* rgb */ color: rgb(60, 25, 86);
/* oklch */ color: oklch(29.8% 0.108 307.5);
Tailwind
colors: {
  custom: {
    50: '#745886',
    500: '#3c1956',
    950: '#000000',
  },
}
SCSS
$custom: #3c1956;
$custom-light: #745886;
$custom-dark: #000000;
JSON
{
  "hex": "#3c1956",
  "rgb": {
    "r": 60,
    "g": 25,
    "b": 86
  },
  "hsl": {
    "h": 274.426,
    "s": 54.955,
    "l": 21.765
  },
  "oklch": {
    "l": 0.29841,
    "c": 0.10754,
    "h": 307.5
  },
  "luminance": 0.02328
}

Semantic roles & 50–950 ramp

primary
#3C1956
secondary
#608C3E
accent
#DE4A89
background
#F7F5F8
surface
#EDE9EF
border
#C8C5CA
text
#08030B
muted
#7B787C

Preview Lab

Preview with #3C1956

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

Preview Lab → · Contrast checker → · Palette generator →

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