#3C1366#3C1366

#3C1366 is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.5% C 0.134 H 300.9°. Best body text is #FFFFFF at 14.22:1 contrast (WCAG AA passes).

Color values

HEX#3C1366
RGBrgb(60, 19, 102)
HSLhsl(270, 69%, 24%)
HSVhsv(270, 81%, 40%)
CMYKcmyk(41.2%, 81.4%, 0%, 60%)
CIE-LABlab(17.39, 36.86, -40.38)
CIE-LCHlch(17.39, 54.67, 312.39°)
OKLaboklab(30.46% 0.0691 -0.1153)
OKLCHoklch(30.46% 0.134 300.9)
XYZxyz(4.4940, 2.3857, 12.7915)
Luminance0.0239 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3C1366 #3D6613
analogous
#131366 #3C1366 #651366
triadic
#3C1366 #663C13 #13663C
tetradic
#3C1366 #661313 #3D6613 #136665
square
#3C1366 #661313 #3D6613 #136665
split-complementary
#3C1366 #666513 #136613
monochromatic
#0F051A #1E0932 #3C1366 #5A1D9A #7926CD

Accessibility & contrast

On white

14.22
#3C1366 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#3C1366 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3C1366
14.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3C1366#FFFFFF#000000##FFFFFF
##3C13661.0014.221.4814.22
#FFFFFF14.221.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A68
Deuteranopia (green-blind)
#002A64
Tritanopia (blue-blind)
#32293C
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #3c1366;
/* rgb */ color: rgb(60, 19, 102);
/* oklch */ color: oklch(30.5% 0.134 300.9);
Tailwind
colors: {
  custom: {
    50: '#775692',
    500: '#3c1366',
    950: '#000000',
  },
}
SCSS
$custom: #3c1366;
$custom-light: #775692;
$custom-dark: #000000;
JSON
{
  "hex": "#3c1366",
  "rgb": {
    "r": 60,
    "g": 19,
    "b": 102
  },
  "hsl": {
    "h": 269.639,
    "s": 68.595,
    "l": 23.725
  },
  "oklch": {
    "l": 0.30459,
    "c": 0.13443,
    "h": 300.9
  },
  "luminance": 0.02386
}

Semantic roles & 50–950 ramp

primary
#3C1366
secondary
#6B9D37
accent
#EB3C95
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#09030D
muted
#7B787E

Preview Lab

Preview with #3C1366

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

Preview Lab → · Contrast checker → · Palette generator →

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