#3C1064#3C1064

#3C1064 is a dark, vivid violet. Relative luminance 0.023; OKLCH L 30.0% C 0.135 H 302.3°. Best body text is #FFFFFF at 14.48:1 contrast (WCAG AA passes).

Color values

HEX#3C1064
RGBrgb(60, 16, 100)
HSLhsl(271, 72%, 23%)
HSVhsv(271, 84%, 39%)
CMYKcmyk(40%, 84%, 0%, 60.8%)
CIE-LABlab(16.75, 37.65, -40.10)
CIE-LCHlch(16.75, 55.00, 313.19°)
OKLaboklab(29.95% 0.0724 -0.1145)
OKLCHoklch(29.95% 0.135 302.3)
XYZxyz(4.3485, 2.2513, 12.2596)
Luminance0.0225 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C1064 #386410
analogous
#121064 #3C1064 #641062
triadic
#3C1064 #643C10 #10643C
tetradic
#3C1064 #641210 #386410 #106264
square
#3C1064 #641210 #386410 #106264
split-complementary
#3C1064 #626410 #106412
monochromatic
#10041A #1C082F #3C1064 #5C1899 #7B21CE

Accessibility & contrast

On white

14.48
#3C1064 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#3C1064 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C1064
14.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C1064#FFFFFF#000000##FFFFFF
##3C10641.0014.481.4514.48
#FFFFFF14.481.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002966
Deuteranopia (green-blind)
#002962
Tritanopia (blue-blind)
#33273A
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #3c1064;
/* rgb */ color: rgb(60, 16, 100);
/* oklch */ color: oklch(30.0% 0.135 302.3);
Tailwind
colors: {
  custom: {
    50: '#775491',
    500: '#3c1064',
    950: '#000000',
  },
}
SCSS
$custom: #3c1064;
$custom-light: #775491;
$custom-dark: #000000;
JSON
{
  "hex": "#3c1064",
  "rgb": {
    "r": 60,
    "g": 16,
    "b": 100
  },
  "hsl": {
    "h": 271.429,
    "s": 72.414,
    "l": 22.745
  },
  "oklch": {
    "l": 0.29954,
    "c": 0.13546,
    "h": 302.3
  },
  "luminance": 0.02251
}

Semantic roles & 50–950 ramp

primary
#3C1064
secondary
#659D33
accent
#EF3990
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#09030D
muted
#7B787E

Preview Lab

Preview with #3C1064

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

Preview Lab → · Contrast checker → · Palette generator →

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