#3C1066#3C1066

#3C1066 is a dark, vivid violet. Relative luminance 0.023; OKLCH L 30.1% C 0.138 H 301.4°. Best body text is #FFFFFF at 14.40:1 contrast (WCAG AA passes).

Color values

HEX#3C1066
RGBrgb(60, 16, 102)
HSLhsl(271, 73%, 23%)
HSVhsv(271, 84%, 40%)
CMYKcmyk(41.2%, 84.3%, 0%, 60%)
CIE-LABlab(16.94, 38.16, -41.11)
CIE-LCHlch(16.94, 56.10, 312.87°)
OKLaboklab(30.14% 0.0717 -0.1175)
OKLCHoklch(30.14% 0.138 301.4)
XYZxyz(4.4465, 2.2905, 12.7757)
Luminance0.0229 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C1066 #3A6610
analogous
#111066 #3C1066 #661065
triadic
#3C1066 #663C10 #10663C
tetradic
#3C1066 #661110 #3A6610 #106566
square
#3C1066 #661110 #3A6610 #106566
split-complementary
#3C1066 #656610 #106611
monochromatic
#10041A #1D0831 #3C1066 #5B189B #7A21D0

Accessibility & contrast

On white

14.40
#3C1066 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#3C1066 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C1066
14.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C1066#FFFFFF#000000##FFFFFF
##3C10661.0014.401.4614.40
#FFFFFF14.401.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002968
Deuteranopia (green-blind)
#002964
Tritanopia (blue-blind)
#33283B
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #3c1066;
/* rgb */ color: rgb(60, 16, 102);
/* oklch */ color: oklch(30.1% 0.138 301.4);
Tailwind
colors: {
  custom: {
    50: '#775492',
    500: '#3c1066',
    950: '#000000',
  },
}
SCSS
$custom: #3c1066;
$custom-light: #775492;
$custom-dark: #000000;
JSON
{
  "hex": "#3c1066",
  "rgb": {
    "r": 60,
    "g": 16,
    "b": 102
  },
  "hsl": {
    "h": 270.698,
    "s": 72.881,
    "l": 23.137
  },
  "oklch": {
    "l": 0.30144,
    "c": 0.13764,
    "h": 301.4
  },
  "luminance": 0.02291
}

Semantic roles & 50–950 ramp

primary
#3C1066
secondary
#689E33
accent
#F03892
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#09030D
muted
#7B787E

Preview Lab

Preview with #3C1066

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

Preview Lab → · Contrast checker → · Palette generator →

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